upgrading simpleviewer to version 2?

hi all, i'm trying to upgrade simpleviewer, wich is used in the Effervescence+ theme, to version 2 pro.

version2 uses a xml-file (gallery.xml) for its configuration. My trial&error method doesnt work this time, simpleviewer cannot find gallery.xml
I think i need some help from mr. Angoulvant or Billard!

This is how it works local:

`


var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.allowfullscreen = true;
params.allowscriptaccess = "always";
params.bgcolor = "222222";
swfobject.embedSWF("simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);

`
It would be great to get this working, while simplviewer-pro includes a very wysiwyg-editor for simpleviewer, it gereates the gallery.xml file.

Thanks a lot in advance

Comments

  • Has simpleviewer obsoleted the `xmlDataPath` variable? Perhaps that is just changed to the galleryURL parameter. If so, just set that variable to `$flash_URL`. Otherwise I have no idea. The XML is generated on-the-fly so there is no `file` available.
  • hi Sbillard, thanks for your reaction.

    Yes the xmldatapath has changed into the galleryURL parameter.

    what do you mean by 'generated on-the-fly'? i have uploaded that xml file in the same directory. the xml is generated on the desktop.
  • You mean that you are providing your own version of that file rather than having Zenphoto (EF+) create it? Then I do not understand what the issue is.
  • thats correct. i'm trying to embed simpleviewer pro V2 into zenphoto...
  • Then you must use the proper path to the file. That would, of course, depend on where you put it. But an qualified filename would not likely work.

    Of course you realize that if you are using simpleviewer pro for your gallery you don't really need zenphoto.
  • ? no of course i dont, i want to use simpleviewerpro only for viewing the images with flash, the rest, and thats a lot, is in the hands of zenphoto.
  • So, then why are you not having EF+ generate the HTML? Otherwise you will have to sync your gallery.xml file to any changes in your gallery. That is why EF+ works the way it does in the first place.
  • it took some time, but finally i understand what you are saying.
    Thank you sbillard, i will hire a developer to make the swf the way i want, and use version 1.9, cause they dont supply the sourcecode with version 2.x
Sign In or Register to comment.