7911 Posts in 1354 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » ImageGallery Caption with Multi line!!
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 375 Views |
-
ImageGallery Caption with Multi line!!

21 August 2011 at 9:32pm
hi, I am using the ImageGallery with Fanceybox . What i am trying to do is make the Image caption has more then one line.
Is there a way to advance the caption section so it can take Links & Multi lines..
Thank you
-
Re: ImageGallery Caption with Multi line!!

23 August 2011 at 1:32am
I might just decorate the ImageGalleryItem class with a new function:
function MultiLineCaption() {
return nl2br($this->owner->Caption);
}--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com
| 375 Views | ||
|
Page:
1
|
Go to Top |

