Search Function

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
Post Reply
Sabrina
Posts: 1
Joined: Thu 14. Apr 2005, 07:05

Search Function

Post by Sabrina »

Hello,

I am using phpwcms and I want to build a Search function for Media Releases. Do anybody have an idea on how I can Search for specific dates, titles, keywords within the articles and display the pages that match the search? I know we can use {RELATED} but it searches only the Keywords of a page..not the content.

Can anybody help me with this? I am getting desperate

Waiting for your replies.... :wink:

Thank you
Sabrina
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

I guess you have discovered that there is the Search content part http://www.phpwcms-docu.de/index.php?searchcp
However, its functionality leaves much to wish for. At present you cannot limit the search to only certain sections of your site, and the order in which results are returned seems to follow no useful rule. It really is very basic. The only improvement to this is a mod that highlights the search term in the results if it happens to be in the portion of text that is displayed http://www.emediafabrik.de/index.php?de_pro_mod_somp (The instructions after download are in English).
Of course one of your criterias you could have sorted if you set up categories for your media releases (e.g. new category each month).

Otherwise I would also only know of the keyword field and the {RELATED} tag that you suggested unless someone else has got a good suggestion. Best would be of course to programme something yourself that fits exactly your needs, or you might be able to find some external scribt.
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

use this
http://www.wwwsearchsolutions.com/google.php

you can configure this to do site search only

see it in action on this site
http://www.expats-in-bavaria.com/es/search/

the search is configured to search the site only... and it is phpWCMS driven

TriP
Post Reply