Active-Extension Support - JYAML - Joomla! Templates mit Yaml

Active-Extension Support

The JYAML-System-Plugin determined automatically on each page, which extensions are enabled and searches for existing stylesheets.

This function shall this one in connection with the YAML-Joomla!-Template primarily serve to eliminate mistakes first of all occur. Using this quality of the JYAML-Package who, however, has an extensive page can to evacuate the stylesheets for every extension on these files. One really increases the clarity if in the CSS files, from the start, one holds on to this concept.

Himself is only disadvantage of this procedure that the enquiries/request one increase page by the loading always more files. One can avoid re-rum, if you use the Template-Plugin "CSS Optimizer" and the setting "merge files" this activates, however. All files are joined with that into one and the problem has itself taken care.

Finding active extensions

First one must know of course what the extension which one would like to mention is called. This is important to the name of the file name.

You switch on the debugging mode the template to this. Searching for you then in the lower part of the page at the JYAML-PHP-Object to  [active_extension]. There all extensions will displayed, the just be loaded on the current page.

Structure of the file names

The Active-Extension-Support is interpreted so that it distinguishes between "all browsers" and the "Internet Explorer". So CSS-Hacks can be used better.

  • File name for all browsers
    • [active_extension] .css
  • File name for the Internet Explorer
    • [active_extension] _patch.css

You simply save the files in css/[design]/extensions. This then is inserted, if into the YAML Joomla!-Template automatically the extension is just active.