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

Bug #688428 reported by jsherk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Invalid
Undecided
Unassigned

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.

Revision history for this message
TitanKing (titan-phpdevshell) wrote :

The "link" setting is mandatory, a ID is created from that, if not present it will have no id, meaning second level menu does not know whom it belongs to. For link type 6 add a fail-safe menu location if the javascript fails that is suppose to block clicking it.

Revision history for this message
TitanKing (titan-phpdevshell) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.