Postponed (maintainer needs more info)
Project:
SlideShowPro
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2008 at 21:04 UTC
Updated:
2 Apr 2009 at 14:40 UTC
I am creating a content adding form for my back-end to add properties. I own Slideshow Pro and Director so I have no need to use the cck imagefield or the drupal backend to store my photos; SSP Director automatically creates the thumbnails galleries etc. More importantly the xml feeds are created too, which I simply need to add that feed address to the SSP "Params" field.
Should be a fun night!
I am going to try out a few different methods and see if I can get anything functioning ... I will report back here on my progress.
P.S. Has anyone else attempted to integrate Slideshow Pro, Director and CCK in this way??
Comments
Comment #1
Macronomicus commentedI took the easy way out and simply made a cck field in which you enter the url to the xml file produced by SSP Director. Then I created a node template with contemplate added my embedding code there and added the cck hooks for the field with the xml url in it.
In your SSP instance within flash you add this actionscript to frame one... It sets up the variable to connect the player to any director xml address you send it.
my_ssp.xmlFilePath=xmlfile;Then name the instance on the stage my_ssp save and export.
Then in your embedding code within your node template add the "flashvars" param with the "value" being a php hook to the field you created in your cck form for entering the xml address... My hook was as follows.
<?php print $node->field_lead_gallery_xmlfile[0]['view']?>You could just as well place a conditional statement around the whole embed script so if your not calling an xml file than the player doesn't show. I didnt need that functionality though as I want the player on every page of this node type with a default gallery if none has been supplied. Which I handled with a default value in the cck form.
I still have to get a nice instructional block which has a few buttons and launches director in pop-up or something, so that someone can upload images in context of creating an instance of that content type, in this case adding a property.
Seems like it may be a waste as drupal has an image functionality but i already had director and its sweet, full of ajax and whatnot and only 25 bucks... hope this helps if someone else is attempting the same thing.
Comment #2
Macronomicus commentedClosing this now as I have found the work around.
Might want to drop this in the docs in case someone also buys director from the SSP folks (which most do). This gives them a way of automating the view of SSP and utilizing the SSP Director, as the image base.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
Macronomicus commentedDoes anyone want to add this to the docs for SSP Integration before it disappears in the issues log? Or I could do it if you give me permission; I could clean up the steps and make it short and sweet. Just a thought...
Josh
Comment #5
B-Dot commentedHi Josh,
I was very happy to stumble upon your post, because I am trying to integrate SSP and SSP_Director with Drupal.
I'm having some difficulty getting this to work, perhaps because I'm not that familiar with CCK and Contemplate. If you have a moment to revisit this, perhaps we can emerge with the "short and sweet" outline you mention above - I'll certainly help in whatever way I can.
I follow the part about adding the code the the FLA file and exporting. I presume one then uploads this SWF to Drupal's Files directory?
I'm confused about the CCK/Contemplate part. I've got both installed. Do I also need the Drupal Slideshowpro module?
Can you list the correct steps, with a bit more information, that one needs to take to get this to work?
Thanks,
Barnaby
Comment #6
elephantix commentedhi
sorry but i´m in ugly need in a little bit more detailed explanation. i justs tryed to follow your steps but didnt get the exat way from the embedding code graph on. could you please give me some more advice to that and if it should also work within drupal 6.8 ?
thanks
carsten
Comment #7
elephantix commentedhi i also try to get that to work so - did you find a way to get it to work ? i would be happy if you could give me a bit support with your solution.
thanks in advance!
carsten
Comment #8
attiks commentedHere's how I did it.
1/ Install the module as described in the readme
2/ Add 3 new fields (sspalbumid, sspwidth, sspheight) to the content type (for example page), see /admin/content/node-type/page/fields
3/ Goto /admin/content/node-type/page/display and mark those field as Exclude
4/ Create a node-page.tpl.php (base it on node.tpl.php) and add the following code, it assumes ssp_director is installed in the root