<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<feed xmlns="http://www.w3.org/2005/Atom"  xml:lang="en-gb">
	<title type="text">Solidres - Documentation - Joomla! documentation</title>
	<subtitle type="text"></subtitle>
	<link rel="alternate" type="text/html" href="https://www.solidres.com"/>
	<id>https://www.solidres.com/documentation/joomla-documentation/14-developers</id>
	<updated>2026-01-22T19:25:31+07:00</updated>
	<author>
		<name>Solidres</name>
		<email>auto@solidres.net</email>
	</author>
	<generator uri="https://www.joomla.org">Joomla! - Open Source Content Management</generator>
	<link rel="self" type="application/atom+xml" href="https://www.solidres.com/documentation/joomla-documentation/14-developers?format=feed&amp;type=atom"/>
	<entry>
		<title>How to override Solidres translation per property's category</title>
		<link rel="alternate" type="text/html" href="https://www.solidres.com/documentation/joomla-documentation/14-developers/63-how-to-override-solidres-translation-per-property-category"/>
		<published>2017-02-21T10:52:43+07:00</published>
		<updated>2017-02-21T10:52:43+07:00</updated>
		<id>https://www.solidres.com/documentation/joomla-documentation/14-developers/63-how-to-override-solidres-translation-per-property-category</id>
		<author>
			<name>Viet Vu</name>
			<email>vietvh@solidres.com</email>
		</author>
		<summary type="html">&lt;div class=&quot;uk-alert&quot;&gt;
&lt;p&gt;UPDATE: since Solidres for Joomla 2.9.0, you don't have to edit files manually to make override, we have an UI for you, check it out here: &lt;a href=&quot;https://www.solidres.com/blog/2019/10/15/new-feature-highlight-language-override-per-propertys-category/&quot; target=&quot;_blank&quot;&gt;https://www.solidres.com/blog/2019/10/15/new-feature-highlight-language-override-per-propertys-category/&lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Since Solidres for Joomla v1.9.0, a new useful feature is added to allow overriding Solidres translation per property's category.&lt;/p&gt;

&lt;p&gt;Why we need it? For example, your website has 02 asset's categories: Hotels, Apartments and by default in the front end, Solidres uses the word &quot;Room and rates&quot; in single reservation asset view.&lt;/p&gt;

&lt;img class=&quot;aligncenter&quot; title=&quot;How to override Solidres language per asset's category&quot; alt=&quot;How to override Solidres language per asset's category&quot; src=&quot;https://www.solidres.com//media/static/img/documentation/override_assets_category/1.jpg&quot; /&gt; 

&lt;p&gt;While it is appropriate for assets in category &quot;Hotels&quot;, it is not quite correct for assets in category &quot;Apartments&quot; which should read &quot;Apartment &amp; Rates&quot;, so how to deal with this scenarios?&lt;/p&gt;

&lt;p&gt;First, you need to create an override language file in the following folder (assumes you are using English - en-GB).&lt;/p&gt;

JOOMLA_ROOT/components/com_solidres/language/en-GB/en-GB.com_solidres_category_9.ini

&lt;p&gt;The file name is quite simple, all you need to do is to replace the number at the end of the file name to your asset's category ID.&lt;/p&gt;

&lt;p&gt;Inside that file, you can put your override translation, for example, SR_STEP_ROOM_AND_RATE=&quot;Apartment &amp; Rates&quot;&lt;/p&gt;

&lt;p&gt;Then in the front end, Solidres will automatically detect and load override language file according to the current viewed asset's category.&lt;/p&gt;

&lt;img class=&quot;aligncenter&quot; title=&quot;How to override Solidres language per asset's category&quot; alt=&quot;How to override Solidres language per asset's category&quot; src=&quot;https://www.solidres.com//media/static/img/documentation/override_assets_category/2.jpg&quot; /&gt; </summary>
		<content type="html">&lt;div class=&quot;uk-alert&quot;&gt;
