I am using .adp pages for the first time and I ran in a problem that I
already solved on normal .tcl pages...
Whenever there is a variable called print_p=t in the url the
page_content is being displayed with ad_header_print instead of
ad_header...
To achieve this I put the following code into ad_header:
ad_page_variables {{print_p "f"}}
if {$print_p == "t"} {
set header_html [ad_header_print $page_content]
return $header_html
}
}
I guess that I have to enable my master.adp to change src=/master
of the slave file to src=/master-print... but how???