Fetching content with search operators on a specific node. pb then solution

Author Message

laurent le cadet

Wednesday 19 November 2003 1:57:34 am

Hi,

I'm trying to fecth content on specific nodes with the search operators.

First I tryed this :

{fetch(content,search,hash(subtree_array,35,class_id,23,class_attribute_id,337,text,'MyWord'))}

This return "Array"

Then I tryed to print the list :

{let search=fetch(content,search,hash(subtree_array,35,class_id,23,class_attribute_id,337,text,'MyWord'))}
{search['SearchResult']}
{/let}

No more result.

The next step is to make a link to the objects for each result.

I'm looking for documentations or threads about this to solve the very last problem of the site (just found 1 doc.)

Someone can help me ?

Thanks.

Laurent.
==============================

My pb was due to this thread : http://www.ez.no/developer/ez_publish_3/documentation/customization/components/search/search_operator

and specially this line

{search['SearchResult']} without "$"

I made a mix with the classic search.tpl

Hope this help.

Laurent

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