Hi I am using Node Gallery 7.x-1.1 and colorbox 7.x 2.8
The images load in the color box and so. For some reason I cannot get the [file:field_file_image_title_text] to show in the color box (this is the Title of the image ).. all of the other tokens work fine!
Please for any advice, thanks
settings shown in the attached where I have a test with the [file:type] which works.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | node_gallery-copy_manage_items_title_to_file_title-2410385-3.patch | 941 bytes | masipila |
| vkfile.jpg | 42.32 KB | vidyaratha |
Comments
Comment #1
masipila commentedI'm having the same issue. Subscribing.
Comment #2
masipila commentedI investigated this a bit and I believe that the reason for this behavior is as follows:
I believe the best way to fix this issue would be to make sure that we copy the Title value to both Gallery Item node (this is what is already happening) and to the File title field.
Cheers,
Markus
Comment #3
masipila commentedPlease find attached a patch against the latest 7.x-1.x-dev
With this patch, the *file titles* will be overwritten wit the titles from *Manage Items* form. After this, the file titles are no longer empty for newly uploaded images and therefore [file:field_file_image_title_text] token will return a value.
Note that if you go to edit an individual Gallery Item Node and change the title, it will not update the file title.
Cheers,
Markus
Comment #4
killah89 commentedHow did you make it to work with colorbox? I follow the instructions here: https://www.drupal.org/node/1913810#comment-9368113
Can't get it to work. I uninstall Node Gallery and reinstall the 7.x-1.0 because before i had 7.x-1.1. Still it dont work.
Can anyone help me? Colorbox only appear on sngle file display, not in gallery. I mean "/file/number/" then colorbox open on click.
Sorry for my bad english hope someone can understand me.