Add jump to forum dropdown
| Project: | Advanced Forum |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I've implemented a 'jump to forum' drop down list, much like what is described here: http://drupal.org/node/91924
Just add the code to your forum-display.tpl.php file. It would be great if something like this is added to a future version. Currently this code doesn't filter the drop down list based on anon/user, or if any forums are private (can't remember if this is even an option).
Also, the code will add any containers as a selectable option, looking something like this:
Jump to:
--forum
--forum
--container
--forum
You have to hack the code to filter out building an entry for each container, like this:
if ($term->tid == 106) { continue; } // skip container
Just add the code right after the while ($term = db_fetch_object($vocabulary)) { statement.
Brad

#1
Thanks for the tip. This is actually something I wanted to add.
Michelle
#2
Listed on master to do list.
Michelle
#3
#4
Will revisit this in 2.x.
Michelle
#5
#6
Just a note that this will be added as soon as the jump menu code is added to CTools.
Michelle