Ekkehard Dörre
|
Tuesday 20 May 2003 3:16:33 am
On ez.no and in the demo the printer version link made no sense on search, only printing without results where possible. Change Your link in page_layout_section_xxx.tpl or where else into:
{section show=$enable_print}
{section show=is_set($search_text_enc)}
{section show=is_set($search_contentclass_id)}
<a href={concat('layout/set/print/',$site.uri.tail,'?SearchText=',$search_text_enc,'&SearchContentClassAttributeID=',$search_contentclass_id,'&SearchSectionID=',$search_section_id,'&SearchDate=',$search_date)|ezurl} class="path">{'Printable version'|i18n('design/standard/layout')}</a>
{section-else}
<a href={concat('layout/set/print/',$site.uri.tail,'?SearchText=',$search_text_enc)|ezurl} class="path">{'Printable version'|i18n('design/standard/layout')}</a>
{/section}
{section-else}
<a href={concat("layout/set/print/",$site.uri.tail)|ezurl} class="path">{'Printable version'|i18n('design/standard/layout')}</a>
{/section} {/section} Greetings, ekke
http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing
|