Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

[SOLVED] Issue with Hierarchical Pages plugin


  #1  
Old Oct 27, 2013, 07:23 AM
RHCdG
 
170 posts · Nov 2009
Netherlands
Hi,

As of recently, whenever I click on a menu item (page) in any of the menu widgets that I have, the child and parent pages open not only within that menu widget (which is what they should do) but in all menu widgets. I disabled all plugins but that did not help. I know I tinkered with the PageNavi plugin but I deleted that one altogether. Other than that I don't remember doing anything major except for upgrading to the new WP version, 3.7.

I left a support request on the plugin support page but have not received a response. I know this is is not an Atahualpa problem per se but you guys always provide such great support; would you care to take a quick look, and click on any of the menu items in the left hand bar (skip the top two as they don't have child pages)? The address is http://www.cornetsdegroot.com/
I appreciate!

Best,
Rutger
  #2  
Old Oct 27, 2013, 08:24 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is the exact item to click on? I don't quite understand the issue. When I click on say 'De kunst van het falen (’78)' only it shows with children
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by lmilesw; Oct 27, 2013 at 02:13 PM.
  #3  
Old Oct 27, 2013, 08:34 AM
RHCdG
 
170 posts · Nov 2009
Netherlands
Hi JD,

Right, it shows with children but it does so in all the menu widgets. The language (Dutch) doesn't make it easier but e.g. 'De kunst van het falen' has the following 6 children:

Nawerk
Inleidend
Over Gresshoff en Elsschot
Over Den Haag en Rodenko
Over het schrijven als levensproces
Recensies van ‘De kunst van het falen’

Now, if you look under the other menu widgets, you will see that these 6 children are displayed at the bottom of all menu widgets. That should not be, and it never was; they should only open below the respective parent page in the respective menu widget...

Thanks, I knew I could count on your help!
  #4  
Old Oct 27, 2013, 08:54 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Ah, now I see. I didn't notice they weren't indented.

I'm sure this is going to be another WordPress 3.7 bug (excluding menu items from a category menu doesn't work because of a WP 3.7 bug)

What menu widget are you using?
(note: I am going out on a date day with the wife so it will be a number of hours before i reply)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 27, 2013, 01:20 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
The top menu widget (this is all regardig the left hand menu bar only) is Menu 1 (Page Menu), the widget below that is just Links, and all the other ones are from the Hierarchical Pages plugin. Does that help? And can I downgrade without losing any settings, and would that recover the issue for now?
Hope you had a good Sunday, I had one myself!
  #6  
Old Oct 27, 2013, 03:16 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can downgrade as long as you did a database backup before you installed P 3.7...you did do a backup right?

You would restore your database and get a copy of WP 3.6.1 and manually replace everything in the WP folder EXCEPT for wp-contents and wp-config.php

The Hierarchical Pages Widget plugin only states it is compatible up to 3.4.2 so that might be the problem. In my test using two 'custom menu' widgets, I see no problem.

You are going to have to
1) wait till the plugin author fixes it or
2) revert to 3.6.1 or
3) find a different plugin
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Oct 27, 2013, 06:01 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
I did back-up but since then I uploaded a lot of stuff, which I would lose when I downgrade, no?
Thanks again for your support, JD!
  #8  
Old Oct 27, 2013, 07:47 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Yes - if you restore to a prior point in time (the point where you made the backup) everything from that time forward would be lost.

You could look into the plugin's code (or get someone to do it) to see if there is a fix that can be made to it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Oct 27, 2013, 07:55 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You know, this could be tied to the other bug in WP so try this. You have to edit wp-includes/taxonomy.php and find the line
HTML Code:
$excluded_children = array();
it should be line 1365 - and change it to
HTML Code:
$excluded_children = $exclude_tree;
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Oct 27, 2013, 08:04 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
Ah bummer, I would have so much liked this to have worked... Unfortunately, it doesn't.
If you would want to look further into this, I would be happy to agree on a fee. Let me know...
  #11  
Old Oct 28, 2013, 06:44 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what settings do you have in the widget?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Oct 28, 2013, 08:27 AM
RHCdG
 
