Re: Anybody got the Belius theme...

Gah... sourceforge is so much better...

Had to reinstall my SVN client just to get files.

Thanks, I'll check it out and if I find any bugs I'll be sure to fix em.

Report
Topic


Re: Anybody got the Belius theme...

Sorry for delay in answer.

Belius theme is in Assembla now
http://www.assembla.com/code/impresscmsaddons/subversion/nodes/themes/belius
It is not tested and It could has bugs.

Report
Topic


Cool way to start : Initializr

Starting a new project from scratch is tedious, and we all have the reflex of re-using the basics of a previous one.

That's difficult in the fast-moving world of web development, as there will have been updates and changes to your basic setup since then.

Luckily, we have people that dedicate their time to help others in this : you have HTML5 Boilerplate, Twitter Bootstrap 2.0 and a tool to configure those two : Initializr.

Do you know of any other similar tools that shouldn't lack in any toolbox?

Me on OpenHub

Report
Topic


Re: disabling or overriding icms.css

Well, in order to work with bootstrap-based themes, we will need to refactor most of the templates that are in the system currently. That's not a lot of extra effort, as I would like to work towards getting those converted to HTML5 for ImpressCMS 2.0 anyway.

I must admit I'm no CSS expert, but I've managed to create a basic Bootstrap theme in a couple of hours. After that, I could add draggable objects in 5 minutes Eye candy galore.

It makes all the basics extremely easy, and it really invites you to experiment with adding a button here, a jQuery element there. I love it

I'm considering making bootstrap the standard to build themes on. That would make it easier for theme designers to create works for ImpressCMS, and it would make it easier to write tutorials, having a standardised and well-documented theme foundation.

My dabbling works are to be found at my dev site.

Me on OpenHub

Report
Topic


Re: disabling or overriding icms.css

So how did the bootstrap experiment go? Is this a good option for buikding themes? I like that it has a grid and apprently sane typography controls.

Report
Topic


Re: Anybody got the Belius theme...

Already did, just waiting a reply.

Report
Topic


Re: disabling or overriding icms.css

Quote:


lotus wrote:
old themes need an update for the icms 2.0, either way, because the old xoops_ smarty-tags are outdated.



they may be outdated, but they haven't been deprecated, yet.

Christian Web Resources
Facebook
Report
Topic


Re: Anybody got the Belius theme...

Ask our user @debianus

http://on.fb.me/x5lEdX
Report
Topic


Anybody got the Belius theme...

Does anybody have this theme?

I'm hoping somebody has a copy. Tried doing a search on the site but the search gave me the result for ever single download... Not very useful...

Here is a link to the demo:
http://demo.upsj.org/?xoops_theme_select=belius

Report
Topic


Re: disabling or overriding icms.css

Thanks Steve, this tip of moving the order of the theme CSS and the module header smarty tag solved this problem with my Bootstrap experiments.

Me on OpenHub

Report
Topic


Re: disabling or overriding icms.css

  • 2012/2/28 16:50:57
  • lotus

old themes need an update for the icms 2.0, either way, because the old xoops_ smarty-tags are outdated.

Webdesign: http://netzstrand.de
Report
Topic


Re: disabling or overriding icms.css

Quote:


lotus wrote:
In my view, we need: icms -> module -> theme


Easily done, without any changes to the core.

In you theme, place <{$xoops_module_header}> above where you include the stylesheet for your theme.

Christian Web Resources
Facebook
Report
Topic


Re: disabling or overriding icms.css

Quote:


by Will on 2012/2/28 16:39:09

Hi guys, can I make a suggestion?

<{$icms_module_header|replace:'icms.css':'noLoad.css'}>


done.


I agree, in theory.

icms.css and icms_rtl.css are completely unnecessary and are only there because they have always been there (or there under a different name). An extra css file to include is just another http call and an inefficient way to take care of styling.

All the elements in those 2 files should be defined in each theme, not here. If we were to just remove these files, old themes would need to be updated to be sure these elements got styled.

I am about to mark them both as deprecated and the warnings will start showing up in the debug messages. Start updating your themes, these files will be gone in 2.0!

Christian Web Resources
Facebook
Report
Topic


Re: frontend theme with ACP menu?

  • 2012/2/28 13:31:54
  • Will

Here ya go - css and js are on you to integrate.

<?php // Do not include php tags in block! global $icmsConfig; $file = file_get_contents(ICMS_CACHE_PATH . "/adminmenu_" . $icmsConfig ['language'] . ".php"); $admin_menu = eval('return ' . $file . ';'); echo '<div id="adminMenu" class="clearfix"><ul>'; foreach($admin_menu as $parent) { echo '<li><a href="' . $parent['link'] . '" title="' . $parent['text'] . '">' . $parent['text'] . '</a>'; if($parent['menu']) { echo '<div class="secondary"><ul>'; foreach($parent['menu'] as $secondary) { echo '<li><a href="' . $secondary['link'] . '" title="' . $secondary['title'] . '">' . $secondary['title'] . '</a>'; if($secondary['subs']) { echo '<div class="tertiary"><ul>'; foreach($secondary['subs'] as $tertiary) { echo '<li><a href="' . $tertiary['link'] . '" title="' . $tertiary['title'] . '">' . $tertiary['title'] . '</a></li>'; } echo '</ul></div>'; } echo '</li>'; } echo '</ul></div>'; } echo '</li>'; } echo '</ul></div>'; // Do not include php tags in block! ?>

Report
Topic


Re: disabling or overriding icms.css

  • 2012/2/28 9:39:09
  • Will

Hi guys, can I make a suggestion?

<{$icms_module_header|replace:'icms.css':'noLoad.css'}>


done.

Report
Topic


Re: disabling or overriding icms.css

  • 2012/2/28 7:50:47
  • lotus

In my view, we need: icms -> module -> theme

Webdesign: http://netzstrand.de
Report
Topic


Re: disabling or overriding icms.css

The order of the files is of some importance, but CSS Specificity is more important.

If the same style selector - p, h1, table, .myclass or div, for example - is styled in 2 different places, the last one wins. As bleekk says, we really shouldn't be defining general styles in the last css file to load, as icms.css does.

Here's a technical overview of how stylesheets are currently loaded -

* yourtheme/theme.html begins the layout
* meta tags and header come first
* yourtheme/style.css gets included
...
* smarty var for module_header comes at the end of the head section
* body section starts

Nowhere does your theme need to specifically include a module.css or icms.css file - where does that happen? in the smarty var *module_header.

icms.css gets added by /header.php, before all the textsanitizer and jquery plugins. Later, as the modules load, they can add their own stylesheets to the module_header and they are loaded behind icms.css.

Recap: theme -> icms -> module

Christian Web Resources
Facebook
Report
Topic


Re: disabling or overriding icms.css

Ticket #538 created, and linked with ticket #510.

I think we need to verify both content and order if we want to solve this well.

Me on OpenHub

Report
Topic


Re: disabling or overriding icms.css

  • 2012/2/27 7:19:18
  • lotus

I create a ticket some weeks ago:
http://impresscmsdev.assembla.com/spaces/impresscms/tickets/510

Maybe we need also discuss the right order.

Webdesign: http://netzstrand.de
Report
Topic


Re: frontend theme with ACP menu?

  • 2012/2/27 7:11:50
  • Will

I had it working on the old mrtheme site.

I created a php block and included the cache file. Which is just a big array - a little php formed it into a nice menu, then used css to position it and style it. I don't have that code anymore - but it should be relatively straight forward to recreate it.

Would be a nice default ICMS block.

Report
Topic



 Top