Elxis CMS Forum

Support => General => Topic started by: armpouniotis on October 02, 2007, 03:41:15

Title: About search results
Post by: armpouniotis on October 02, 2007, 03:41:15
Hi there !

how can I fix the results in search, because they always show me something like (/SectionCategory). The separator should be (Section / Category)

Thanx in advance
Chris
Title: Re: About search results
Post by: datahell on October 02, 2007, 08:09:35
It has been fixed in 2008. It is in many places in 2006.x. You should modify the CONCAT in database queries ( be careful ! ). Look at search bots and do replacements like this:

instead of this:
. "\n ".$database->_resource->Concat("'/'", 'u.title','b.title')." AS section,"
write this:
. "\n ".$database->_resource->Concat('u.title',"'/'",'b.title')." AS section,"

etc