[jifty-devel] Creating menubar ?

Jesse Vincent jesse at bestpractical.com
Mon Feb 26 12:07:04 EST 2007




On Sat, Feb 24, 2007 at 11:05:15PM +0000, mraptor wrote:
> hi,
> 
> I created a menubar in a 'menu'-template, like this :
> 
> <%init>
> my $top = Jifty->web->navigation;
> $top->child(Home => url => "/", sort_order => 1);
> $top->child("first", label => 'first item', url=>'/page1.html');
> return();
> </%init> 
> 
> then included this template into my other templates.
> But I don't know how to show the menu ? How to print the menu-bar ?
>

perldoc Jifty::Web::Menu for docs about how to do so.

-j




More information about the jifty-devel mailing list