I am in the process of converting some web sites into Mason. I have
structured the site so there is a top level /autohandler for the main
look/feel which includes the header, nav and footer components (pretty
standard I would assume).

I want to create an <%init> or something to that effect on my actual
page that creates a "$title" var that the header include can use to
set the page title. When I do this I get all sorts of errors when I
view the page. How do I accomplish this?

Thanks,
Max

--------------------
I think the methods and attributes section of this page is what you might be looking for...

http://www.masonhq.com/docs/manual/Devel.html#objectoriented_techniques

This would allow you to define a title in each page, and have it called from your template <& SELF:title &>  ...

Hope this helps,
Rodney


Reply via email to