Public area layout override

[Note]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:

Public layouts

All public layouts are under this folder: com_domus/views/publics/tmpl , more specifically, this is an explanation of all of them:

agencies.php

Layout file used to display all the agencies (only when a proper HTML template is not found). Available only on pro version.

agency.php

Layout file used to display a single agency (only when a proper HTML template is not found). Available only on pro version.

agenttplain.php

Layout file used to display a single agent (only when a proper HTML template is not found). Available only on pro version.

agentsplain.php

Layout file used to display all the agents (only when a proper HTML template is not found). Available only on pro version.

categories.php

Layout file used to display all the categories

category.php

Layout file to display a single category

contact.php

Layout used to display the contact form for a property

propertiesplain.php

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

property_pdf.php

Main layout file used in PDF printing. Available only on pro version.

property_pdffooter.php

Footer layout file used in PDF printing. Available only on pro version.

property_pdfheader.php

Header layout used in PDF printing. Available only on pro version.

property_print.php

Layout file used for paper printing

propertyplain.php

Layout file used to display a single property (only when a proper HTML template is not found)

search.php

Layout file used to display search results

Module layouts

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:

propplain.php

Layout used to display properties inside the property module.

Admin layouts

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.

[Warning]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!