ALite CMS 44.83
Language: 
ALite CMS

Articles

Loading additional metatags, styles and scripts in the system settings

28.10.2011 18:33  rating: 508 

In the setting of the system is to enable the item to perform a static load additional metatags, styles and scripts: the "Advanced metatags" and "Additional Styles". Although both of these elements add text in the head section of the document, their use is different. The difference is in the order of processing these items.
Formation of the section head is in the following order:

  1. Creating a mandatory metatags.
  2. Adding data from the "Advanced metatags".
  3. Loading binding styles and scripts (including library jQuery).
  4. Adding data from the "Additional Styles".


This order imposes certain restrictions that must be considered. For example, if the "Advanced metatags" to include a script that uses jQuery, the script probably will not work because the library is loaded jQuery later.

Always preferable to have additional metatags in "Additional metatags" and more styles and scripts into the "Further styles".

 

RSS  RSS