ez projects / ntags / forum / general / tagging images during oe up...
You need to be logged in to post messages in the forums. New users may register here.
|
Member since: Posts: 171 |
Tuesday 07 July 2009 10:53:30 am Good idea, here is a patch for the upload.php view to support ezkeyword datatypes:
Index: ezoe/modules/ezoe/upload.php =================================================================== --- ezoe/modules/ezoe/upload.php (revision 33) +++ ezoe/modules/ezoe/upload.php (working copy) @@ -145,6 +145,10 @@ $content->setAttribute( 'alternative_text', trim( $http->postVariable( $base ) ) ); $content->store(); break; + case 'ezkeyword': + $newObjectDataMap[$key]->fromString( $http->postVariable( $base ) ); + $newObjectDataMap[$key]->store(); + break; case 'ezxmltext': $text = trim( $http->postVariable( $base ) ); include_once( 'extension/ezoe/ezxmltext/handlers/input/ezoeinputparser.php' ); The next thing you'll need is to override templates/ezoe/upload_images.tpl ( look for ContentObjectAttribute_caption, and add ContentObjectAttribute_tags for keywords ). This patch++ might show up in ezoe/trunk quite soon.. UPDATE: done http://issues.ez.no/IssueView.php?Id=15139&activeItem=1 -- |
|
Member since: Posts: 6 |
Tuesday 21 July 2009 12:40:55 am Awesome! Thanks for the prompt enhancement. I guess we can all look forward to version 5.0! :)
Leif Arne Storset |
You need to be logged in to post messages in the forums. New users may register here.