WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Album showed twice, bugfix not working (2 posts)

  1. prom
    Member
    Posted 4 years ago #

    Hi guys,

    I have a problem on a page I'm working on:
    http://megistyle.com/?page_id=6

    As you can see the album is showed twice. I've applied this:
    http://code.google.com/p/nextgen-gallery/source/detail?r=558
    but nothing changed.

    And in my version of the plugin there were about 100 lines more code above shown in the above link so I suppose the bugfix is a little bit old.

    I really need to finish the page in the next 12 hours so any help will be highly appreciated! :)
    Thanks in advance!

    Lubomir Varbanov

  2. prom
    Member
    Posted 4 years ago #

    The problem I found is that for one album tag the nggGallery::render is somehow called twice but one of the times the html is intended to stay in a html comment. But in the album-compact.php there a re two comments and the first one terminates the major comment and reveals the following duplicated html. That's why I deleted the comments in album-compact.php but this is just a temporary fix. Why is the same html printed out twice and one of the times in a comment?
    If I want now to use the extended form I should do the same :)

    Any better idea?

Topic Closed

This topic has been closed to new replies.

About this Topic