CSS by itemid and random CSS

Version
1.0.1 (last update on Feb 20, 2012)
Rating
Compatibility
Reviews
7
License
GPLv2 or later
Non-Commercial
Type
Date Added
16 September 2009
This is not a plugin to change the template depending on a menu item (this option already exists in Joomla). It is a plugin that allows you to add a CSS stylesheet to your template.
Installation and configuration is very simple. parameters:
* Itemid list: comma-separated, we will introduce itemid numbers for those who want to have a custom style sheet (eg 1,3,45,34,22).
* Default stylesheet: if itemid does not exist or does not correspond to the numbers above, include a CSS style sheet by default. (only in 1.7/2.5)
* Name of the default style sheet. (only in 1.7/2.5)
Random CSS: If this option is checked the plugin will add a random style sheet(random_1.css, random_3.css) ...
* Maximum random number: maximum number of random range display. (only in 1.7/2.5)
All style sheets will have to go to the /plugins/system/cssbyitemid/cssbyitemid/ folder
Style sheets type by itemid will have to be like itemid_1.css, itemid_44.css ...
Random style sheets will have to be like random_1.css random, random_2.css ..
New 1.0.1 version with some fixed bugs
I'm loving it. Thank you for that wonderfull tool.
Changing background images in a second.
Upload css files like
itemid1.css
itemid2.css
with changing images:
background-image: url('/templates/mb/images/one.jpg');
background-image: url('/templates/mb/images/two.jpg');
...
Name it in the plug-in
1,2
ready!
Changing background images in a second.
Upload css files like
itemid1.css
itemid2.css
with changing images:
background-image: url('/templates/mb/images/one.jpg');
background-image: url('/templates/mb/images/two.jpg');
...
Name it in the plug-in
1,2
ready!
Thx for this usefull extension. Normally I would do this with PHP in the template index. This is a nice way to easely get different styles on each itemid.
New users: upload css as follow: itemid1.css, itemid2.css et cetera..
New users: upload css as follow: itemid1.css, itemid2.css et cetera..
This plugin is great and just what I wanted, but it needs to have a default css for when you do not have a menu id to attach a css too. For instance I have a latest news module on my site, but it does not have a menu item and when I view the news article some of the css is missing.


