On Tue, Oct 30, 2001 at 11:16:43AM +0100, Juan Garcia Garcia wrote:
I'm going to explain you my purpose: i must put a link, like in www.zope.org, called "Printable page", but the web pages are dynamic (they are generated with the values of variables pass through forms or with REQUEST.set), and to show the page ready for printing i need the values of those variables to make the URL.
Well, one snippet that might help: <a href="<dtml-var URL>?<dtml-if QUERY_STRING><dtml-var QUERY_STRING>&</dtml-if>pp=1">Test link</a> should generate links that append pp=1 as a parameter to whatever page you're on. It does have the disadvantage that if you use that code in your printable page, your users might keep clicking the same link and tacking on extra pp=1 parameters to the end of the URL. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu