phpdevshell team mailing list archive
-
phpdevshell team
-
Mailing list archive
-
Message #00320
[Bug 688431] Re: plugin.config menu items with same link are do not show up
Two menu items cant have the same linked file, if you want to link to
another menu item you need to use symlinks, look at this example:
<menu name="Example Plugin" type="2" link="control-panel.example" hide="" rank="last" newwindow="" plugin="PHPDevShell" parentlink="" symlink="user/control-panel.php" alias="example-control" template="" height="" noautopermission="">
</menu>
So link can just be a random string explaining your place-holder.
** Changed in: phpdevshell
Status: New => Invalid
--
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
https://bugs.launchpad.net/bugs/688431
Title:
plugin.config menu items with same link are do not show up
Status in Open Source PHP RAD Framework with UI.:
Invalid
Bug description:
Try this:
<menu name="TEST3" type="6" hide="2" link="someFile.php" rank="last">
<menu name="TEST4" type="1" hide="2" link="someFile.php" rank="1"></menu>
<menu name="TEST5" type="1" hide="2" link="someOtherFile.php" rank="1"></menu>
</menu>
And none of the menu items will show up because two are both linked to someFile.php
Note that this a very real scenario where although TEST3 is a placeholder, with TEST4 and TEST5 as sub-options, I want to link TEST3 to one of the same files that either TEST4 or TEST5 are linked too.
References