[Catalyst] Including a submenu

Matthew Topper topperm9 at gmail.com
Mon Apr 6 15:32:33 GMT 2009


On Mon, Apr 6, 2009 at 11:26 AM, Andrew Rodland <arodland at comcast.net>wrote:

>
> Set 'page' to something that doesn't start with a slash?
>
> Andrew
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>

Thanks, but that's not exactly what's going on.  I'm trying to process a
template located at $page/menu.tt2 for each section of my site.  I tried
passing $page to the name of the subsection, so if I set $c->stash->{page} =
=3D
'foo' I want to process "foo/menu.tt2"

The file starts with a slash because $page is evaluating to nothing.

Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090406/5f284=
c6c/attachment.htm


More information about the Catalyst mailing list