10929 Posts in 2613 Topics by 1809 members
|Go to End||Next >|
22 October 2012 at 1:26pm
Hope you don't mind, but I need to pick your brains,
I have a holder ss template which lists it's children both of which extend from the gallery page - how would I get the holder page to display the first image in the gallery for the child page as a thumb?
<% control getGalleryImages(1) %>
<% end_control %>
but no joy, any ideas? Do I also need to adjust the php Class for the holder template to create a relationship somehow or should just the right call in the .ss template work?
Thanks in advance if you can point me in the right direction
22 October 2012 at 10:54pm
<% control GalleryImages.First %>
works perfect - sorry it was late and my brain wasn't in gear. Carry on.
23 October 2012 at 8:51am
@ Optic Blaze - looks interesting, I'll take a your add 'enhanced version' soon...
Agree - a bulk way of a attaching existing images in the 'assets' area could be handy. I'll add that to the list of things to look at.
@MartinPhone - thanks for pointing out the links on SilverstripeResources.com, they're fixed now
@Bod - sorry, was away over the weekend, looks like you've fixed your probs?
30 October 2012 at 11:55am
First of all thank you for creating this module!
Everything works for me in the CMS, but the images are not displayed on the gallerypage that I have created. Am I missing something? Do I need to include a dynamic value in the content field that will display the images. Also the HTML shows me no output.
Please let me know when you need more details.
30 October 2012 at 12:05pm
Hi Wezzlee - first thing to check - did you run mysite.com?flush=all on your gallery page to make sure silverstripe is finding the gallery template?
if you view the source code you should at least see a div tag like this: <div id="galleryArea">... </div>
30 October 2012 at 1:43pm
getting this slideshow module to work with the default popup lightbox type behaviour has been simple enough, however I really wanted to have something a bit similar to Galleriffic, where you have a bunch of thumbs and a main image that changes. Getting the .ss parts in the right place seems ok, but I'm tearing my hair out when it comes to the formatting of it as it the typography css seems to just override some elements and ... well I guess it's all just CSS but the beautiful demos which come with pages with quite specific page and CSS structure I'm finding harder than I really should ...
Anyone have any tips when it comes to integrating another jqueryish slideshow with this module? Even just an approach would be good. I'm feeling a bit dumb.
30 October 2012 at 7:10pm
I integrated the prettyPhoto jquery lightbox plugin with the gallery that futureweb made.
31 October 2012 at 3:42am
I did a "?flush=all" for the homepage/ root and also for "admin/pages?flush=all" except for the gallery page. As soon as I am at home I will also run this for the Gallery Page. I will keep you posted.
|Go to Top||Next >|