Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

JumpBox

Summary: A pull down menu that can be used for navigation
Version: 1.0
Prerequisites: Latest version of PmWiki
Status:
Maintainer:
Categories: Forms | Markup | Menus

Questions answered by this recipe

Q. How do I make a select box that automatically jumps to the page I select?
A. Use the Jumpbox recipe, of course.

How to Use

1. Download and enable the jumpbox.phpΔ recipe.

2. Create a pagelist template that looks like the following:

[[#jumpbox]]
(:template first:)
(:input jumpbox value='' label='Select One...':)
(:template each:)
(:input jumpbox value="{=$PageUrl}" label="{=$Title}":)
[[#jumpboxend]]

3. Create a pagelist like the following

(:pagelist group=Main fmt=#jumpbox:)

Notes

I just copied this from the page Pm put up at http://www.pmwiki.org/wiki/Test/JumpBox.

Contributors

Comments

I keep getting the following error

Fatal error: Call to undefined function InputSelect() in /var/www/vhosts/ilovemacaroniandcheese.com/httpdocs/pmwiki/pmwiki.php(1239) : regexp code on line 1

Any ideas? --DavidBessler? July 12, 2007, at 10:26 PM

You say download and enable jumpbox.php, I know how to download it but how do I enable it?

Edit - History - Print - Recent Changes - Search
Page last modified on February 25, 2008, at 01:16 PM