Search content part hack help needed

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Search content part hack help needed

Post by Nik2004 »

Hi,

I want to do some hacking on the search content part to make it behave correctly when searching entries in the greek language. Can someone please give me information/documentation on how "search" is programmed in phpwcms, so I can locate the associated code and make changes?

In fact, I want to define "equivalent characters", so that search locates words correctly no matter whether characters are capital/lowercase or accented/not-accented in the Greek language. Where and how should I do it?

My site is http://www.unborn.gr

Please help.
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

search for these files

inc_front/content
cnt13.article.inc.php

include/inc_tmpl/content
cnt13.inc.php, cnt13.list.inc.php

include/inc_lib/content
cnt13.readform.inc.php
cnt13.sql.inc.php
cont13.takeval.inc.php

TriP
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

Greek support done

Post by Nik2004 »

Thank you for your invaluable help.

I have managed to make things work great in Greek.

I have also done some code changes to make some categories unsearcheable (I don't want the search system to search articles in there).

So again thanks.

If anyone is interested in the code changes I did, you are welcome to ask me and I will post the changes here.
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

If you package this up
you can add this to the sourceforge project here

https://sourceforge.net/projects/phpwcms-addon/

this will help keep versions uptodate
TriP
Post Reply