View Full Version : Breadcrumb needed in Plugin
Melchior
11-11-2010, 04:40 AM
Hi,
I need the breadcrumb in a plugin. Is there any way to get them there? It is necessary because we need to integrate the breadcrumb into a separate layout, by the plugin.
Many thanks in advance,
Melchior
The problem I see is that the way the breadcrumb is built is different depending on which page you're on, and it's often built near the end of code that builds the page. Do you need it for every page? Then I think you'd either need to figure out how to build it yourself for every page, or else figure out how to make your plugin do its work using one of the hooks in the function construct_navbits (in includes/function.php).
If you only needed it on some pages, that might simplify things. For instance if you only needed the thread and forum display pages then you could steal the code for building it from showthread.php or forumdisplay.php.
Or maybe someone else can think of something that I missed.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.