forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: skywoolf on July 26, 2006, 04:44:34 pm

Title: I need to use , instead of space to separate keywords.
Post by: skywoolf on July 26, 2006, 04:44:34 pm
I want to use Coppermine but I need it to integrate with other databases.  One of the most important uses 8 character codes that sometimes include spaces.  I overcame this wil a simple gallery script by changing the script where it used the "explode" function,  changing the character  between words to be , instead of space. So I then enter keywords like AMG 05AL, KIA 06MA, HOND06AC  etc

This works while only admin can enter keywords but will not be ideal if galleries are made public.

I could use other fields for this code but then could I search using those keywords?

Any suggestions would be very much appreciated. ( I am a beginner with PHP and MySQL)
Title: Re: I need to use , instead of space to separate keywords.
Post by: Nibbler on July 26, 2006, 04:59:03 pm
You can add it as a custom field - you can search on those too.
Title: Re: I need to use , instead of space to separate keywords.
Post by: skywoolf on July 26, 2006, 05:11:54 pm
Thanks I will try that.