search

Author Message

jb bianchi

Saturday 06 August 2005 6:44:07 am

ki,

I need help.
I created a class qualification(notion, expert, numeric index). I want to find expert in enter notion in the search.
I modified advancedsearch.tpl in order to search only in the class qualif or not in all the class. But now, if i search in enter a notion I find the name of the qualification and i want to have juste the expert of the qualifiacation.

If you know what i have to change that will be a great help for me.

thank's

Lazaro Ferreira

Sunday 07 August 2005 3:31:58 am

Hi,

You have at least two ways of doing it

Using Template fecth function :

http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/content/fetch_functions/search

This way you have to create and program the search form yourself

or you can use EZP custom search box (a further
development of ezp advanced search implementation )

http://ez.no/products/ez_publish_cms/documentation/customization/components/search/custom_search_box

I would recommend you this second way, because it is easier to implement, and lets you reuse ezp advanced search mechanism with a bit of programming for "attribute based search", when you are done with this overriding the ezp advanced search template is only a matter of creating a template view (advanced search does support it)

To understand how to create template views you can follow this links
http://ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics/modules_and_views
http://ez.no/doc/ez_publish/technical_manual/3_6/templates/template_basics#template_generation
http://ez.no/doc/ez_publish/technical_manual/3_6/templates/the_template_override_system

Lazaro
http://www.mzbusiness.com

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