Log in

View Full Version : Using $navbar in the postbit template


GetGamer.com
07-20-2005, 03:34 AM
I'm trying to put a link to the parent forum on the line below the thread title in this particular style: http://www.bigblueball.com/forums/showthread.php?t=31068

In the end, the line following the title should read:
Posted by name | timestamp | parent forumI was able to get the forumid, but I can't figure out how to get the forum title (this in in the postbit template). I hit on the idea of using the breadcrumbs from the navbar (which I'm not using in this particular style), and I edited the navbar template accordingly, but when I use $navbar within the postbit template, nothing shows up.

Any ideas on how to proceed?

Paul M
07-20-2005, 03:50 AM
$foruminfo['title'] ?

GetGamer.com
07-20-2005, 04:15 AM
That's not working. I tried this:<a href="forumdisplay.php?f=$thread[forumid]">$foruminfo[title]</a>but when the HTML is generated, it renders this:<a href="forumdisplay.php?f=147"></a>

Paul M
07-20-2005, 04:31 AM
Try $forumcache["$thread[forumid]"][title];

or actually, $forumTitle may still contain the forum title.