Closed (fixed)
Project:
Panels
Version:
6.x-3.0-beta2
Component:
Panel pages
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2008 at 17:37 UTC
Updated:
11 Aug 2009 at 20:09 UTC
I try to create a panel page to override the default taxonomy term page, but after adding taxonomy view , there is nothing showing up in the panel pages.
I set the panel page name as taxonomy_term_override and set context > argument as taxonomy term, in the pop up window set argument type to taxonomy id and select a vocabularies. then add content such as taxonomy term view.
Comments
Comment #1
sidharth_k commentedI am not able to override taxonomy too. This is a critical, show stopper bug for me unfortunately.
Please help !! :-)
Comment #2
phpgeek commentedsubscribed - i got same problem.
Comment #3
moonray commentedSame problem here. Getting a blank page.
On the panel's content page I get the following error:
Comment #4
guillaumeduveauDuplicate of #316253: Broken arguments : Taxonomy term, Vocabulary ID, Node add form and Node edit
Comment #5
SlipAngel commentedI am also unable to override this. Spent hours experimenting with no effect. The node does not seem to be recognizing the term ID in arg(2) as an argument, as the resultant page displays the default Panel Page title.
This problem may be much deeper, as the built-in taxonomy replacement field also does not recognize arg(2) as an argument, as the page title is blank on the resultant page.
It seems that argument handling is spotty when dealing with anything deeper than arg(1). Any ideas?
Comment #6
wgrunberg commentedPanels 3.0-beta2 does not allow a taxonomy term overwrite (taxonomy/term/%) and returns a "That path is already in used. This system cannot override existing paths." error.
Could Pathauto be interfering?
This is critical to my site and I would rather not go back to Panels 2.
Comment #7
wgrunberg commentedMy bad!
There is now a "Or customize a system page..." section on the main Panels 3 admin page which allows one to overwrite Node, Taxonomy, and User views.
Sorry, I didn't scroll down far enough.
Comment #8
gorav.singal commentedEven by customizing system page, it is not allowing to override term pages.
Any Help will be greatly appreciated.
Comment #9
Mike_Waters commentedI am having the same issue; the taxonomy term template override is just not working. The default taxonomy term page is displayed.
The taxonomy term page handler is not being set correctly by Panels, I do not know why.
I have been able to hack this into functioning by manually changing the handler for the taxonomy term page in the database. Your mileage may vary.
Overview: change the taxonomy term page's handler to ctools' term_view plugin, instead of the default taxonomy.pages.inc:
"This plugin overrides term/%term and reroutes it to the page manager"
Steps: (I would use phpmyadmin or another graphical tool for the following)
- find the entry in the `page_manager_handlers` table for the taxonomy term template ("term_view_panel_context" in my db); note the 'task' field ("term_view" in my db).
- find the install location of the ctools module in your system, and note the relative path to the 'term_view.inc' file.
ex: "sites/all/modules/ctools/page_manager/plugins/tasks/term_view.inc"
- find the entry for 'taxonomy/term/%' in the `menu_router` table; edit it.
- change the 'page_callback' field to "page_manager_" plus whatever was in the 'task' field (ex: "page_manager_term_view")
- change the 'file' field to the relative path to ctools' term view handler (ex: "sites/all/modules/ctools/page_manager/plugins/tasks/term_view.inc")
- save the record.
- profit.
HTH
Comment #10
merlinofchaos commentedWhen you changed it, what was already there?
Comment #11
Mike_Waters commentedpage_callback: taxonomy_manager_term_page
file: modules/taxonomy/taxonomy.pages.inc
It just occurred to me that the Taxonomy Manager module might be the villain here; I do have it installed.
I wonder if it's a module weight thing?
Comment #12
merlinofchaos commentedI wouldn't say *villain*, per se, but Page Manager will not override the page if another module has already overridden the page. Your direct database manipulation will fail the next time the menu is rebuilt (which will happen whenever you visit the admin/build/modules page). The current -dev is a bit more kind about notifying you that it won't override a page.
There are two solutions:
1) Disable taxonomy manager
2) convince the author of taxonomy manager to use the page manager API to cooperate and let page manager take over the page if it's there. This can be easy or hard depending on what taxonomy manager needs to do.
Comment #13
Mike_Waters commentedThis "fix" is proving to be unreliable. It works, and then doesn't. I hope my analysis helps to find a solution.
Comment #14
Mike_Waters commentedOK, disabling and then uninstalling Taxonomy Manager fixes the problem.
Comment #15
Mike_Waters commentedLOL thanks, this is closed, I'll make a post in the taxonomy manager's issue queue.
Thanks for your authoritative answer....