Name collisions when registering to different sections of a menu
|Reported by:||ewinslow||Owned by:|
If I register two menu items with the same name to different sections, they will both appear as options.
E.g. I was trying to override the "profile" menu item to switch it to the "alt" section, so I just registered the menu item with the name "profile", but that didn't work, it just showed up twice.
Current solution is just to manually unregister the previous menu item before re-registering the new one.
Change History (6)
comment:3 Changed 21 months ago by cash
- Milestone changed from Needs Review to Elgg 1.8.1b
- Priority changed from normal to high
- Version changed from 1.8 Beta to 1.8
comment:5 Changed 21 months ago by Cash Costello
- Resolution set to fixed
- Status changed from new to closed