Lunarhotel.co.uk

Text Size
Wednesday, 12 January 2011 20:33

Include CSS system plugin for Joomla! (tm)

Written by  Dylan
Rate this item
(1 Vote)

What does it do?

The LunarHotel.co.uk Include CSS system plugin allows the webmaster to include upto 5 seperate css files into thier Joomla!™ powered site.

What parameters does it have?

Cssfile1 through to 5 allowing the webmaster to include up to 5 custom css files.

Additionally, it has a prameter - Extention Specific path. This allows the webmaster to specify a folder (which is relative to the Joomla root folder) where the plugin will look for css files.

For example, let's say we want to customise the output of JomSocial. It would be preferable for the following:

  • All of our customisations are kept away from the existing JomSocial / Joomla!™ / Joomla!™ template css files, so we can safely upgrade these elemtns should we need to.
  • A seperate file with our own customisations will make it easier to edit / change css as needed as opposed to adding / combining with existing css definitions
  • We only want the custom css file to be included when JomSocial is the active component on the website - So that the css file is not loaded, when there is no JomSocial content on the page.

As such, the LunarHotel.co.uk Include CSS plugin will examine the option value of the url, and look in the location specified in "Extention Specific path" for a css file called "com_community.css" If one is found, it includes it, otherwise, no action is taken.

Sounds good, where can I download it?

Right here, for free!

Additional Info

  • Include CSS version: 3.0
Last modified on Wednesday, 12 January 2011 20:44
Dylan

Dylan

The founder of LunarHotel.co.uk.

Dylan has worked in the computer industry for over 15 Years, and in that time has become a specialist in web technologies, and both open source, and proprietary enterprise products.

Login to post comments