If you already modified layouts of OS Property like making custom css, adding text..etc, you will face a problem: as soon as you install new OS Property version, all your modification will be overwritten.
To solve a part of this problem, in old versions of OS Property, we provided the Themes mechanism. As we mentioned in OSP Themes section, you can create your own themes or duplicating existing themes, making changes and the layouts on them, and they won’t be overwritten when you install newer OS Property version.
But a theme of OS Property only contains 3 layouts: Properties listing, Search result and Property details. We have also other layouts like: Agents listing, Companies listing, Property details print, Property details pdf ..etc OS Property provides the Overrides feature for different layouts (except in OSP Themes). In OS Property core, the layouts are being stored in root > components > com_osproperty > helpers > layouts Bellow are custom layouts of OS Property:
Provides the Agent details layout
Provides the Agent registration layout
Provides the Agents listing layout
Provides the Companies listing layout
Provides the Company details layout
Provides the Company registration layout
Provides the Categories listing layout
Provides the Property modification layout
Provides the Property PDF export layout
Provides the Property Printing layout
Provides the Reporting completed layout
Provides the Reporting failure layout
Provides the layout “List new properties” of Alert email
Provides the Related Properties layout
Show property statistic information
Manage Properties layout
Above layouts contains HTML, CSS with PHP code, moreover, these files are being stored in separated directory with names and purposes are clear. So if you have knowledge about HTML, CSS and PHP, you will be able to make the modification on those layout files. The main problems is you must back-up them before installing new version of component or your work will be lost. This is sometimes inconvenient and uncomfortable for programmers. From OS Property 2.7.4, we provide the solution to allow overriding these layout files. It means you can copy some or all those layout files into your Joomla template folder, and making any modification without scaring those files will be overwritten when new version is installed. To use this feature, you should create bellow directories in your Joomla site.
Root > Templates > Your_current_template > html > com_osproperty > layouts
_publichtml > templates > pronostar > html > components > layouts