Wednesday 22 November 2006 12:51:00 am
<b>Background</b> I was recently updating an eZ publish search implementation. I noticed that the site design used a print icon in it's page layout, yet sadly it was hard coded to only work on page views which displayed node content. (statically linked to for content view full + node_id). On page views using the search (displaying results) the printable link naturally did not function and would link to an incomplete url. Leading me to sneaking implementing alternate printable views (other than 'view') like advanced search (results). Yet I ran into a problem of how to do this the <i>'eZ'</i> way, this must have been done before (dynamic printable link for alternate module views :\) So before I hack it to bits, I pause to ask here for your thoughts, experiences and conclusions. <b>The Question</b> How to detect in $module_result or other template variable when using the '/content/advancedsearch/' module as apposed to 'view'. Using the above solution, then how would you create a print this page link (#1) which passes the search url parameters to a printer friendly template layout and navigator. I will document this thread to http://eZpedia.org and resulting solution for the community. <i>//kracker Incubus - Hidden 'eZc' Song</i>
Member since: 2001.07.13 || http://ezpedia.se7enx.com/
|