Topic: Multigallery & "Gallery XML not found" problem


I use to svBuilder v. 2.1.2 (standard version) and I try to create a multimedia gallery.

In index.php (main file) I have:

  case '1': $strona = "gallery/gallery.php" ; break;
  case '1c': $strona = "gallery/gal_03/index.php" ; break;
  case '1c1': $strona = "gallery/gal_03/album_01/index.php" ; break;
  default: $strona = "main.php";
include $strona;

In file index.php (folder gallery/gal_03/album_01) I have:

    <script type="text/javascript" src="gallery/gal_03/album_01/svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">    
    var flashvars = {};
    jQuery(document).ready(function () {
    SV.simpleviewer.load('sv-container', '600', '480', '808080', true );
    <div id="sv-container"></div>

The cases '1' and 1'c' are working corectly, but the case '1c1' doesn't work.
This error message is "Gallery XML not found".

Where is a problem?

(sorry for my english)

Re: Multigallery & "Gallery XML not found" problem

If you want to use flashvars, then you'll need to include them as a parameter in the embedding code, ie. use:

SV.simpleviewer.load('sv-container', '600', '480', '808080', true, flashvars);

See here for details: … tml#params

Steven Speirs
SimpleViewer Support Team

Re: Multigallery & "Gallery XML not found" problem

It's works.
Thank You so much.

Best regards,