Closed (fixed)
Project:
Slideshow Creator
Version:
6.x-1.32
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
13 Jan 2007 at 16:26 UTC
Updated:
29 Jan 2009 at 13:05 UTC
Josh Ferry contacted me on email saying:
Hello,
First I would like to thank you for your contributed module "Slideshow
Creator". I have created CCK nodes and am using contemplate as well and I
am having a lot of trouble with the slideshow. I can't seem to figure out
how to get the slideshow to display with the javascript so that the
pictures will automatically transition rather than it breaking down and
showing next and previous buttons. In the readme it said that I needed to
use php but I was reading on issues for the module that this still does not
enable javascript. Is it going to be possible to have the automatic
transition slideshow on a cck node?
----------------
massa
Comments
Comment #1
brmassa commentedJosh,
correct me if im wrong: you want a automatic rotation AND not showing the next/previous buttons? well, there are two diffent thigs:
1* on a testing node, type it
and see if shows the Drupal and MySQL images. if does, your site support nicely the module!
2* to hide the buttons, change you theme CSS. using the same exemple above, put this on you CSS
It should hide the commands, title and description, showing only the slideshow images
did worked?
best regards to all in japan!
massa
Comment #2
orionvortex commentedThe images will show up but there is no transition from one image to the next. I can see the next picture if I hit the next button but the entire page has to be refreshed. Is there something I am doing wrong here?
You speak Japanese Massa? Most people have no idea what hiragana even is so I was shocked to hear you say something about it.
Comment #3
brmassa commentedJosh,
1* i just updated the module. give another try and them give me a feedback.
2* what drupal are you using? 4.7 or 5?
3* if its not doing the automatic rotation, iits because there is some problem with javascript. your browser acept javascript (IE has a few issues about JS)?
4* i used to speak japanese. But by now, i badly can talk to a child. he he! and before you ask me, massa is an italian surname.
best regards,
massa
Comment #4
brmassa commentedComment #5
(not verified) commentedComment #6
bsonnich commentedHello,
I've set up a CCK node where my content contributors can upload multiple images in the "Slideshow Images" field. In my content template I've put the following code where I want the slideshow to apper:
When I visit the page there is nothing displayed and no JavaScript errors. When I view the source the following line has been added and appears to be correct:
Is there some additional code I need to add to my template to indicate where to display the slideshow?
Comment #7
bsonnich commentedI'm sorry if I'm doing this the wrong way. I'm not sure what the protocol is for posting to support forums.
Comment #8
bsonnich commentedOne more update, on further inspection the JavaScript code being generated is not adequate. It's only recognizing the first of the multiple images in that Slideshow Images field.
Comment #9
brmassa commentedBrendan,
thanks for reporting. your code has 2 bugs:
1* each slideshow image must start with "img=", so you must code as
if($ss_counter) $images .= ", img=";2* you are not printing the result. you should code
print slideshow_creator_process_text('[slideshow: 2, rotate=2, name=fv_slideshow, img='.$images.'] '); ?>i recommend to only print the slideshow_creator_process_text IF there is at least one image. add an if clause to verify this.
test this and report if it worked!
regards,
massa
Comment #10
bsonnich commentedThat worked excellently!
Here is the completed code which is in my content template.
Comment #11
brmassa commentedComment #12
killes@www.drop.org commentedComment #13
rimma commentedGot an error use above code Fatal error: Call to undefined function slideshow_creator_process_text()
Comment #14
rimma commentedi found if I use _slideshow_creator_process_text() , it works (difference is _ in front of it )
Comment #15
irishgringo commentedbtw, I have the latest 6. something version of slideshow.. as I am running drupal 6.8
I am using cck, and contemplate. with the slideshow
i setit up, and I can get the test block to work in a blank page.
so I try to do some test stuff in contemplate using this function: slideshow_creator_process_text
and I completely crash contemplate. Cant even get back in with out using mysqladmin to cut the code that I entered.
I am on a fresh copy of drupal 6.6 with the latest slideshow creator.
I want to create a slide show of my imagesfields... and no luck so far.
is there a document that discusses and API or somethign like that?
also, is there an alternative that turns the imagefield into a slide show?
Comment #16
simakas commentedFile: slideshow_creator.admin.inc
$form['layout'] = array(..)
Forgot to add 'none' => t('None'), it leads to many problems, trying to find how to hide those annoying buttons.
Simon