&lt;p&gt;UPDATE: since Solidres for Joomla 2.9.0, you don't have to edit files manually to make override, we have an UI for you, check it out here: &lt;a href=&quot;https://www.solidres.com/blog/2019/10/15/new-feature-highlight-language-override-per-propertys-category/&quot; target=&quot;_blank&quot;&gt;https://www.solidres.com/blog/2019/10/15/new-feature-highlight-language-override-per-propertys-category/&lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Since Solidres for Joomla v1.9.0, a new useful feature is added to allow overriding Solidres translation per property's category.&lt;/p&gt;

&lt;p&gt;Why we need it? For example, your website has 02 asset's categories: Hotels, Apartments and by default in the front end, Solidres uses the word &quot;Room and rates&quot; in single reservation asset view.&lt;/p&gt;

&lt;img class=&quot;aligncenter&quot; title=&quot;How to override Solidres language per asset's category&quot; alt=&quot;How to override Solidres language per asset's category&quot; src=&quot;https://www.solidres.com//media/static/img/documentation/override_assets_category/1.jpg&quot; /&gt; 

&lt;p&gt;While it is appropriate for assets in category &quot;Hotels&quot;, it is not quite correct for assets in category &quot;Apartments&quot; which should read &quot;Apartment &amp; Rates&quot;, so how to deal with this scenarios?&lt;/p&gt;

&lt;p&gt;First, you need to create an override language file in the following folder (assumes you are using English - en-GB).&lt;/p&gt;

JOOMLA_ROOT/components/com_solidres/language/en-GB/en-GB.com_solidres_category_9.ini

&lt;p&gt;The file name is quite simple, all you need to do is to replace the number at the end of the file name to your asset's category ID.&lt;/p&gt;

&lt;p&gt;Inside that file, you can put your override translation, for example, SR_STEP_ROOM_AND_RATE=&quot;Apartment &amp; Rates&quot;&lt;/p&gt;

&lt;p&gt;Then in the front end, Solidres will automatically detect and load override language file according to the current viewed asset's category.&lt;/p&gt;

&lt;img class=&quot;aligncenter&quot; title=&quot;How to override Solidres language per asset's category&quot; alt=&quot;How to override Solidres language per asset's category&quot; src=&quot;https://www.solidres.com//media/static/img/documentation/override_assets_category/2.jpg&quot; /&gt; </content>
		<category term="Developers" />
	</entry>
	<entry>
		<title>How to override Solidres layouts</title>
		<link rel="alternate" type="text/html" href="https://www.solidres.com/documentation/joomla-documentation/14-developers/28-how-to-override-solidres-layouts"/>
		<published>2014-08-25T16:16:35+07:00</published>
		<updated>2014-08-25T16:16:35+07:00</updated>
		<id>https://www.solidres.com/documentation/joomla-documentation/14-developers/28-how-to-override-solidres-layouts</id>
		<author>
			<name>Viet Vu</name>
			<email>vietvh@solidres.com</email>
		</author>
		<summary type="html">&lt;p&gt;Being a native Joomla extension, Solidres inherits many great Joomla's features and one of them is the ability to do template's overrides.&lt;/p&gt;

&lt;p&gt;If you are new to Joomla override, there is a good read for you:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core&quot; target=&quot;_blank&quot;&gt;http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/components/com_solidres/views/reservationasset/tmpl/default_simple_gallery.php&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And paste it into: &lt;strong&gt;/templates/your_template_name/html/com_solidres/reservationasset/default_simple_gallery.php&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/components/com_solidres/layouts/&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To make template override for those layout files, the steps are quite similar: First, you need to copy the target layout file, for example:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/components/com_solidres/layouts/asset/roomtypeform.php&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then paste it into your template folder, but in a different folder with the normal view files:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/templates/your_template_name/html/layouts/com_solidres/asset/roomtypeform.php&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;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: &lt;strong&gt;/plugins/solidres/hub/components/com_solidres/views/search/tmpl/default.php&lt;/strong&gt;, you can copy it to &lt;strong&gt;/templates/your_template_name/html/com_solidres/search/default.php&lt;/strong&gt;&lt;/p&gt;</summary>
		<content type="html">&lt;p&gt;Being a native Joomla extension, Solidres inherits many great Joomla's features and one of them is the ability to do template's overrides.&lt;/p&gt;

