Not working on sub-pages

Forums Forums Slimbox2 plugin Not working on sub-pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #896
    matsie
    Member

    Hi,
    First the plugin is great.
    Second, I’ve got an issue when implementing it on WordPress while using qtranslate.

    It happens that the plugin-url for ‘slimbox2_autoload.js.php’ is not retrieved properly for multi-language pages (e.g. http://www.XXX.com/fr/index.php

    <script type=’text/javascript’ src=’http://www.XXX.com/wp-content/plugins/wp-slimbox2/javascript/slimbox2.js?ver=2.02′></script&gt;
    –> this is fine

    <script type=’text/javascript’ src=’http://www.XXX.com/fr/wp-content/plugins/wp-slimbox2/javascript/slimbox2_autoload.js.php?ver=1245843187′></script&gt;
    –> this is wrong: the sub-folder /fr/ should not be included.

    As I am not very much familiar with php it would be great if you could tell me WHERE and HOW to change the code in order make it work properly.

    Another minor issue is the auto-loading of jquery. As I load jquery – also for other plugins – via google, I don’t need to load it once again.

    If somebody knows how to eliminate this automatic loading fo jquery, I would appreciate it.

    Best regards,
    mat

    #6510
    malcalevak
    Moderator

    The two issues you mention are not the fault of the plugin.

    Please search the forums as the issue with qtranslate has already been addressed, simply switch one of the options.

    As for jQuery, the plugin doesn’t actually tell it to load, it tells WP to load it if it hasn’t already been loaded. If you’re getting it loaded 2x it means something else you’re using is forcing it to load – that is what you need to have fixed.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.