[Solved] How to implement a search in my ez publish site

Author Message

Mohamed Ben-Ahssene

Sunday 29 March 2009 1:13:23 am

Hi
I read on the technical doc of ezpublish 4 there is a search engine , where is it? How can I use it? And is it ez find? beacause I can't find a real doc to use it.
your answer will help me, thank you.

André R.

Sunday 29 March 2009 8:25:19 am

There is a basic search engine included (ezsearch), but the preferred one is eZ Find.
The doc is on the documentation page, look at your left side for the 'Extensions' part.
There is also some doc bundled with the extension.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

justin kazadi

Monday 30 March 2009 12:45:22 am

Hi,
ez publish came with an search engine but you can use also ez find extension.

if you want to use the search engine , use this code in your pagelayout:

<form method="get"
action={'/content/search'|ezurl}>
<input type="text" name="SearchText" />
<input type="submit" name="SearchButton"
value="Search" />
</form>

i think this can help you.

good luck

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Mohamed Ben-Ahssene

Monday 30 March 2009 1:35:46 am

Hi again Justin!

Yes it will help me, thank you very much Justin.

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