10930 Posts in 2613 Topics by 1810 members
|Go to End||Next >|
19 April 2013 at 6:08am
iHI to get the previous and next buttons in the colorbox
add this -
just after -
hope this helps
19 April 2013 at 8:04am
Thanks Dave and Dazman1
I have incorporated both your suggestions to no avail,
The gallery works fine , just no slideshow or prev / next buttons.
I still feel there is a conflict between the various jquery `s
19 April 2013 at 9:02am
Not sure if that will help you or not Mike.
20 April 2013 at 5:29am Last edited: 20 April 2013 5:30am
>no slideshow buttons, no previous / next buttons on full size image( is there meant to be? if not there should be)
Just tested with SilverStripe 3.1-beta3, default simple theme and cwsoft-foldergallery v2.7.1. Everything works as intended. Just for clarification: The "prev/next" buttons are only shown in the jQuery ColorBox preview. If a user hits the "full-scale" button (arrow up icon) in the Colorbox preview (at the bottom right), a full-scale image is shown in a new window without any navigation. The idea behind the "full-scale mode" was to offer an option to download an image in full-scale (right mouse click), not to offer another navigation layer.
>The gallery works fine , just no slideshow or prev / next buttons.
>to get the previous and next buttons in the colorbox add this - rel: 'gal', just after -escKey: true,
To my understanding, this shouldn't be required, as all images shown on a gallery page have a rel="album" attribute in the image tag and the $("a[rel='album']").colorbox ... jQuery call should capture the group, while the flag "arrowKey = true" should force the buttons to show up. At least it works for me with Firefox 20.0.1 and IE 10.
In case you have a link (URL) to a live site for testing, would be great if you could post it here so I can have a look what might go on.
20 April 2013 at 8:00am Last edited: 20 April 2013 8:02am
The updated package can be downloaded from my GitHub account. Would be great, if you could test and report back if the new version works better in case you experienced issues with last stable 2.7.1 version. In case this fixes the issues, I will release an update cwsoft-foldergallery version.
20 April 2013 at 8:31am
Thanks for the replies Dave and Cwsoft
I am away for the weekend, but I will try the updates and upload it all next week and will report back
24 April 2013 at 5:17am Last edited: 24 April 2013 5:18am
I have got the gallery, including the slideshow and my header working,
I installed your updates ( database rebuild error...`db must be public`in foldergallery page, I deleted `private` in lines 17 - 22
the database then rebuilt ok)
which bit has done the trick, I know not, but everything works just fine
The only problem to solve is that the foldergallery thumbnails on the default settings overlap the white background and each other
I have tried adding extra margins and padding to the foldergallery.photo and .img but so far, the layout breaks
Thanks cwsoft and Dave for your help
24 April 2013 at 5:50am
@oldwrinkly: thanks for your feedback
>I installed your updates ( database rebuild error...`db must be public`in foldergallery page, I deleted `private`
Damn, forgot that changing db public to db private as required for SilverStripe 3.1 breaks SS 3.0.x installations.
Seems I have to maintain two branches for my module now, one for SS 3.0.x and one for upcoming 3.1.x branch - grrr.
>which bit has done the trick, I know not, but everything works just fine
>The only problem to solve is that the foldergallery thumbnails on the default settings overlap the white background and each other
Have you adapted "cwsoft-foldergallery/templates/Layout/cwsFolderGalleryPage.ss" to macht your template as described here? If yes, what browser and template are you using? Can you share a link (URL) to a live site so I can have a look on whats going on?
|Go to Top||Next >|