170 posts · Nov 2009
Netherlands
Show siblings to the current page? Yes
Always show top-level pages? Yes
Show the static home page? (always shown if it has child pages) Blank
Sort field: menu_order,post_title
Root page ID: blank

I don't think you need the other field values, right? Most of them are blank.
Thanks, JD!
  #13  
Old Oct 28, 2013, 02:44 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you have multiple occurances of the widget, how are they each setup? - understand, I've never seen this widget before so you have to explain so I can try and duplicate the issue.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #14  
Old Oct 28, 2013, 04:42 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
The setup is the same for all of them, the way I described in my previous response, except for the Sort Field, which is sometimes 'menu_order', or 'ID', or 'post_title'.

The top two widgets (START and CONTACT/VOLGEN) are not Hierarchical Pages widgets.
  #15  
Old Oct 28, 2013, 04:50 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
I just realized that you don't know this plugin, so have no clue what I am talking about, sorry about that!
I just took a screenshot, you can view the widget right here.
  #16  
Old Oct 28, 2013, 06:03 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Ok, I took some time and looked at this. It seems to me that this plugin was never intended to be used multiple times. Having it multiple times seems to introduce bug where it always displays the children of the current page.

It would probably take me several hours to review the code and figure out where the issue is.

If the author doesn't get back to you you might want to look at just creating a set of custom menu's
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #17  
Old Oct 28, 2013, 08:09 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
Re: "Having it multiple times seems to introduce bug where it always displays the children of the current page."

But this is exactly the idea of the plugin. And until last week, it worked fine. The problem is that it opens child pages in ALL of the menu widgets instead of in just the respective menu widget, i.e. the one that holds the parent page the user has clicked on.

I could create multiple custom menus but I don't think they would offer similar functionality, i.e. have child pages displayed in the respective menu upon opening their parent page. Or, would you have suggestions for me? I would appreciate, and I will let you go with thanks for all the effort you put into this.
  #18  
Old Oct 28, 2013, 09:24 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Like I said before, there may be a bug in WordPress. The plugin is using the same wordpress function that is causing problem when passed the 'exclude' option. In this case it is being passed the 'include' option. So maybe there is a tie in, but I don't know enough about what the function is doing to be sure.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #19  
Old Oct 29, 2013, 04:30 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
Hi again JD,
Just to follow up, I received a reply from the plugin author. He refers to this bug ticket, and advises that I either wait for a patch to 3.7 or to downgrade to 3.6.

Can I just ask you how long it usually takes before these patches are adopted?
The weird thing is I just uploaded so much stuff (mostly image galleries) to that website following the days of the upgrade to 3.7. It would otherwise have been no problem to downgrade. Or is there a way to save those new image gallery pages I created separately, downgrade to 3.6, and reupload the backup of those individual image gallery pages?
  #20  
Old Oct 29, 2013, 04:39 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
That is the same bug I gave you the patch for and the patch does nothing as you have seen for yourself. You might want to let the plugin author know that.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #21  
Old Oct 29, 2013, 05:10 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
I gave him the link to this thread, he may monitoring (but he's not fixing...)
I guess I'll sit it out and wait for the patch. Many thanks anyway, JD, for all the effort you put in.
  #22  
Old Oct 29, 2013, 09:13 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
Hi again, JD,

I am happy to tell you that the new 3.7.1 update has fixed the bug!

Best,
Rutger

Bookmarks

Tags
hierarchical pages



Similar Threads
Thread Thread Starter Forum Replies Last Post
Arrow issue for sociable plugin icon leandrobthomas Montezuma Theme 2 Dec 15, 2012 05:48 AM
A plugin issue using IE... ARealpolitik Atahualpa 3 Wordpress theme 12 Feb 23, 2012 08:30 AM
Unusual plugin/login issue jasonchamb Plugins & Atahualpa 7 Nov 8, 2009 02:19 PM
sliding panel plugin and ie css issue bushtool Header configuration & styling 2 Jul 6, 2009 10:52 AM
Creating hierarchical menus Eric Bobrow Page & Category Menu Bars 1 Jan 30, 2009 05:45 AM


All times are GMT -6. The time now is 11:40 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.