Author Topic: How to show the keywords in search result page  (Read 6476 times)

0 Members and 1 Guest are viewing this topic.

Offline Kevin Chi

  • Pre-Newbie
  • Posts: 9
    • View Profile
How to show the keywords in search result page
« on: November 30, 2006, 04:10:15 AM »
Dear ALL,

I want the keyword  showing the search is here, but I try to modify many files,
at last and all failing, please help me to know how modify, thank you very much.

P.S. my English isn't good, Please read diagram file to explain, thanking.

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: How to show the keywords in search result page
« Reply #1 on: December 01, 2006, 02:45:23 PM »
Hi,

in templates/default/search.html

search:
Code: [Select]
<b class="title">{lang_search}</b>replace with:
Code: [Select]
<b class="title">{lang_search}= {search_keywords}</b>   :wink:

cu
Kurt

Offline Kevin Chi

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How to show the keywords in search result page
« Reply #2 on: December 02, 2006, 02:22:37 AM »
Dear KurtW,

When the search could not find data of time,
this solution  (No.1)  can normally show search character string  (No.2) .

But when the search can find out data  (No.3) ,
this solution can't normally show  (No.4)  search character string.

Thank you very much. :)
« Last Edit: December 02, 2006, 06:43:54 AM by Kevin Chi »

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: How to show the keywords in search result page
« Reply #3 on: December 02, 2006, 07:46:58 AM »
hi,

yes, sorry  :oops:

in search.php

search:
Code: [Select]
  "clickstream" => $clickstream,after, add:
Code: [Select]
  "search_keywords" => $search_keywords,
Now its working :wink:

cu
Kurt

Offline Kevin Chi

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How to show the keywords in search result page
« Reply #4 on: December 02, 2006, 04:07:27 PM »
Dear Kurt,

hahaha..., yes!!

thank you very much!!   :lol:

Offline Kevin Chi

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How to show the keywords in search result page
« Reply #5 on: December 04, 2006, 08:35:55 AM »
Dear Kurt,

When I start browsing the search result (No.1),
everything looks like normally (No.2).

But when I press 'Search' here (No.3),
it is missing again (No.4)!

Thank you very much.
« Last Edit: December 08, 2006, 10:13:29 AM by Kevin Chi »

Offline Kevin Chi

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How to show the keywords in search result page
« Reply #6 on: December 08, 2006, 03:49:41 PM »
Dear ALL,

Someone can help me ...

thank you very much !!