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
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