Print button that depends on the siteaccess

Author Message

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.