Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2011 at 13:24 UTC
Updated:
15 Oct 2011 at 20:11 UTC
Like many others in the past, I want to remove views menu tabs for all content types except one.
I tried to fiddle with the "Argument", but no success.
Before trying harder, I'd like to know if this solution applies to my problem.
The view lists nodes of type "oranges", and I want to show the menu pointing to this view only when I view a node of type "apples".
Is it possible ?
Comments
Comment #1
dawehnerJust one example #289451: Restrict tabs to certain content types
Comment #2
dropall commentedYes, I've seen this.
When I set the argument validator to "apples", I only see the tab on my "apples" node.
But when I click on the tab, I receive an empty list.
Do you confirm that setting the argument validator to "apples" and the filter to "oranges" should work ?
Comment #3
dropall commentedComment #4
merlinofchaos commentedYou possibly want to use the Global: NULL argument because I don't think you actually want the argument to affect your query, at least from your somewhat terse description.
Comment #5
dropall commentedSorry for my terse description. I suppose you'll feel better if I tell you I can't understand your answer. You won the terseness battle.
As for my problem, it is now solved by yet another module patch.
Thank you for the support.