Now tabs are something like:
Document - Settings - Template Variables - Resource Groups
To add a tab of "Gallery" there, to all resources (web pages) - so that there is no need each time to travel Extras --> Gallery --> an Album. Often there are heaps of pages and it is both easier and more obvious to have corresponding images at hand in the corresponding page tab.
From rtfm.modx.com on EvoGallery: (
http://rtfm.modx.com/extras/evo/evogallery )
Since EvoGallery 1.1 in the distribution is an optional widget for the ManagerManager plugin that allows you to create a tab within document editing page
mm_widget_evogallery($moduleid, $title, $roles, $templates);
- $moduleid is a custom variable specific to this function. It tells the function what module ID to use. To find out the ID of a module, simply copy the link to the module in the main menu. The ID will be part of the URL itself. E.g.: /manager/index.php?a=112&id=2. In this case, the $moduleid is 2.
- $title is display name of tab.
- $roles should be replaced with the IDs of the roles that should be affected or left empty to apply the rule to all roles.
- $templates contains the IDs of templates to apply the rule to, or can be left empty to apply to all templates.