Closed (fixed)
Project:
Node Comments
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2009 at 20:07 UTC
Updated:
15 Aug 2009 at 19:10 UTC
We have comments enabled on all of the content types on our site. All content types are being displayed through Panels 6.x-3.0-rc1. We installed Nodecomment 6.x-2.x-dev today and all of our Panels node overrides stopped working (instead the site just shows the default system node view page).
Disabling Node Comments seems to fix it. I thought at first it might be just pages that have comments showing as well, but I've confirmed that this happens when comments are not included in the page through Panels.
Not sure if this is a panels or a node comment bug.
Comments
Comment #1
friolator commentedI'm moving this over to Ctools, after reading the Panels issue linked below. I think I'm finally getting my head wrapped around what's handling what when ;-)
I'm wondering if it's related:
http://drupal.org/node/529182#comment-1849106 ...I ran the same query but on node/%:
SELECT page_callback FROM menu_router WHERE path = 'node/%';With Node Comment enabled, the query returns:
nodecomment_node_viewWith Node Comment disabled, the query returns:
page_manager_node_viewComment #2
merlinofchaos commentedAre you sure you're running the latest nodecomment 2.x dev?
There's no way nodecomment can be stealing the menu item away from page manager if you're up to date.
Comment #3
friolator commentedhmm. I downloaded it last week from here: http://drupal.org/node/472876 -- that's the one at the top of the list of all releases. The $Id at the top of nodecomment.module reads:
// $Id: nodecomment.module,v 1.3.2.15.2.17.2.35 2009/06/23 22:52:19 merlinofchaos Exp $but nodecomment_menu_alter() doesn't match what you posted:
Comment #4
friolator commentedBy the way, I just dropped in
<?php && !module_exists('page_manager') ?>where it was missing and it seems to have fixed my problem. But if there were other changes and there's a newer version I should be using, please let me know where I can grab it!Thanks!
Comment #5
merlinofchaos commented...apparently I did not commit that change to nodecomment module. Except I remember doing that. Sigh. Whatever happened. Sorry about that, it's committed now. The next rebuild will be at midnight, GMT I believe.
Comment #6
friolator commentedawesome. thanks!
Comment #7
vood002 commentedI have no idea what I'm missing here...I have node comments working nicely around the site, and I just installed Page Manager to install some panel pages. I haven't played around with anything past panels 2 so this is all unfamiliar territory to me, and I'm not planning on processing my nodes with page manager.
Upon installing Page Manager all of my node comments stopped working. I found this thread and was able to get them to work by commenting out the check you're talking about here...ie:
I'll just go forward like this for now...until i find myself in a position where I need to use page manager more than I currently do.
Is this a bug?
EDIT
My mistake...it wasn't commenting out that code that worked, I simply had to enable the node_view system page in page manager. Still seems like a bug to me...or perhaps something that should be mentioned in documentation.
Comment #8
merlinofchaos commentedBe sure you have the most recent dev. The last commit i made fixed this.