Page 1 of 1

Page Component Problems - Probably Path Issues

Posted: 01 Aug 2007, 15:12
by kmmcdan
Hello,

I am working on a client's site.

For right now I am just trying to get the example1 (or example2 preferably) to work for the page component so that I can configure it from there.

I have changed the name of the upload folder to "photo" and I put the demoimages folder and the swfobject_source.js file directly within that folder.

But I am still getting only a white box on the page. Can someone take a look and tell me what I might have done wrong? I am pretty sure I have a path wrong somewhere. It always seems to be my downfall. :roll:

http://www.tibetanmastiffdogs.net/

Thank you for your time!
Kathleen

Posted: 01 Aug 2007, 15:28
by globetrotter
I think you are missing the variable configfile.

More Info about page component:
viewtopic.php?t=642

Posted: 01 Aug 2007, 15:40
by kmmcdan
Are you talking about the ss_pagecomponent.ini file? Because it was my understanding that you only needed that for examples 2-5. Example one has everything listed right in the page. I want to use that eventually but it won't help if I can't get example 1 up and running.

If that is not the variable config file you are talking about then I am not understanding what you mean.

Thanks
Kathleen

Posted: 01 Aug 2007, 15:52
by globetrotter
Yes, it should also work without the configfile.

Did you upload Imagevue completely to the photo directory?
And does the gallery works fine?

Or did you only upload the files for the slideshow?

Posted: 01 Aug 2007, 15:55
by kmmcdan
I did upload the full folder, only I renamed it to photo - but I did upload the entire thing. And yes, as you can see here:

http://www.tibetanmastiffdogs.net/photo/index.php

The example gallery does work. I don't know what it could be.

Kathleen

Posted: 01 Aug 2007, 16:00
by kmmcdan
Here is what I have in the body of the page:

<div id="slideshow">
Slideshow module here
</div>
<script>
var so = new SWFObject("photo/slideshow.swf", "mymenu", "400", "225", "7", "#FFFFFF");
so.addVariable('path','photo/demoimages/');
so.addVariable('autoscale','false');
so.addVariable('minmargin','0');
so.addVariable('startimage','false');
so.addVariable('backimage','false');
so.addVariable('framewidth','false');
so.addVariable('framecol','FFFFFF');
so.addVariable('innerframewidth','false');
so.addVariable('frameshadow', 'false');
so.addVariable('transition', 'fade');
so.addVariable('sfx', 'false');
so.addVariable('audio', 'false');
so.addVariable('showmaincontrols', 'false');
so.addVariable('altcontrols', 'false');
so.addVariable('imagepopinfo', 'false');
so.addVariable('showpreloader', 'false');
so.addVariable('showaltpreloader', 'false');
so.addVariable('showtimer', 'false');
so.addVariable('displayimageindex', 'false');
so.addVariable('displayname', 'false');
so.write("slideshow");
</script>

The only thing I changed on the example was the path to the slideshow.swf and the demoimages folder. The html page is at the root and all other files are in the photo folder. Am I missing something ridiculously obvious?

Kathleen

Posted: 01 Aug 2007, 16:25
by globetrotter
Try to add:
Code
so.addVariable('globalpath','photo/');

Posted: 01 Aug 2007, 16:44
by kmmcdan
I tried it but it did not help. But thank you for the suggestion! I have no idea what it could be.

Kathleen