1 (edited by koucki 2010-12-14 22:51:44)

Topic: Multiple galleries in drupal

Hello everyone,

I'm new to this forum and a new user of svbuilder-pro.
There's a simpleviewer already on a drupal page on our intranet. It's amazing & works great!!

Here's how it is added as a page:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="700">
          <param name="movie" value="_xmas2010/Dinner2010.swf">
          <param name="quality" value="high">
          <param name="xmlDataPath" value="_xmas2010/galleryDinner2010.xml">
          <embed src="_xmas2010/Dinner2010.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="700"></embed>

Note the following line to try and change directories and gallery name, hoping that it will pickup images from "galleryDinner2010.xml" as opposed to "gallery.xml"

          <param name="xmlDataPath" value="_xmas2010/galleryDinner2010.xml">

But the problem started when I added a new gallery as a new page in drupal. The issue is that the gallery name is not unique. So the swf file picks the standard gallery.xml file located in the root folder.
I tried to point the new swf to a different directory, but for some reason, it keeps defaulting to the main gallery.xml file.
Is there a way to download and the the filename in the FLA file?
Are there any other solutions to this?
Many thanks for your help.


Re: Multiple galleries in drupal

Nevermind :)

Just realized that there's a SWF module in drupal, and already has settings for simpleviewer.
Downloaded/installed it - working like a charm!
Found this link helpful too.

http://simpleviewer.net/simpleviewer/su … tml#drupal