Template Administration
Article Index
Global Panel
This panel controls the general behavior of the template and also the cache and compression settings.
Profile Override Settings
This section allows you to set profiles to be used for all your pages or to specific pages or content components. For all templates, the default profile of the template is used for all pages and content components by default, but you can create unlimited profile overrides.
In case you want to change the template settings for one or more pages or content components, here is a quick guide:
- Select one or more menu items or components in the the left drop down list (click and hold the Ctrl key for multiple selection) and then click the Select button in the selection box.
- Select the profile you want to use for these pages.
- Click the Apply button.
System Settings
This section manages the cache feature of the framework.
- Enable Development Mode - if you set this setting to Yes, it will completely disable template cache, so that you can always see instantly your customizations on page refresh in the front-end. Setting this setting to No is recommended for production websites with huge traffic that need cache.
- Enable Template Information - Enables / Disables displaying the module positions information feature in the front-end when adding tp=1 to the links.
- Cache Mode - Enables / Disables template cache to lower all PHP queries generating the front-end HTML of your website (component/module template override views, layout files, etc).
- Cache Exclude - Option to exclude the cache feature for specific components or positions.
position=user1,user2 - will exclude cache for these positions, component=com_virtuemart,com_fireboard - will exclude these components from using cache.
This feature is useful when trying to avoid script conflicts for AJAX content used in your modules.
Compression Settings
Optimize CSS - This this feature will optimize all the CSS files used in your website. Options:
- No - Disables the CSS compression features.
- Linked files - Uses the @import function to import all CSS files into a single CSS file to have a single file call and reduce browser requests. This will fix the IE related issues caused by the maximum 30 CSS files limit.
- Join & Minify - Combines Minify and Join (file merging) optimization. Minify is an optimization technique to eliminate blank spaces and other unnecessary characters (comments usually) without changing the functionality of the code. Join will merge the content of the minified files into a single file to be stored in the folder you can configure below.
- Join & Minify & Compress - will compress the CSS file created by Join & Minify using Joomla! gZIP compression scripts.
Optimize JS - This this feature will optimize all the JS files used in your website. Options:
- No - Disables the JS compression features.
- Join - Will only merge all JS files into a single JS file to be stored in the folder you can configure below.
- Join & Minify - Combines Minify and Join (file merging) optimization. Minify is an optimization technique to eliminate blank spaces and other unnecessary characters (comments usually) without changing the functionality of the code. Join will merge the content of the minified files into a single file to be stored in the same folder you can configure below.
- Join & Minify & Compress - will compress the JS file created by Join & Minify using Joomla! gZIP compression scripts.
Optimize Folder - Folder where optimized css/js files are stored. By default it is set t3-assets in the web root. Please note: This folder must be writable. (CHMOD 777)
Optimize Exclude - Add the JS / CSS files name (without location path) you do NOT want to optimize, one per row.
template-rtl.css mega.js
Please note:
- The CSS & JS Compression feature can work with JA Compress Plugin enabled.
- Minify Script reguires PHP 5.x.
Please click here to watch a video tutorial on Compression Settings.