[HOW TO] link for search

Author Message

Yannick Komotir

Tuesday 03 June 2008 3:01:00 am

[sorry for mistakes i'am francophone]

Hi,

I understand a lot of things on ez, but links still retain me!
i want just to know how create a link who going to my custom search.tpl with my prédefinies criterias;
a simple, I want the user clicks on a link and it has the last ten most read articles by examples.


A good understanding
Yannick

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

justin kazadi

Tuesday 10 June 2008 5:50:44 am

hi yannick,
you have says that you want a link towards the search template.for this you can do this:

<a href={"/content/search"|ezurl}>search</a>

in your pagelayout.tpl.

then your search template will be called.

"God helps those who help themselves." -- Benjamin Franklin

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

Yannick Komotir

Friday 13 June 2008 7:56:58 am

Hi Justin,

Thank for your reply but i want to do a custom search with some criterias

Yannick_

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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