How to pass value to a template

Author Message

Toms King

Thursday 24 August 2006 7:00:27 pm

Hi, all,

Me again. A new question comes, how to pass a value to the template. For example, I already design a search page interface, but I don't want the search result also displaying in this page. so I design the search result template. But now the problem is how can I pass the search result array from the search template to the search result interface. Is there any way like the include function, like {include url=" " search_result="SearchResult"} ??? or use a form to pass?

Best regards and thanks,

Toms

Felix Woldt

Saturday 26 August 2006 9:21:59 am

Hi Toms,

i think this will fits your needs :-)

http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/include

Best Regards
Felix Woldt

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

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