[posted and mailed] "Tim Hicks" <tim@sitefusion.co.uk> wrote in news:008301c25a5f$24f9aa50$0101a8c0@mandela:
... what if I want to make some global changes to my site? What if I want to add a heading (on every page) right after my <body> tag, and I want it to be the title of the zpt (not 'standard_template', but that using it). Doing the following doesn't seem to work when put in 'standard_template' as 'here' is not what I want when being accessed within a macro.
<body> <h1 tal:content="here/title">title inserted here</h1>
You could use tal:content="template/title" if you want to get the title of the template. here/title will give you the title of the folder containing the template. -- Duncan Booth duncan@rcp.co.uk int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3" "\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?