Quote:
Originally Posted by BirdOPrey5
But if it's not a static link?
|
That is a problem
I do not know the exact ideas behind Navigation Manager , but I think it simply wasn't designed with dynamic links in mind as vBulletin itself (except vBulletin CMS) does not do that.
As I see it, there are currently three alternatives (of which none is realldy ideal):
- Programatically create/update/delete links in navigation manager based on the Add-on data
Pro: Full control over the links
Con: Rather complicated management for the Add-on, might requires extensive changes to the logic
- Don't create any links and leave it up to the user
- Pro: Full control, no additional work the for Add-on author
Con: A lot of work for the Administrator
- Create links at runtime
Pro: Fairly easy to do
Con: Zero control over placement in Navigation Manager, code can be a little bit inefficient
IMHO the best solution would be if the Navigation Manager would offer "Dynamic Content" items which would just act as placeholders in ACP and are only being filled with content on the frontend when needed.
This would be easy to implement and maintain for Add-ons and would still give the Administrator the power to control placement, etc.
http://tracker.vbulletin.com/browse/VBIV-15123