Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

pages as dropdown

edited June 2008 in Vanilla 1.0 Help
Hej guys.

is it possible to have the pages that ar normally listed in tabs as a dropdown box?

wich files do i have to edit?


  • Options
    pages? you mean the "discussions, categories, search, account etc."?

    If so, they're just a normal ul-list so you can style them how you like and make them list vertically if you prefer. You can make that into a suckerfish menu too.

    There was another thread recently on incorporating them into the Panel.
  • Options
    yeah, i stepped on suckerfish myself. that wasn't exactly what i wanted ^^

    i just wanted an ordinary dropdown, that did it:
    echo "<form>\n<select>"; while (list($Key, $Tab) = each($this->Tabs)) { echo '<option onclick="window.location=\''.$Tab['Url'].'\'">'.$Tab['Text'].'</option>'."\n"; } echo "</select>\n</form>";
  • Options
    Hi, I think it's in the while (list($Key, $Tab) = each($this->Tabs)) { that you find in the menu.php theme file.
  • Options
    I would like to make a suckerfish menu...I'm a bit of an idiot with this sort of thing tho...can someone give me a clue of where to begin? Thank you so much!!
This discussion has been closed.