Options to remove a button
There are different ways to remove buttons:
- All buttons of a plugin disappear automativcally if the repsective plugin is taken out of the plugin list
- Single buttons can taken off if the declaration of that button either is deleted or commented out
Option 1: Disable a plugin
Plugins provide special features that usually come with its own buttons.
Examples are the slideshow and print plugin.
default print buttons
default slideshow buttons
Option 2: eliminate single buttons
To make only the rotate buttons of the navigation bar disappear, you need to edit the (source version) of the navigationbar.asul. How to get access and prepare for that is explained here.
The sources are commented, and if you search for rotate you'll immediately find the two definitions for the left and right rotate buttons.
Each button is defined with a <button> tag and several attributes, like
- the action to take when pressed (onclick)
- the tool tip that shows up when hovering over the button (localized title, so it presents the corect language)
- the button's style, referenced by names
To eliminate a button the complete <button tag from the starting < to the closing /> signs have to be either commented (see next bar) or deleted.
If you might want include the button later again, it is a good idea not to delete it but to make it a comment.
All text within the opening comment identifier signs <!-- and the closing comment identifier signs --> will be ignored by megazine, and therefor the button will not be added to the navigation bar.
If you know for sure you never will use the button for the megazines using the modified instance of the MegaZine3 software, you also can delete the complete definition of the button, i.e. everything between and including the <button and /> characters.
