Re: [Templates] Nested menu problem from TT book

[prev] [thread] [next] [Date index for 2004/10/02]

From: Dave Cross
Subject: Re: [Templates] Nested menu problem from TT book
Date: 17:28 on 02 Oct 2004
On Sat, Oct 02, 2004 at 10:02:14AM -0700, Ovid wrote:
> --- Ovid <publiustemp-tt2@xxxxx.xxx> wrote:
> > Hi all,
> > 
> > I've been playing around with the nested menus in Chapter 11 from
> > the TT book, but the URLs seem wrong:
> 
> Grr .. please disregard. I worked on this for over an hour last night,
> not finding the problem. I found it immediately this morning :(
> 
>   item.file = item.path # should be "item.file = item.page"
>     ? "${item.path}/index.html"
>     : "${item.path}.html";

Any reason why you're not copying this stuff from the code examples file?

  http://examples.oreilly.com/perltt/

Dave...

        -- 
          Oh is this the way they say the future's meant to feel
  Or just twenty thousand people standing in a field?

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

Re: [Templates] Nested menu problem from TT book
Dave Cross 17:28 on 02 Oct 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52