Active
Project:
Scald: Gallery
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2013 at 05:40 UTC
Updated:
22 Apr 2015 at 21:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gifad commentedIt's kind of a translation issue :
“it can be overriden locally” means that you must type manually the desired title for all the images of the gallery...
You can replace “type” by “copy/paste” using following steps :
Now, when editing gallery, the above defined “caption” should be ready for copying (see attached screen shot), so it's just 2 seconds per image...
Having a small “copy” button would be great, and perhaps easyer to implement than “use gallery-items tokens” in Galleria player settings.
((To be posted soon by jcisio
please open new issue and post a patch.
;))
Comment #2
jcisio commentedExactly! The proper fix will be token support in the Galleria player so that
1/ you don't have to modify the overridden title when you edit the atom title
2/ not only title but also description can use token: you can use a field on the atom as the gallery item description
Comment #3
gifad commentedI finally made a patch, but for my sandbox project “Scald Gallery Extras”;
Alternatively, the following snippet can be included in any enabled module, provided it executes after scald_gallery's sibling alter.
This could be a patch to scald_galaxy, if some one turns the issue status to “feature request” :)
Comment #4
gifad commentedArgh, jcisio posted #2 while I was typing
well, so #3 is a “temporary fix”...
Comment #5
dan_metille commentedThanks a lot to both of you. #3 with gifad Scald Gallery Extras did the work.
Would token support (#2) allow to link the author name to its taxonomy page, or is there maybe an other way to achieve this?
Comment #6
gifad commentedYou're welcome :)
Looking at my code, I realize it's not multi-language ready (and your site is);
You should probably substitute 'und' by something like $langcode = field_language('scald_atom', $atom, 'scald_authors');
Comment #7
svax commentedI would also like to see a better way to display the author when browsing the gallery. I'm currently using this patch, but I guess support for tokens would be a better solution.
Comment #8
nagy.balint commentedThere was some work on the authors in this issue: https://www.drupal.org/node/2428547 which is already in the latest release.
Maybe that version could be extended if further features are needed.