WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Not allowed to add subpage (7 posts)

  1. dexter_12
    Member
    Posted 1 year ago #

    After upgrading to new version of NG gallery, when I'm creating new page in "Manage gallery", it's not able to add subpage, only Main page...

    For example, I have page hierarchy like this:

    Photo gallery
    - sub gallery 1
    -- 04.02.2013.
    -- 10.02.2013.
    -- 14.02.2013.
    - sub gallery 2
    -- 05.06.2012.
    -- 04.12.2012.
    - sub gallery 3
    -- 01.02.2011.

    Now when I want to create new page, in drop down menu I have only this "Main page (No parent)" instead all pages that I create before...

    This is before and after.

    Is it some bug in new version or ...??

    NextGEN Gallery, Version 1.9.12
    WordPress 3.5.1.

  2. 2cats
    Member
    Posted 1 year ago #

    I am having the same problem with a site currently in local development. This is a real problem as the parent page is visible only to logged-in users, thus protecting all of its sub-pages. Any ideas? Many thanks!

  3. Andy Smith
    Member
    Posted 1 year ago #

    This has happened recently, presumably after updating the plugin to the latest version.

    I can still add to other pages in version 1.9.10 on a different website, so something appears to have happened in 1.9.11 or 1.9.12

  4. fedorcumkin
    Member
    Posted 1 year ago #

    Hi. I had the same problem.
    I deleted a new version of Nextgen Gallery (1.9.12) and loaded a version 1.9.9 and the problem were solved.

  5. Ben90
    Member
    Posted 1 year ago #

    We're having the same problem. Hopefully the developers will release a fix soon!!

  6. Ben90
    Member
    Posted 1 year ago #

    For reference, running NGG 1.9.12, WP 3.5.1 (Multi Site install)

  7. Houfton
    Member
    Posted 1 year ago #

    I have found a way to solve this using a little hack. In wp-content/plugins/nextgen-gallery/admin/manage-images.php look for "parent_dropdown".

    In my latest version of NextGEN Gallery it is wrapped in a conditional clause:

    <?php if (get_post()): ?>
    <?php parent_dropdown (); ?>
    <?php endif ?>

    Removing or commenting out the "if" and "endif" lines seems to make it work but I am not sure why the conditional is there (it is not in an earlier version of NextGEN Gallery) so there may be issues with my hack?

    <?php //if (get_post()): ?>
    <?php parent_dropdown (); ?>
    <?php //endif ?>

Topic Closed

This topic has been closed to new replies.

About this Topic