For the new Joomla Quickstart I needed to disable showing the Jomres main menu on the Preview page of properties. This was done by editing the script that generates the view property url ,
If you want that the menu shows on this page, you can modify that script and remove the sections of the urls that say &menuoff=1&nofollowmenuoff=1 however if you modify this script, it'll be overwritten when you update. How do you keep that change?
Copy that file to /jomres/remote_plugins/custom_code and make the changes you want to make.
Copy also this file github.com/WoollyinWalesIT/jomres/blob/m...etails_url.class.php into the same directory, and in this file change
require_once JOMRES_FUNCTIONS_ABSPATH.'get_property_details_url.php';
to
require_once JOMRES_REMOTEPLUGINS_ABSPATH.'custom_code'.JRDS.'get_property_details_url.php';
Save, then in the admin area > Jomres > Tools Rebuild the registry. Now Jomres knows to look in the custom_code directory for the file that contains that function. As the remote_plugins dir and it's contents aren't overwritten on update, your changes are safe.
- Created on .