Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Preview: SlideshowPro Module


Go to End


70 Posts   21749 Views

Avatar
bod

Community Member, 72 Posts

8 December 2009 at 10:54pm

Edited: 09/12/2009 10:45am

Looks like you might be publishing to AS3? If so the code you need is different, see below

import net.slideshowpro.slideshowpro.*;

var my_ssp:SlideShowPro;

var paramObj:Object=LoaderInfo(this.root.loaderInfo).parameters;

for (var param in paramObj) {
	if (param=="ImagesPath") {
		my_ssp.xmlFilePath=paramObj[param];

   }
}

HTH :)

Edit: Ooops missed a bit when c&p earlier, sorry half asleep, the import net.slideshowpro line..!

Avatar
MrPepperoni

Community Member, 3 Posts

20 August 2010 at 11:10am

Hi UncleCheese,
Just wondering if you're aware of any known issues with this module and SilverStripe version 2.4.1.

I've had two problems:

1. The configuration tab for a SlideShowPro page is blank
2. The Slideshow doesn't open because the XML isn't coming through. If I try to open the XML link directly in the browser, I see an error page.

I've installed the latest versions of all your modules from SVN.

I have another install on version 2.3.4 that works great using the same host (GoDaddy).

Thanks!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

20 August 2010 at 11:57am

Hi, MrPepperoni,

What do you mean by "see an error page?"

Avatar
MrPepperoni

Community Member, 3 Posts

20 August 2010 at 1:24pm

Sorry for not being more specific. When I open the XML -http://mysite.com/slideshow/xml- in the browser, the server is not returning the slideshow data. It does set the content type in the header as text/xml, but the data is just a SilverStripe error page:

Website Error
There has been an error

The website server has not been able to respond to your request.

Avatar
iroy2000

Community Member, 15 Posts

2 November 2010 at 5:21am

I'm new to this module and have a hard time doing slideshow pro integration.

And reply to Blo's method ( 2nd last of the page )
http://www.silverstripe.org/all-other-modules/show/5860?start=48

I downloaded the "slideshow pro for flash 197 Trial", and after the extract, I didn't see any FLA file inside?? ( I only see extension .mxp file )

So, it will be appreciated if there is any help for this. Thanks a lot.

Avatar
yug

Community Member, 17 Posts

15 March 2011 at 1:40pm

Hi Uncle Cheese

I assume you know this but you can get the standalone .swf of ssp to work by adding this to the javascript file

// SWFObject embed
var flashvars = {
loadParams: "true",
xmlFilePath: "$ImagesPath",
xmlFileType: "Default",
paramXMLPath: "/slideshow_pro/templates/param.xml", //go to wherever you want
initialURL: escape(document.location),
ImagesPath: "$ImagesPath",
startAlbumID: "album-8"
}

Go to Top