&lt;p&gt;If you are new to Joomla override, there is a good read for you:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core&quot; target=&quot;_blank&quot;&gt;http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/components/com_solidres/views/reservationasset/tmpl/default_simple_gallery.php&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And paste it into: &lt;strong&gt;/templates/your_template_name/html/com_solidres/reservationasset/default_simple_gallery.php&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/components/com_solidres/layouts/&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To make template override for those layout files, the steps are quite similar: First, you need to copy the target layout file, for example:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/components/com_solidres/layouts/asset/roomtypeform.php&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then paste it into your template folder, but in a different folder with the normal view files:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;/templates/your_template_name/html/layouts/com_solidres/asset/roomtypeform.php&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;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: &lt;strong&gt;/plugins/solidres/hub/components/com_solidres/views/search/tmpl/default.php&lt;/strong&gt;, you can copy it to &lt;strong&gt;/templates/your_template_name/html/com_solidres/search/default.php&lt;/strong&gt;&lt;/p&gt;</content>
		<category term="Developers" />
	</entry>
	<entry>
		<title>How to override Solidres's widgets in your theme</title>
		<link rel="alternate" type="text/html" href="https://www.solidres.com/documentation/joomla-documentation/14-developers/45-how-to-override-solidres-widgets-in-your-theme"/>
		<published>2013-09-16T14:40:34+07:00</published>
		<updated>2013-09-16T14:40:34+07:00</updated>
		<id>https://www.solidres.com/documentation/joomla-documentation/14-developers/45-how-to-override-solidres-widgets-in-your-theme</id>
		<author>
			<name>Xuyen Vo</name>
			<email>xuyenvtk89@gmail.com</email>
		</author>
		<summary type="html">&lt;p&gt;All widget layout files of Solidres plugins for WordPress are located in &lt;strong&gt;/wp-content/plugins/SOLIDRES_PLUGIN_NAME/templates/widgets/ &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So if you want to add some modification, just copy &lt;strong&gt;/wp-content/plugins/SOLIDRES_PLUGIN_NAME/templates/widgets/*.php&lt;/strong&gt; flie to the &lt;strong&gt;wp-content/themes/THEME_NAME/solidres&lt;/strong&gt; directory.&lt;/p&gt;
&lt;p&gt;And change the files to your needs.&lt;/p&gt;
&lt;p&gt;Further this way you won't lose any of your changes after an upgrade of the plugin.&lt;/p&gt; 
&lt;p&gt;Make sure to only copy the files you want to change, all other files will be loaded automatically from the system defaults.&lt;/p&gt; </summary>
		<content type="html">&lt;p&gt;All widget layout files of Solidres plugins for WordPress are located in &lt;strong&gt;/wp-content/plugins/SOLIDRES_PLUGIN_NAME/templates/widgets/ &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So if you want to add some modification, just copy &lt;strong&gt;/wp-content/plugins/SOLIDRES_PLUGIN_NAME/templates/widgets/*.php&lt;/strong&gt; flie to the &lt;strong&gt;wp-content/themes/THEME_NAME/solidres&lt;/strong&gt; directory.&lt;/p&gt;
&lt;p&gt;And change the files to your needs.&lt;/p&gt;
&lt;p&gt;Further this way you won't lose any of your changes after an upgrade of the plugin.&lt;/p&gt; 
&lt;p&gt;Make sure to only copy the files you want to change, all other files will be loaded automatically from the system defaults.&lt;/p&gt; </content>
		<category term="Developers" />
	</entry>
</feed>
