I can’t for the life of me get SSP and swfobject to work in EE.
Once I can get it working without any dynamic information being fed to it, I’m hoping that the existing tutorials will work to get the slideshow working with a dynamic xml feed. Ultimately the goal is to have a slideshow for each weblog entry within a “graphics-projects” template group.
I’d really appreciate any help anyone can offer…
What i have currently is this template:
{exp:weblog:entries weblog="graphics-projects" limit="1"}
<div id="hero">
Alternate Flash Content
</div>
<div id="contentContainer" class="clearfix">
<div id="main">
<!-- a bunch of dynamic information here for the actual weblog post -->
</div><!-- end main -->
{/exp:weblog:entries}and this is in the head:
[removed][removed]
[removed]
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF("http://dykeman.dev/index.php/swf/ssp.swf", "hero", "930", "315", "9.0.0", false, flashvars, params, attributes);
[removed]The “ssp.swf” file has the following for it’s xml file path:
<a href="http://dykeman.dev/index.php/embeds/ssp_xml">http://dykeman.dev/index.php/embeds/ssp_xml</a>And the “ssp_xml” template (type: xml) looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<gallery>
<album lgPath="http://dykeman.dev/index.php/images/graphics-projects" tnPath="http://dykeman.dev/index.php/images/graphics-projects/thumb" title="Album title" description="Album description" tn="album1/preview.jpg">
crmLogo.jpg
crmPrint.jpg
</album>
</gallery>The album lgpath is correct in that there is a folder there with the listed images inside.
Everything looks right, however I just get a blank white screen where my images should be (see attached image).
I’ve been banging me head trying to get this to work. I can get it to work just fine outside of EE on just a static HTML site…