Share » Forums » Developer » Custom search: results and searchform...

Custom search: results and searchform in the same page

Custom search: results and searchform in the same page

Monday 04 August 2008 3:04:35 am - 1 reply

Author Message

Stefano Vaghi

Tuesday 05 August 2008 3:23:39 am

Well...I have found a solution:

- copy advancedsearch.tpl in "..\extension\ezwebin\design\ezwebin\override\templates\content"

- rename and customize it (for example: "mysearch.tpl")

- copy "mysearch.tpl" into "..\extension\ezwebin\design\ezwebin\templates\content\advancedsearch"

- add the following lines in "override.ini.append":

[mysearch_results]
Source=content/advancedsearch/mysearch.tpl
MatchFile=content/mysearch.tpl
Subdir=templates

[mysearch]
Source=node/view/full.tpl
MatchFile=content/mysearch.tpl
Subdir=templates
Match[node]=*number_of_the_node*

- start to search :)

Bye

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu