Log in

View Full Version : How to display the parent forum title in the search results?


iambic
03-07-2007, 02:46 AM
Hi,

does anyone has a suggestion on how to display the parent forum title in the search results? My forums are organized in a 2 level hierarchy, and at the second level many forums have the same name (Feature Requests, Issues, etc.)

Currently in the search results since only the containing forum name appears, it's hard to understand to what parent such forums belong to.

In a nutshell, I'm trying to understand if there's a $post variable allowing to tweak search_results_postbit around line 8 from the current:



<spanstyle="float:$stylevar[right]">

$vbphrase[forum]: <ahref="forumdisplay.php?$session[sessionurl]f=$post[forumid]">$post[forumtitle]</a>

</span>



to become something like:



<span style="float:$stylevar[right]">

$vbphrase[forum]: <a href="forumdisplay.php?$session[sessionurl]f=$post[forumid]">$post[parentforumtitle] - $post[forumtitle]</a>

</span>



Thanks,

- Adriano

msamavi
04-10-2009, 07:03 AM
I am interested in any help in this regard as well?

myogesh_mathur
07-17-2009, 04:55 AM
I am also looking for same answer.