Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-05 02:06:38

scott.blanding
New Member
Registered: 2008-02-05
Posts: 6

Slideshow Pro/Slideshow Pro Director with Textpattern

Hello there,
I’m trying to insert a slideshow pro album onto my TXP site and have been having a hard time figuring out how to go about.

I was wondering if anyone who had had any luck with it could help give me some pointers.

I have both Slideshow Pro and Slideshow Pro Director.

Offline

#2 2008-02-05 07:37:29

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

I do it all the time. Just taking the children to school and then I’ll post a brief how-to.

Offline

#3 2008-02-05 08:36:56

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

1. Read http://slideshowpro.net/downloads/userguide/ssp/SSP_Customization_Guide.pdf page 15
2. put <script type=“text/javascript” src=”../js/swfobject.js”></script> in the head of the page
3. Create custom field to hold Album-ID

then something like:

<txp:if_custom_field name=“album-id”>
<div id=“flashcontent”> This text is replaced by the Flash movie.
</div>
<script type=“text/javascript”> var so = new SWFObject(“http://www.website.com/swf/home.swf”, “mymovie”, “550”, “353”, “8”, “#F0F7F8”);
so.addVariable(“xmlfile”, “http://www.website.com/ssp_director/images.php?album=<txp:custom_field name=“album-id” />”); so.write(“flashcontent”);
</script>
</txp:if_custom_field>

Now when you create an article put the album ID number in the custom field and the slide show will display on the site.

Any problems let me know.

Offline

#4 2008-02-08 16:13:09

scott.blanding
New Member
Registered: 2008-02-05
Posts: 6

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

Hey lee,
Great thanks for helping me out.

I had a couple quick questions. Hopefully they aren’t too brainless, I’m still a rookie with textpattern.

When you say “in the head of the page” for step “2.”, do you mean right after the header code in the actual ‘page’ section of TXP? The reason i ask, this is what the code for my ‘photography page’ looks like as of now:

<txp:output_form form=‘header’ />

<txp:article form=‘static_article’ />

<txp:output_form form=‘footer’ />

Or would it need to go in a ‘form’? or somewhere else?
___

Secondly where does second chunk of code you wrote up go (the code following “then something like this:”)? I’m assuming in an article?

Thanks again for the help..

Offline

#5 2008-02-08 18:32:22

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

Hi Scott,

When you say “in the head of the page” for step “2.”, do you mean right after the header code in the actual ‘page’ section of TXP? The reason i ask, this is what the code for my ‘photography page’ looks like as of now:

I mean in between the html tags <head></head>

Secondly where does second chunk of code you wrote up go (the code following “then something like this:”)? I’m assuming in an article?

In an article form

If you need any more help just ask

Offline

#6 2008-02-11 21:25:32

scott.blanding
New Member
Registered: 2008-02-05
Posts: 6

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

Now when you create an article put the album ID number in the custom field and the slide show will display on the site.
_______

What should the code written in this article look like?

Offline

#7 2008-02-11 21:37:54

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

When I say article I’m really referring to the write tab.

Offline

#8 2008-02-12 00:14:52

scott.blanding
New Member
Registered: 2008-02-05
Posts: 6

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

I’m sorry, I’ve been really hard to understand I’m sure. Let me attempt to tell you what I’ve done and where I am now, and maybe they’ll be something you notice that I’ve done incorrectly.

I read the customization guide and added the new params the html doc that I published with SSP for Flash, I also gave the compenent instance a unique variable name, created a new layer and wrote the instructed ActionScript.

I uploaded the swfobject.js file (from Geoff Stearns) to my server and inserted

<script type=“text/javascript” src=“www.womeninwarzones.org/swfobject.js”></script>

in between the <head> tags on my web site.

Then I created a custom field entitled ‘album-id.’

Next, I wrote the following in the write tab to create an article:

<txp:if_custom_field name=“album-id”>
<div id=“flashcontent”>
</div>
<script type=“text/javascript”> var so = new SWFObject(“http://www.womeninwarzones.org/WWZslideshow.swf”, “WWZslideshow”, “550”, “400”, “8”, “#F0F7F8”);
so.addVariable(“xmlfile”, “http://www.womeninwarzones.org/ssp_director/images.php?album=1<txp:custom_field name=“album-id” />”); so.write(“flashcontent”);
</script>
</txp:if_custom_field>

However, no slideshow appeared. Any ideas?

Thanks again for your patience with me..

Offline

#9 2008-02-12 01:40:56

scott.blanding
New Member
Registered: 2008-02-05
Posts: 6

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

I just figured out what I was doing wrong. Thanks a million lee.
It’s working now.

Offline

#10 2008-02-12 07:15:49

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

Nice to help someone, I’m usually the one asking questions. Like your site, it fits the disturbing and sad subject perfectly.

Offline

#11 2008-02-12 23:12:22

scott.blanding
New Member
Registered: 2008-02-05
Posts: 6

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

thanks lee. i appreciate it.

hopefully i’ll be able to help someone out on here someday too.

Offline

#12 2010-06-03 21:41:29

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: Slideshow Pro/Slideshow Pro Director with Textpattern

I was having trouble with my SlideShow Pro movie not viewing in pages not Home (default). One issue was that the web service provider I had selected (SiteGround) did not work well with this application. (They were of little help, to be honest. Their solution was to upgrade to a very expensive service.) I then tested my script/tag in my other web host account (Jumpline.com) and after some work it worked! The problem was the xml path attribute within the Flash movie (via the Components Inspector). It needed to be an absolute path to work. (And for it to work with SiteGround, I had to use absolute paths within the images.xml file.) And I used the standard kml tag of:

<txp:kml_flashembed publishmethod=“static” fversion=“7.0.0” movie=“http://www.mywebsite.org/myfolder/gallery/slideshow.swf” width=“508” height=“220” quality=”@high@” targetclass=“flashmovie”> </txp:kml_flashembed>

This was quite the headache. Now all views.

Last edited by laptophobo (2010-06-03 22:51:48)


Living the Location-Independent Life: www.NuNomad.com

Offline

Board footer

Powered by FluxBB