J00011manager option 13 dummy third party plugin,class,php

From Jomres v4 manual

Jump to: navigation, search

This minicomponent inserts a link (requires v4.1.1 of Jomres) into the manager's toolbar in the frontend of Jomres. It generates a link to the task "dummy_third_party_plugin".


The key part of this code is the following:

  1. $this->cpanelButton=jomres_mainmenu_option(JOMRES_SITEPAGE_URL."&task=dummy_third_party_plugin", 'Reservations2.png', jr_gettext('_JOMRES_CUSTOMTEXT_DUMMY_THIRD_PARTY_PLUGIN_DEFINE1',_JOMRES_CUSTOMTEXT_DUMMY_THIRD_PARTY_PLUGIN_DEFINE1,false,false), $ePointFilepath);

If you're editing this script for your own plugin likely the only things you'd need to change are the filename, the classname, the name of the image (in this instance it's Reservations2.php) and the language define taken from the language file included by the j00001f file.

Personal tools