Hello, I have a Zope site, and use ZPT for it. Now i want on every page a little icon (that's the simple part ;) if you click on it, you'll get the same page, but very clean so the page can be printed without all the graphical stuff. So i have to make a new template, but how to call it ? (btw it's possible to do it with stylesheets, but it seems very browser independent: only Mozilla can handle it correctly). -- Frederik Vos <frederik.vos@be.easynet.net> Easynet Belgium
Frederik Vos wrote at 2003-12-17 12:05 +0100:
Hello,
I have a Zope site, and use ZPT for it. Now i want on every page a little icon (that's the simple part ;) if you click on it, you'll get the same page, but very clean so the page can be printed without all the graphical stuff.
So i have to make a new template, but how to call it ?
Obviously, you want to use it in a "<a href=...>" (i.e. as an URL). You can use "string:${here/absolute_url}/id_of_your_new_template". -- Dieter
Hi Frederik, Frederik Vos wrote:
Hello,
I have a Zope site, and use ZPT for it. Now i want on every page a little icon (that's the simple part ;) if you click on it, you'll get the same page, but very clean so the page can be printed without all the graphical stuff.
So i have to make a new template, but how to call it ?
Maybe you just want to have a closer look at CSS and how to define for different media types. E.g. you just define everything not to be printed as invisible for media printer. This is clean and you can skip all the icon and server and template part :-) Regards Tino Wildenhain
participants (3)
-
Dieter Maurer -
Frederik Vos -
Tino Wildenhain