Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • me
    Participant

    That does it! Thanks for the rapid response and bugfix :)

    me
    Participant

    I am using Phamtom version 2.0.

    in reply to: No Galleries showed after updating plugin…. #3058
    me
    Participant

    I had this problem for my galleries (both on website and in preview box), and there were three causes:

    – SWF-based galleries needed a browser cache clear (e.g. Slider)
    – If there is an error in an early call to jQuery(document).ready(), later calls will not be executed. No previews were being shown because of a bug in my theme causing it to abort before executing the Gmedia code.
    – The photobox module v0.5 has a bug related to unmigrated settings (I assume). In the rendered HTML:

    jQuery(document).ready(function(){
    var data = null;
    data.content = [

    This causes an error (cannot set a property on null), and because of the second point above any gallery displayed after this one would also not display.

    This appears to be caused by the following lines:
    $settings = array_merge($settings, ...)
    var data = <?php echo json_encode($settings); ?>;

    To fix, set any setting in the photobox settings and save (it can be unset later) – this recreates the settings object internally.

Viewing 3 posts - 1 through 3 (of 3 total)