Closed (fixed)
Project:
Panels
Version:
6.x-3.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 May 2009 at 13:27 UTC
Updated:
11 Feb 2019 at 16:20 UTC
Jump to comment: Most recent
Delegator module is unable to override taxonomy/term/% because some other module already has overridden with taxonomy_manager_term_page. Delegator will not be able to handle this page.
The module taxonomy manager provide a view only for administrations.
taxonomy_manager.module line 104
/**
* Implementation of hook_menu_alter
*/
function taxonomy_manager_menu_alter(&$callbacks) {
$callbacks['taxonomy/term/%']['page callback'] = 'taxonomy_manager_term_page';
}
Comments
Comment #1
merlinofchaos commentedThis is not a bug. Delegator is trying to be nice and cooperative and not break other modules by not taking over pages if some other module is doing so.
Comment #2
CarbonPig commentedAny idea which module is doing this? I would like delegator to handle taxonomy terms views. I have no knowledge of which other module is controlling this....
thanks,
CarbonPig.com
Comment #3
gorav.singal commentedI'm also facing same issue. I want to override taxonomy/term/% but not unable to do this.
Please provide a solution for this.
Thanks in advance.
Comment #4
merlinofchaos commentedIt tells you the name of the function that's currently there, and that function name *should* contain the module name.
Comment #5
bennos commentedThis is fixed by the new taxonomy manager module version 2.
Comment #6
lameei commentedI'm not using taxonomy manager and i still get this error!!! The error is:
Page manager module is unable to enable taxonomy/term/%term because some other module already has overridden with
Which module is causing this?
P.S : This happened after updating to latest version of panel and ctools.
Comment #7
bennos commentedthis issue depends on the taxnomy manager module. at this point it is fixed with the new version of the taxonomy manager module.
the same message appears with several other modules like the
http://drupal.org/project/taxonomy_breadcrumb
just disable the modules and panels will overwrite the taxonomy path. Also the views modules provides an old style taxonomy term page like taxonomy/term/%. Just deactivate it.
please use the search over the issues, there are several other post with the same problem depending on other modules.
Feel free to open a new issue.
Comment #8
1davor commentedI have similar problem:
Page manager module is unable to enable taxonomy/term/%term because some other module already has overridden with i18ntaxonomy_term_page.
Does anyone have solution? I need this urgently. (I can't deactivate i18n modules, I need them)
Ok. I commented this lines in i18ntaxonomy.module (105-107):
$items['taxonomy/term/%']['module'] = 'i18ntaxonomy';
$items['taxonomy/term/%']['page callback'] = 'i18ntaxonomy_term_page';
$items['taxonomy/term/%']['file'] = 'i18ntaxonomy.pages.inc';
and now it's working. I don't have a clue for what these line are. :)
Comment #9
bennos commentedin drupal you have a lot ways for a solution.
PAnels and overwriting the via panels the taxonom term pages is one way.
The page manager looks for functions that are also override the internal path taxonomy/term/%.
If there is an other module, panels warns you and deactivates the panels page for taxonomy/term/%.
In the code lines above, there is page callback to the taxonomy/term path.
Comment #10
merlinofchaos commentedMake sure you have the latest i18ntaxonomy -- I think I've heard that they've set up workarounds for this.
Comment #12
AntiNSA commentedTaxonomy Sifter Interferes with this too. I have disabled Taxonomy Sifter.
Comment #13
R.Hendel commentedWe have same problem getting error message "Page manager module is unable to enable taxonomy/term/%term because some other module already has overridden with i18ntaxonomy_term_page."
We are using actual version of Taxonomy translation: 6.x-1.1
Any ideas?
Thanks in advance,
Ralf
Comment #14
sdboyer commentedThis isn't a problem with Panels, or ctools (where it technically should be filed). Either Taxonomy Translation has to play nice with Page Manager, or it won't work. There's nothing we can do; you've gotta file the issue over there.
Comment #15
kars-t commentedJust to mention:
If I activate the Views default terms page override this happens as well and $items['taxonomy/term/%']['page callback'] is empty and leads to a uninformative error message.
I wonder if it wouldn't be better if panels provided a settings page for variable_get('page_manager_override_anyway', FALSE); or maybe forced setting for any path found in use?
Comment #16
jlyon commented+1 for this.
It took me a while to figure out this error message, since there was no callback function displayed in the error message because views was over-riding the function. Even after I disabled the taxonomy_term view, I was getting this error. I finally hard-coded a temporary
variable_set('page_manager_override_anyway', TRUE);right above line 92 in term_view.inc and that seemed to do the trick.Comment #17
kompressaur commentedsorry i finally sorted mine. It was the default taxonomy term View that was causing the probs. soz
Comment #18
srsbl commentedThere's a patch that seems to solve this. See http://drupal.org/node/698942.
Comment #19
stratejist commentedHi, albatros where is this Code ? I dont find . Which module in ? Views, Panels or another ?
Comment #20
bennos commentedthis patch
http://drupal.org/node/698942#comment-2553836
Comment #21
g76 commentedI had the same issue and a fix:
The culprit could simply be the taxonomy term view. You must Clone default Taxonomy Term View and then disable the original. In the clone delete the page display as it is what takes over the path. If the page display is not removed from the clone, you will not be able to enable Panels Term View Panel and you will get the error.
Hope that helps.
Comment #22
zach harkey commented@g76: YES!
I pulled my hair out trying to figure out why I couldn't enable the taxonomy term template. I disabled every module with taxonomy in its name and still could not enable the template until I found your comment.
As g76 points out, if the default taxonomy_term view is enabled, the Page display must be removed before you can enable the taxonomy term template. You don't even need to clone the view, it's enough to just Edit the default view and remove the Page display, or you can revert and disable it altogether.
I originally thought the taxonomy_term view was required by the Panels taxonomy term template but it works fine without it. So I think the only reason to even enable this view would be if you needed to change it in some way, in which case, your first change should be to remove the Page view.
I wonder if it would be possible for panels to provide its own view modify the error message to include instructions
Comment #23
baff commentedHierarchical Select overrides too
Comment #24
naero commented@ Zach Harkey:
Yes - your solution was exactly what I needed. Many thanks!
Comment #25
nightlife2008 commented#22 @ Zach Harkey: did the trick indeed!
Comment #26
baff commented#21 worked -thanks
Comment #27
g76 commentedI'm glad that helped, I think I actually did pull my hair out on that one before I figured it out:)!
Comment #28
funana commentedRan into the same problem today and I didn't have to clone and delete the view, I just changed the paths in page settings from
taxonomy/term/%intosomething-else/taxonomy/term/%Then I could keep the the displays and add a content pane display to the view.
Thx to davidwhthomas' comment here.
Comment #29
summit commentedHi,
I also have Page manager module is unable to enable taxonomy/term/%taxonomy_term because some other module already has overridden with taxonomy_server_term_page.
Isn't there some function where you exactly can see which other module is ovrriding?
greetings, Martijn
Comment #30
sketman commentedI was able to manage this with Page Manager Existing Pages module. This module overrides practically any existing page which has specified a path.
I had a problem with Media Gallery module, which dissallowed me to enable the core Page Manager taxonomy page. So I just Installed above mentioned module and overrided path"taxonomy/term/%taxonomy_term".
Comment #31
charchas commented.