Advanced
All advanced feature of Expose framework
Template Modification
Changing the template name
You can copy any template from Joomla admin panel. Follow these steps to copy the template
Go to Template Manager, enter into Templates section.
Enter into the template you want to copy.
From the bottom right side of this page you will find Copy Template section. Here give the name of your template and click on the Copy template button.
Now go back to template manager Styles section and here you will find the copied template.
You're Done!
After copying the new templ
LESS & It's usage
What is LESS
LESS is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themeable and extendable. (Learn more: http://lesscss.org/)
LESS Usage in Expose
Expose framework has Built-in LESS support. You can write LESS code directly. Template LESS style files located in Template less folder.
You have to Enable LESS compiler from template admin to compi
Disable Responsive Feature
Editing XML File
Open templateDetails.xml, find this line
replace it with the following one
Go toTemplate Manager, Select the template, inside Template Configurationpage's Layouttab find Responsive Layoutoption and disable this.
Editing PHP File
Open index.php, go to the bottom of the file, search for the following lines and delete or comment
<?php / Begin Off-canvas / if($expose->countModules('offcanvas')): ?>
<?php /** End
Advanced - Adding CSS
From admin panel
Go to Extensions->Template Manager->Open Template (like: Tx_Appy)
Click on Developer tab, Add your own CSS code to Custom CSS Box, click to save from right top and You are done!
From file manager
We write all the styles for our template in LESS files which you'll get inside template_folder => less. If you are capable of writing LESS code you can edit LESS files here.
But remember to enable LESS compiler from admin panel to compile this LESS codes into CSS. To enable
Adding New Widget
In the Expose framework, we use the term Widget to mean a specific bit of functionality. Widgets are flexible enough that they can be used to perform almost any type of logic you would need. The base ExposeWidget class contains methods that can be implemented to control how your widget functions. Those methods are:
API
isEnabled()
By default, this gets its state from the enabled toggle in the admin. You can override this to force the enabling of a feature without any UI interaction.
Ret
Add Module Position
Step 01
To create a new module position, you have to open default template root via Extensions > Template Manager > activated default template link and edit the templateDetails.xml file. Once you opened templateDetails.xml, you can notice all built-in positions are wrapped within <position></position> tag. Now add your prefered module position name in <positions></positions> tag. I termed my module position name “Service”, Have a look on image below, how I wrapped