Forums / Developer / Print button that depends on the siteaccess
Norman Leutner
Thursday 27 October 2005 4:54:29 am
I need a print button within a included template that depends on the siteaccess like:
<a href={concat('/layout/set/print/',$access_type.name,'/',$site.uri.uri)} target="new">print</a>
he problem is that $access_type.name and $site.uri.uri are not available within the included template:
Error: eZTemplate @ extension/hoppecke/design/plain/override/templates/parts/productpage_right.tpl:53[91] Oct 27 2005 13:17:59 Unknown template variable 'site' in namespace '' Error: eZTemplate @ extension/hoppecke/design/plain/override/templates/parts/productpage_right.tpl:53[105] Oct 27 2005 13:17:59 Unknown template variable 'access_type' in namespace ''
Mit freundlichen Grüßen Best regards Norman Leutner ____________________________________________________________ eZ Publish Platinum Partner - http://www.all2e.com http://ez.no/partners/worldwide_partners/all2e_gmbh