Tony Bowden <[EMAIL PROTECTED]> writes:

> This all works great.
> 
> Until I want to make the browser title be something to do with some data
> that the template gets, such as:
>   [% META browser_title = book.title %]
> 
> Which of course doesn't work as this info has to be a plain string.
> 
> I'm assuming there must be _some_ way to make this work though?

I created a workaround for this.  Creating a plugin called from the
header that parses template variables and evaluates those starting
with a '-'.  That would be:

  [% META browser_title = '-book.title' %]

The same thing but with some text around:

  [% META browser_title = '-"My ${book.title} page"' %]


Just a temporary solution.  I'll think TT3 will have solved this.


-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html


Reply via email to