Some elements are displayed through layouts, allowing overrides.
These layouts are created for:
- the directory view category index (
- the directory view tag index (
- the directory view print icons (
- New in 2.5.2 the directory view search/clear (
- New in 2.6.0 the modal window (
You can find those layouts under
As best practice, it is recommended to create overrides of those files rather than update them. That way, the next component update won't dismiss the changes you have made.
Starting with v2.5
Joomla 3.2+ Go to the
layouts section of your template's
Create overrides tab, select the
com_weblinklogospro extension and then click on the desired layout folder.
Holds the icons and modal layouts.
Contains all the pagination-related layouts (search, category and tag index).
Tip When clicking on a folder, all layouts are copied over to the
/html/layouts/com_weblinklogospro template folder. This happens even if you just want to only change one layout. Only keep the layouts overrides that need modifications. Delete all other layouts. This will help you down the road for maintenance (you will know that the files present have been modified for sure).
If you have created layout overrides in versions prior to
Weblink Logos Pro v2.5, you need to manually create the folders
pagination and move your files in their respective folder.
Your overrides will not be taken into account until then.
The layout suffix
You can use different overrides of the same layout for the directory view. Just set the advanced parameter Layout suffix. By doing so, you are giving priority to the layouts that will contain that suffix in the name of the override.
For instance, you can override
wlpcategoryindex.php but also have an other menu item use a slightly different output. Just add the layout suffix (for example 'xyz') in the menu item's advanced parameters to give priority to the override
Joomla 3.1 Copy the layout that needs to be modified to
/html/layouts/[content|pagination] without including the name of the extension.
Prior to v2.5
In order to create an override, copy the layout that needs to be modified to:
The layout override(s) you have created and modified will have precedence over the default component one.