![]() | Advanced template management |
---|---|
Template overrides are very powerful, however you can get a finer control using our Template System available on pro version only. |
If you want to change the layout of a particular page, do not modify directly the file , but use Joomla! Template Overrides.
Otherwise, if you make an update, you will lose all your changes since the file will be overwritten.
To create a template override create a directory in this path
( ___template___
is the path to your current template):
___template___/html/com_domus
and inside it create a directory for each view
you
want to edit, inserting the custom layout:
___template___/html/com_domus/publics/<layout to override>
Done! In this way you'll not miss any modification in the case of an update.
To simplify your work, here you can find a small explanation of every layout file and where you can find them:
All public layouts are under this folder:
com_domus/views/publics/tmpl
, more specifically,
this is an explanation of all of them:
Layout file used to display all the agencies (only when a proper HTML template is not found). Available only on pro version.
Layout file used to display a single agency (only when a proper HTML template is not found). Available only on pro version.
Layout file used to display a single agent (only when a proper HTML template is not found). Available only on pro version.
Layout file used to display all the agents (only when a proper HTML template is not found). Available only on pro version.
Layout file used to display all the categories
Layout file to display a single category
Layout used to display the contact form for a property
Layout file used to display several properties (only
when a proper HTML
template is not found). It's used inside the
categories
, category
and
agent
layout file
Main layout file used in PDF printing. Available only on pro version.
Footer layout file used in PDF printing. Available only on pro version.
Header layout used in PDF printing. Available only on pro version.
Layout file used for paper printing
Layout file used to display a single property (only when a proper HTML template is not found)
Layout file used to display search results
Some modules, for example the properties one, will display data directly from the component. This means that if you want to change the output you have to override this layout and not the module one.
Module layouts are stored in the modules view, this means that you have to use the following path:
___template___/html/com_domus/modules/<layout to override>
Here you can find the following layouts:
Layout used to display properties inside the property module.
All folders, excepts the publics
and the
modules
ones are used inside the admin area.
Most likely you will be interested in customers and
properties, so you should override the layouts that are inside the
customers
, customer
,
properties
and property
folders.
![]() | Template overrides for admin layouts |
---|---|
You are more than welcome to override publics or modules layouts, but please pay extra attention if you decide to override admin ones: you could introduce bugs or trigger an unexpected behavior! |