Changing the order of property details tabs
From Jomres v4 manual
New in v4.6 we introduced functionality whereby property details tabs are added via minicomponents. This allows us and third party developers to programatically add and remove tabs.
Occasionally though you might want to change the order of the tabs, and here we'll show you how.
We will start with the hypothetical scenario that you want to show the slideshows tab first, instead of the property details text. First you need to create a new directory within your /jomres/remote_plugins/ directory tree called "custom_code", so that you now have /jomres/remote_plugins/custom_code.
Now, copy j00035tabcontent_03_slideshow.class.php to this directory and rename the file to j00035tabcontent_01_a_slideshow.class.php. Inside the file, also rename the class and constructor as follows:
class j00035tabcontent_01_a_slideshow { function j00035tabcontent_01_a_slideshow($componentArgs) { // Snipped for brevity } }
Leave all of the other code in place.
Again, copy j00035tabcontent_03_slideshow.class.php into this directory and edit it so that it doesn't produce any output.
function j00035tabcontent_03_slideshow($componentArgs) { $MiniComponents =jomres_getSingleton('mcHandler'); if ($MiniComponents->template_touch) { $this->template_touchable=false; return; } }
Finally, in the administrator area of Jomres, use the Rebuild Registry feature. Once you've done that, Jomres should use these new files instead of the old j00035tabcontent_03_slideshow.class.php that should still be in the /jomres/core-minicomponents directory.

