Indexed and organized keyword list on search page Indexed and organized keyword list on search page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Indexed and organized keyword list on search page

Started by Stramm, April 28, 2006, 12:49:29 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Stramm

Same small hack... check the attached pics and you know what it's doing

Installation: Download the attached zip, extract it, upload keyword.inc.php in your include dir overwriting the existing file

Beyond_Doubt

Thank you for this.
Nice and easy, and looks nice.

Beyond_Doubt

Hi,

This appears to be causing an error

Browser Type : Safari 2.0.3
Error: NSURLErrorDomain:-1011 which prevents the page loading

This apparantly is a browser error when it gets served a form it can't understand.

Other installations of coppermine in the same place, but without this hack in place, do not give the same problems.


Any thoughts, or suggestions?

Stramm

try emptying the cache and clearing the history

flogghe

Thanks, works fine

I have quite some keywords. Is there an option to use wordwrap? If you look at my site http://www.ibiblio.org/maritime/photolibrary/search.php, you notice that you have to scroll horizontal. Is this because of the code or is this a theme issue?

Kind regards,
Frederic
Kind regards,

Frederic Logghe
Webmaster MaritimeDigital Archive
http://www.ibiblio.org/maritime

Stramm

easy to change, just chose another delimiter
find ~line 23
define("DELIMITER", " | ");
and modify it to your needs, eg
define("DELIMITER", " | ");

flogghe

Kind regards,

Frederic Logghe
Webmaster MaritimeDigital Archive
http://www.ibiblio.org/maritime

redlock

hi,

it works fine,
but the german letters for example Ä, ß ... are not supported.
In the orginal file they are supported.

thanks for help.

redlock

Stramm

search for
strtolower
and replace it with
utf_strtolower

redlock


majay

Thanks for this mod!

Is there a way to allow a line feed (or carriage return, not sure what it's called) of the keywords list instead of having one line only?

Nibbler


majay

Oh I see, I didn't realise flogghe's question was about the same problem as me. Thank you.

eka

Thanks Stramm.
It worked wonderfully on my site.
Thank you so much.

eka

Hi Stramm,

Just trying to figure out - what comes under the numerals 1-9 which also is in the list of keywords.
Does it mean, if I type in any numeral from 1 to 9 as keyword for any album, the album will be listed under 1-9 ?

Thanks.

kad75

#15
Hello,

I have many keywords (>4000).

It's possible to only put :

A/B/C/D

and no

A/B/C/D
with
A ...
B ...
C ...
D ...

look my exemple. Thank you  ;)

[Edit GauGau] Replaced hotlinked images with attachments [/Edit]

Heroe

Hi Stramm,how to make the cyrillic letters grouped in the search list,at the moment all my keywords are cyrillic and they appear grouped in  "1-9" i want to have а.б.в.г.д too if its possible ??? Do you know how ?

Stramm

in the code find
if (($word < "A" or $word >"Z")) {

and change it to your needs (starting and ending cyrillic char)

find
$index_list .= spacer($oldword, strncasecmp("Z", $word, 1));

change Z to ending cyr. char

that should do I guess

Heroe

Thanks stramm i did exactly what you wrote in yr last post the result is; now on my search list i have just "1-9" ;(   

jakob.b

First I like to thank you Stramm for this nice plugin.

After appying the Security release cpg1.4.2, the plugin is gone. The keywords are just displayed in the old way, in the pluginmanager it still shows as installed with the only option to delete.

Is it save just to delete and reinstall? Do I have to do that after each update? Or did I do somthing wrong?

Thank you, Jakob