Topic: Change language: Open image in new window not possible #SOLVED#

Hi there,

I have the SV pro and installed it.

Now I want to change the text in the title but this does not work.

I have:

    <script type="text/javascript">
       
        var fo = new SWFObject("<?php echo WB_URL.'/modules/simpleviewer/viewer.swf' ?>", "viewer", "100%", "<?php echo $settings['galleryHeight']; ?> ", "8", "#181818");
        fo.addParam("wmode", "transparent");
        fo.addVariable("xmlDataPath", "<?php echo WB_URL."/media".$settings['imagePath']; ?>/gallery.xml");
        fo.addVariable("langOpenImage", "Open afbeelding in nieuw scherm");
        fo.write("flashcontent");   
    </script>   

In the view.php file.

The SV I use is installed as a module of Website Baker: http://www.websitebakers.com/pages/modu … viewer.php

Did I miss something?

Best regards,

Last edited by knert (2009-11-08 00:45:52)

Re: Change language: Open image in new window not possible #SOLVED#

Your code looks OK. Are you using the latest version (v1.9)? Version Number is in the 'readme.html' file..

Felix Turner
SimpleViewer Support Team.

Re: Change language: Open image in new window not possible #SOLVED#

Hi Felix,

Thank you for responding. Yessss now it worked. After reloading the CMS, deleting the CMS cache, Internet cache and rebooting the browser it finally worked.

Thanks for your answer. Now I (and others may be) know this is the right piece of code to use for entering another language.

Best regards,

Karel

Re: Change language: Open image in new window not possible #SOLVED#

Glad you got it to work. When updating files on the web you typically need to clear your cache to see the latest files.

Felix Turner
SimpleViewer Support Team.