Member
Member
Herr   09-01-2010, 13:17
#1

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

Member
Member
sbillard   09-01-2010, 18:30
#2

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.

Member
Member
Herr   09-01-2010, 20:29
#3

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.

Member
Member
sbillard   09-01-2010, 22:04
#4

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.

Member
Member
Herr   09-01-2010, 22:28
#5

thats correct. i'm trying to embed simpleviewer pro V2 into zenphoto...

Member
Member
sbillard   09-01-2010, 23:44
#6

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.

Member
Member
Herr   10-01-2010, 01:47
#7

? 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.

Member
Member
sbillard   10-01-2010, 03:17
#8

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.

Member
Member
Herr   10-01-2010, 22:31
#9

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.