[ZPT] Varying templates based on location

Jean Jordaan jean@upfrontsystems.co.za
Fri, 16 Aug 2002 15:18:05 +0200


Chris Withers wrote:
>                use-macro="root/template/macros/page"

Hmm, this is transparent to vhosting setups, right? In my ZODB:

/sites_root/site1  (accessible as http://www.site1.org )
/sites_root/site2  (accessible as http://www.site2.org )

So in this setup I'd really be writing
   use-macro="root/sites_root/template/macros/page"
or (equivalently?)
   use-macro="here/sites_root/template/macros/page"
?

-- 
Jean Jordaan
Upfront Systems                         http://www.upfrontsystems.co.za