PDA

View Full Version : Search Results Problem


AppleSound
01-Sep-2004, 02:34 PM
We use a lot of HTML within product description to control layouts. e.g. bulleted lists.

However, when we use the search page on v7 the HTML appears in the search results.

How do I get rid of this?

For example try:

www.applesound.co.uk/acatalog/search.html

Search for: CHIAYO

TraceyG
02-Sep-2004, 09:30 AM
Hi,

I've been able to recreate the problem in a default store so I've put the issue through to our development team. I will post their reply once I hear back from them.

TraceyG
02-Sep-2004, 01:08 PM
Hi,

This looks like a bug in the software that does not like certain embedded HTML tags :( . I tried it by using just <font> tags and the description in the search results displayed fine.

I think at the moment I can only suggest that you do not display the product descriptions in your search results until we get this problem fixed. To turn it off, go to 'View | Search Settings | Search Results | untick 'Product Description' box.

I've asked the development team if there is a workaround for this problem.

TraceyG
03-Sep-2004, 01:43 PM
Hi,

We've got a fix that should enable this to work properly now. Browse to the site folder (usually 'c:\program files\actinic v7\sites\site1') and locate 'ACTINIC.pm'. Open this with a text editor such as notepad and search for:

while ( $sString =~ m/(.*?)!!<(.*?)>!!(.*)/ )

which will be located in 'sub ProcessEscapableText'

replace this with:


while ( $sString =~ m/(.*?)!!<(.*?)>!!(.*)/s )


Save and close the file and then upload your site.