I looked in tcl/ad-html.tcl and the comments say
# significantly enhanced in December 1999 to modularize the comment and link
# stuff so that .adp pages could use them as well (philg)
and found this proc that is called everytime a .html page is requested (included just the header because the proc is very big):
proc_doc ad_serve_html_page {ignore}
I then thought that by adding something like
<%= [ad_footer]
[ad_server_html_page] %>
I would get the links, but no. I put [ad_footer] because it stuff the footer plus /body and /html tags at the bottom, which ad_serve_html_pages look for to add the comments and links.
I tried several different things without success. On my logs AOLserver would complain that I was not passing a "ignore" parameter to the proc. What param should I pass (and why ?) ? Looking through the proc's code, it is not used anywhere.
In turn, If I do something like <% [ad_serve_html_page "0"] %> or [ad_server_html_page 0], the line is not parsed and is sent as text to the browser.
There's nothing in the module documentation that explains how to do it or if there's an ADP tag to accomplish this effect.
Any clues ?