On 3/30/06, fayland <[EMAIL PROTECTED]> wrote:
> It's a normal question. we have a wrapper.html contains:
> <title>[% title || c.config.name %]</title>
> how to set this "title"? I use [% META title = , but META cann't be a
> var like forum.name.
> my problem is how can I set this "title" as forum.name. ( I tried set
> $c->stash->{title} = $forum->name , it doesn't help)

I usually just set the title right in the template that is being wrapped.

[% WRAPPER wrapper.html title=forum.name %]

[% END %]

But you should also just be able to set that value as a normal variable:

[% SET title = forum.name %]

Cheers,

Cees

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

Reply via email to