[Plugin: NextGEN Gallery] PAGE LINK TO… not working from album page
-
Okay I have a problem that has me completely stumped, particularly because it appeared to work when I initially set it up but now nothing is working. I hope someone might be able to help.
Here is what I am trying to accomplish; I have a standard album which displays groups of galleries using the default extended template. No problem there. For a few of the galleries I have additional information that I want to put on the gallery page. So, I used “Add Page” to create a custom page for the album and modified the page with the additional information. Still no problem, I can call up the page and it displays as expected with the new information and gallery photos. Now the problem, even though the gallery has the “Page link to” set to my custom page, it will not display that page when I click on the gallery within the album page. It always displays the page using the default “gallery.php” template.
Here is what I have verified…
- The custom gallery page is coded correctly and displays the correct information when called directly.
- The gallery has the “Page link to” set to the custom page (I’ve done this several times just to be sure).
- The database “ngg_gallery” table has the correct “pageid” set for the custom page
- There are no stray templates or filters installed
And here is what is special about my site…
- I have a couple of custom NextGen templates stored in my theme directory under “<theme>/nggallery” but nothing for the “album-extended.php” template.
- I use non-default locations for my content and plugin directories (and have for years) but have never had issues with that before.
- I have a “wp_reset_query()” in my “header.php” because something is corrupting my “$post” variable (probably a plugin somewhere).
- I have the “NextGen”, “Event Calendar”, and “TubePress” plugins installed and active.
- Everything in the template is pretty standard and I did a fresh install of 3.0.1 before starting this project
I am at a loss as to what the problem may be and could use some advise. I tried stepping through the code with debugger but since I am using NetBeans with its infamous debug crash problems I haven’t been able to get very far. I am still developing this site and it is running locally so I can’t provide a link to the code.
Ron
- The topic ‘[Plugin: NextGEN Gallery] PAGE LINK TO… not working from album page’ is closed to new replies.