Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Changes

Jump to: navigation, search

Cust Menu Extension

16 bytes added, 00:51, 10 August 2018
Description
== Description ==
Mod updates the TNG custom menu with a adds additional flag -- 'users' -- to the customconfig.php menu item definitions, which restricts will restrict a TNG drop down menu item to logged in users, not showing it to casual . Casual visitors to the sitewill not see the item in the menu.
The flag is used as part of must be added to the menu item definitions definition in the site's customconfig.php file. See [[Custom_Menu_Hook]] for complete details on how to define drop down menu items.
The syntax to flag a menu item for logged-in users only is as follows:
<pre>$LINKTYPE['link_nr]['user'] = true;</pre>
Experienced, maintainer, administrator, sysops
3,935
edits

Navigation menu