Hi Kris Vanderwater,
Can you add the caption in the lightbox2??
You just have to add in the "imagefield_gallery_lightbox2.module" file at the line 374:
$output .= 'nid .']" title="'.$images[$i]['title'].'">';
It will help us a lot.
Thanks...
Hi Kris Vanderwater,
Can you add the caption in the lightbox2??
You just have to add in the "imagefield_gallery_lightbox2.module" file at the line 374:
$output .= 'nid .']" title="'.$images[$i]['title'].'">';
It will help us a lot.
Thanks...
Comments
Comment #1
kobee commentedScuse me, I can't edit my post??
Ok, so the line of code is:
$output .= '<a href="'. $imagecache_path .'" rel="lightbox['. $node->nid .']" title="'.$images[$i]['title'].'">';Thanks.
Comment #2
eclipsegc commentedThis is fixed in 5.x-1.2
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
kobee commentedThanks,
Now I have 2 questions:
1/ On the line"Click the images below for BIGGER versions:" , can you replace By :"Click the images below for larger versions:" ?? It's more "english" ...
2/ With the caption for Lightobox2, can you add a "checkplain" function or something like that, because, when you enter quotes tag ("") so it's not appear in the caption of the lightbox...
Comment #5
shepherdjack77 commentedHi
I have to admit I am pretty new to Drupal but was trying today to change the "Click the images below for BIGGER versions:" message and found if you look in the "imagefield_gallery_lightbox2.module" file on line 365 you will see the following code:
$output .= '<span class="gallery_text">'. t('Click the images below for bigger versions:') .'</span>';If you change the text it will be displayed on your site instead of whats shown above.
If you want to remove it completly simple delete this line of code, or to be safe comment it out and save the file!
Hope that helps!
Comment #6
shepherdjack77 commentedComment #7
eclipsegc commentedCompletely the wrong way to do this, this is inside of a theme function and is meant to be overridden, NOT HACKED. Learn about theme functions.