Active
Project:
Rabbit Hole
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2016 at 11:11 UTC
Updated:
14 Apr 2018 at 06:01 UTC
Jump to comment: Most recent
For me this module is not working. I tried page not found and redirect for a taxonomy vocabulary but its still showing the default taxonomy page.
I also tried the module "Disable Term Node Listings" which is working and showing a 404 page. But i would love to have a redirect like its provided by this module.
Any suggestions? Im using the latest Drupal version 7.41 and the latest dev of this module.
THANKS ALOT :)
Comment | File | Size | Author |
---|---|---|---|
termnotworking.png | 129.94 KB | MickL |
Comments
Comment #2
olofbokedal CreditAttribution: olofbokedal at Odd Hill commentedPerhaps you've got a view which overrides the taxonomy/term/% path? I'm pretty sure that Rabbit Hole won't work in those cases, since it's not the default page callback that is being used to display the term.
Comment #3
MickL CreditAttribution: MickL commentedI dont see there is something like this activated. I also checked Panels and deactivated Display Suite. Are there more modules to check for?
I also figured out that it doesnt matter if there is a url specified(/customurl) for a term or no url specified(taxonomy/term/%id).
Comment #4
olofbokedal CreditAttribution: olofbokedal at Odd Hill commentedAny module that changes the way how terms or entities overall are displayed. Rabbit Hole might not function at all if any module overrides the regular page callback.
Could you open the database and have a look in the menu_router table? Check the value of page_callback for path "taxonomy/term/%":
SELECT page_callback FROM menu_router WHERE path = 'taxonomy/term/%'
Comment #5
MickL CreditAttribution: MickL commentedGood idea! but Its only showing: taxonomy_term_page
I tried it out for nodes but its also not working.
Comment #6
olofbokedal CreditAttribution: olofbokedal at Odd Hill commentedStrange. My guess is still that there's another module which is interfering with Rabbit Hole. It's hard to guess which one though. Perhaps you could provide further details of your site? Anything that might be interesting in order to reproduce this error.
Comment #7
olofbokedal CreditAttribution: olofbokedal at Odd Hill commentedClosing this since I'm not able to reproduce. Please re-open if the problem still persists and you can provide further information.
Comment #8
MickL CreditAttribution: MickL commentedYes it still persists. I dont know how i could export my active-modules-list. The module is not working for taxonomy terms, but also not working for nodes. I had Panels and Display Suite installed but they are disabled.
Isnt it possible to force rabbit hole redirects? Like i the module "Disable Term Node Listings" is working fine.
Comment #9
neograph734@MickL did you try this as user 1?
I ran into a similar problem and found this issue. By default, Drupal grants the admin user all permissions regardless of the checkbox values on /admin/people/permissions. There is also the following permission:
Basically, if you try this as user 1 the redirect does not work (is bypassed). (That is a neat feature as it allows you to still edit the node as administrator.) Perhaps you should try it with a different user?
Comment #10
olofbokedal CreditAttribution: olofbokedal at Odd Hill commentedClosing this since no other users has reported any similar behavior.
Comment #11
anybodyI can confirm #9 was also the reason in my case! Thanks! :)
Comment #12
anybodyPS: Would it make sense to display a message for users if they are bypassing the behaviour? Shell we add a feature request for that? It might save us a lot of time...
Comment #13
anybodyPS: Would it make sense to display a message for users if they are bypassing the behaviour? Shell we add a feature request for that? It might save us a lot of time...
Comment #14
cubeinspire CreditAttribution: cubeinspire commentedI also had the same issue and is not straightforward if the redirection doesn't work for that or another reason. I think a drupal_set_message if User 1 is skipping the redirection would be a great benefit (for one line of code).
Comment #15
lukasss CreditAttribution: lukasss as a volunteer commentedI also lost a lot of time with it.
#9 works for me.
At least you need to add information about this in the README
Comment #16
anybodyComment #17
marttir CreditAttribution: marttir at Avoltus Oy commentedAs stated above, this issue will occur if any module sets taxonomy term page callbacks after rabbit_hole runs. In my case, the culprit was taxonomy_display.
Here's a workaround for getting rabbit_hole to work with taxonomy_display:
Comment #18
RAWDESK CreditAttribution: RAWDESK commentedBoth "Disable Term Node Listing" and "redirect RH" didn't work for me, until I followed this :
https://www.drupal.org/node/1905320#comment-7041304
/admin/structure/views/view/taxonomy_term/edit -> disable entire view or each view display separately
Comment #19
webczarina CreditAttribution: webczarina commented