UDT php include, flash slideshow breaks

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
seh87

UDT php include, flash slideshow breaks

Post by seh87 »

Hello all.

I have a flash slideshow that I am attempting to show on my main page.  I am using CMSMS 1.5.4.

The slideshow is dependent on other files and after a few trials I decided it was simplest to leave it all in same directory and use a UDT with a php include and put that in the template.

When viewed separately both the .swf file and the .html file (that houses it) show the slideshow correctly.  However after going through the php include something breaks.  I have checked the URL, that is not the problem.  I have tried doing the include with the .swf file instead of the .html - that entirely breaks it.  The background color and slideshow controls show, just no images.  I have had other flash embedded on the page through a GCB, so I don't believe the file type is a problem.

Can anyone offer suggestions for what I should try next (or a better way to go about this)?

Thanks.

http://www.wku.edu/honors/cms/uploads/f ... eshow.html
http://www.wku.edu/honors/cms/
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: UDT php include, flash slideshow breaks

Post by Coldman »

Hi!

Checkout Viebig's Object tag
http://dev.cmsmadesimple.org/projects/objecttag
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
seh87

Re: UDT php include, flash slideshow breaks

Post by seh87 »

That seems to have the same/a similar issue.
If I put the .swf file as the source, it still only shows the background color and controls.  If I use the .html file it only shows a white/blank space (but still picks up that it should be flash in that space).

Any ideas what would cause either of these methods to not work correctly?
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: UDT php include, flash slideshow breaks

Post by Coldman »

Please show me how you used the Object tag?
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
seh87

Re: UDT php include, flash slideshow breaks

Post by seh87 »

This is the code that I used and then placed it in a GCB.

Code: Select all

<div id="slideshow">{object open=1 src='uploads/flash_slideshow_free/slideshow.swf' height='300' width='700' class='flashplayer' param='wmode::transparent' alt='Download Flash Player'}
<h1>Oops!</h1>
<p>It looks like you do not have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer">Click here</a> to go to Macromedia download page.</p>
{object close=1}</div>
If it is helpfull, the "slideshow" div is only:

Code: Select all

#slideshow{
   float:left;
   margin:0;
}
Coldman
Power Poster
Power Poster
Posts: 318
Joined: Sun Jun 22, 2008 5:33 am

Re: UDT php include, flash slideshow breaks

Post by Coldman »

Sry but I can't help you
I have tried to run your swf file on my test server. Unfortunately I cannot make it work

Hope someone else can help you.
Important Code of Conduct
Why don't use CMSMS Docs or search?
Do you read Help?
Admin for Swedish Translations Team
Moderator Swedish Forum
After your problem is solved, push the green button
seh87

Re: UDT php include, flash slideshow breaks

Post by seh87 »

You also have to have the xml file to run the swf.  You can find it here:
http://www.wku.edu/honors/cms/uploads/f ... deshow.xml

It tells the slideshow what to do and pulls the photos from an 'images' folder.
Locked

Return to “CMSMS Core”