Active
Project:
Jquery Slideshow
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2010 at 08:24 UTC
Updated:
14 Jul 2011 at 10:45 UTC
I'm building a custom node-property.tpl.php file to display certain CCK fields including imagefields using the Jquery slideshow display. No matter what code I try though, I can't get the slideshow to properly show up. Following CCK documentation (http://drupal.org/node/92382), I've put the following in my custom tpl file:
<?php foreach ($field_property_main_pic as $property_main_pic) { ?>
<dd> <?php print content_format('field_property_main_pic', $property_main_pic, 'jqs__property_slideshow' ) ?> </dd>
<?php } ?>"property_main_pic" is the field name and I gleaned that the display name was "jqs__property_slideshow"...where am I doing this wrong?
There's also this documentation (http://drupal.org/node/158667) about theming imagefield fields, but it didn't help either.
Any help is much appreciated!!!
Thank you!
Comments
Comment #1
anniewang commentedBy the way, what happens with that code is that no images appear at all, and the rest of the tpl file continues outputting correctly.
Comment #2
tomfallowfield commentedI struggled with this for a while and ended up 'manually' building the HTML required to display the slideshow:
In my case, "field_images" was the field name and "experience_images" (don't ask) was the preset name.
Hope this helps
Comment #3
lalit774 commented