forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: wirewolf on January 23, 2007, 04:27:31 am

Title: Adding keyword select function to editOnePic and editpics
Post by: wirewolf on January 23, 2007, 04:27:31 am
In upload.php is the function to add keywords from the keyword_select.php pop up (clickable in to the keyword text box). Is there a way to add the same funtion to editOnePic.php and editpics.php?
Editing the language file to change
Code: [Select]
$lang_editpics_php 'keywords' => 'Keywords', to
Code: [Select]
'keywords' => 'Keywords (separate with spaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', is easy, but how would you add the function to editOnePic.php and editpics.php so the keyword(s) are inserted into the text boxes?

wirewolf
Title: Re: Adding keyword select function to editOnePic and editpics
Post by: Bergami on November 07, 2007, 05:59:27 pm
I need this function too in the editOnePic.php. Has anybody a solution for me please?!
Title: Re: Adding keyword select function to editOnePic and editpics
Post by: Nibbler on November 07, 2007, 07:45:28 pm
It's not that easy. See http://forum.coppermine-gallery.net/index.php?topic=44971.0