← Back to team overview

phpdevshell team mailing list archive

[Bug 688428] Re: plugin.config type 6 place holder requires link to be properly placed in menu

 

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.

-- 
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
https://bugs.launchpad.net/bugs/688428

Title:
  plugin.config type 6 place holder requires link to be properly placed in menu

Status in Open Source PHP RAD Framework with UI.:
  New

Bug description:
  In the plugin.config file, try this:
<menu name="TEST1" type="6" hide="2" link="" rank="last">
  <menu name="TEST2" type="6" hide="2" link="" rank="1">
  </menu>
</menu>
Notice that TEST1 does not even show up on the menu.

Then try this also:
<menu name="TEST1" type="6" hide="2" link="" rank="last">
  <menu name="TEST2" type="1" hide="2" link="somefile.php" rank="1">
  </menu>
</menu>
Notice that the TEST2 will not appear underneath TEST1 as it should.





References