( Latest versions: 2.7.3 Stable, compatible with Joomla 3.8.8+   &   0.9.3 Stable, compatible with WordPress 4+ )

How to override Solidres layouts

Being a native Joomla extension, Solidres inherits many great Joomla's features and one of them is the ability to do template's overrides.

If you are new to Joomla override, there is a good read for you:

http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

In short, template override feature allows you to modify a component's output (View, Layout) without having to modify the component directly, instead of that you will modify a copy which is stored in your template folder

All component's views in Solidres are overridable, all you need to do is to copy a view file and put it into your template folder.

For example, if you want to change how the Simple Gallery is displayed in the front end, first you need to copy the following file:

/components/com_solidres/views/reservationasset/tmpl/default_simple_gallery.php

And paste it into: /templates/your_template_name/html/com_solidres/reservationasset/default_simple_gallery.php

Then you can start editing it. Your changes will be kept intact, it will not be overwritten when you update your Solidres to new versions.

In addition to view files, in Solidres we also utilize JLayout which is a great feature, we mainly use it for our Ajax responses rendering, you can find them at the following location:

/components/com_solidres/layouts/

To make template override for those layout files, the steps are quite similar: First, you need to copy the target layout file, for example:

/components/com_solidres/layouts/asset/roomtypeform.php

Then paste it into your template folder, but in a different folder with the normal view files:

/templates/your_template_name/html/layouts/com_solidres/asset/roomtypeform.php

Note: if the view you want to override is a Solidres plugin like Hub or Experience, although the view files are not stored in Solidres component folders, you can still treat it like a normal Solidres's views, for example if you want to override the default search view of Hub plugin which is located in this folder: /plugins/solidres/hub/components/com_solidres/views/search/tmpl/default.php, you can copy it to /templates/your_template_name/html/com_solidres/search/default.php

All the things you need to make your work easier. Did you like Solidres?