On 1/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> When I modify my wrapper file to this
>     content WRAPPER $site.layout.main + $site.layout.navbar +
> $site.layout.mbody
>
> TT throws an exception saying
>     file error - parse error - site/wrappers/Main line unknown: unexpected
> token (+)

If you place your variables inside double quotes it should work:

  content WRAPPER "$site.layout.main" + "$site.layout.navbar" +
"$site.layout.mbody"

Although you may still have some problems using the dot notation like
that (haven't tested it), but you can always set your filenames first:

  SET main = site.layout.main;
  SET navbar = site.layout.navbar;
  SET mbody = site.layout.mbody;
  content WRAPPER "$main" + "$navbar" + "$mbody"

or you can try adding braces { } to the variable names.

Cheers,

Cees

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to