|Newbie questions about Pliant
Customizing header per page
I would like to have different keywords, title and description
on my pages.
|Message posted by maybe Boris Reitman on 2006/12/06 21:02:23
|Like the abstract says. I would still like to keep the header and footer
design that I keep in style file, that I set with page_header and page_footer.
The custom meta must work when I use goto_page, but also when I
use execute_dynamic_page. It would be good if I can control it at
the page method level.
Whats the best way to organize this ?
push common head "some text"
do ? Does it append "some text" to head or replaces it ?
|Message posted by maybe Hubert Tonneau on 2006/12/09 10:40:17
|The set of styles parameters is stored in a data structure.
When the page is executed, sometime you have some instructions like this:
and the expected effect of 'foo' might be to change some parameters of the style
while executing the body.
'push' has been introduced to enable to apply changes to the style structure
that will be automatically reversed when the body execution ends.
So it should be only used in 'tag_html_open' instruction's body, and it will
automatically be reversed when 'tag_html_close' is executed.