Hi! Maybe i'm just blind but i could not find a solution on how to add prev. next links to my slimbox gallery. I use the Gallery Package with the Slimbox Plugin and just want to have prev next links...anynone a suggestion? Here is my gallery call:
[[!Gallery? &album=`fotos` &loop=`1` &plugin=`slimbox` &limit=`32` &imageWidth=`800` imageHeight=`600` ]]
I'm using Modx Revo 2.2.4 with Gallery 1.5.2
Thank you!
[ed. note: flanger last edited this post 14 years, 3 months ago.]
found something:
changed /
core/components/gallery/model/gallery/plugins/slimbox.class.php
$scriptProperties['linkAttributes'] = $this->modx->getOption('linkAttributes',$scriptProperties,'').' rel="lightbox"';
to
$scriptProperties['linkAttributes'] = $this->modx->getOption('linkAttributes',$scriptProperties,'').' rel="lightbox[album]"';
Thank you for posting this. I am new to Modx and I have been struggling getting my gallery to work. You solved one of my many problems.
Wild Eagle Design
www.wildeagledesign.com
Thanks, it works for me too.
Cheers flanger and heather. This was just about to start annying me.
Thanx.
Got the multiple galleries up and running in Revo. Just changed [album] to [[+album]]
$scriptProperties['linkAttributes'] = $this->modx->getOption('linkAttributes',$scriptProperties,'').' rel="lightbox[[+album]]"';
To every Problem there is ModX Solutions