After the decision of the original author of the simpl_menu2 author to not support webtrees version 1.5 I have ported some of these modules to this version of webtrees.
Requirements
This module requires webtrees version 1.6.0 or later.
Installation
This section documents installation instructions for vytux_menu2.
Unzip the files and upload them to the webtrees /modules_vX/ folder on your web server. (Note: "X" = "3" at the time of writing this, but may change in future releases)
Login to webtrees as administrator, go to Administration --> Modules, and find the module. It will be called "Vytux_menu2". Check it has a tick for "Enabled"
Next go to the "Menus" menu. Set the access level and position for the menu item to suit your preference. It will probably have defaulted to "Show only to managers".
Finally click SAVE, to complete the basic installation.
Setup
Create one menu item for each link you need.
These are stored in the webtrees database, as "block settings". They are created by going to the "Vytux_menu2" menu option in Administration then click on "Add menu item" to display the creation screen.
Give each menu item a title. This will be used in the menu drop-downs. It is important therefore to keep these titles short.
Add the address (url) of the item you want this menu item to link to. For example "forum.php". NOTE: only web pages WITHIN your webtrees site site url can be accessed in this way.
Set the access level, to determine which users can see this menu item.
Choose which languages to display this page for. This is the same as other similar options throughout webtrees. Select NONE of the available languages if you want it to display in ALL languages. Only select single languages if you are also planning to offer a similar translated version for other languages.
Set the Menu position, relative to any other menu you might have already created. This determines where on the sub-menu list this menu appears. It can be changed later by simply using the up / down arrows on the vytux_menu2 administration screen. The first item will also be the default when the main "Menu" item is clicked.
Use "Menu visibility" to set if this menu item is to be seen when viewing all family trees on your site, or just one.
Click "Save" to complete this process and create your menu list.
Optional changes
Menu item title: this is taken from the title of the module. By default it is "Menu". That can be changed in vytux_menu2/module.php. Look for this section near the beginning:
public function getMenuTitle() {
return WT_I18N::translate('Menu');
}
Simply replace "('Menu')" with the word or SHORT phrase you prefer, such as "('My menus')".
BUT, if you only have one menu item, this title will be changed to the title of that menu item, and no sub-menu will be shown.
Menu item icons: this module uses different icons for each theme, stored in the module's themes/webtrees (or clouds, colors, xenea etc) folder. If you want to use a different image, simply replace the one provided with your own, of an appropriate size for your preferred theme.
When you add or change icons, you must also make corresponding changes in the same theme's vytux_menu2/themes/webtrees (or clouds, colors, xenea etc)/style.css file. The places where changes can be made are noted in comments in those files.
Do NOT replace images with ones of the same name, as they will be over-written on upgrading.
General design of fonts, colors, etc: change these in all or any of the vytux_menu2/themes/webtrees (or clouds, colors, xenea etc)/style.css file, but remember that such changes will be over-written when you next upgrade, so keep notes of your changes.
Sub-menu items
If you want to add more than one menu item you can. But you will need to make some changes in the style sheet of each theme you use (in this modules' themes folder, not the main webtrees ones), and create some additional small icons. Details are in comments on the style sheet (style.css).
Upgrade
As this is the first version to support webtrees 1.5 no upgrade path is possible
Unfortunately even though this module is based on simpl_menu2 it cannot automatically import the old settings and as such all menu items will either need to be re-created or you could run this sql script over your database after enabling the new module.
UPDATE `wt_block` SET `module_name`='vytux_menu2' WHERE `module_name`='simpl_menu2'
Contact Support
You can contact our support staff by one of the following: