Closed (fixed)
Project:
Menu Views
Version:
7.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Mar 2013 at 15:42 UTC
Updated:
25 Jun 2013 at 17:00 UTC
I tried using the token [menu-link:node:nid] as an argument but this doesn't seem to work. The view always renders as if no argument was passed.
Comments
Comment #1
markhalliwellCan you send screenshots of the menu configuration and view's contextual filter configuration, this isn't a lot of info to go off of.
Comment #2
markwittens commentedI already uninstalled and deleted the module so that won't be possible. It is a very simple case however: a view with as argument the curent nid, if tested in the view it works. This view is attached to the menuitem, the menuitem gets the token as an argument. If the token is used it doesn't work, if the nid of the node is used it works.
Comment #3
markwittens commentedComment #4
markhalliwellI see the problem in the code (http://drupalcode.org/project/menu_views.git/blob/refs/heads/7.x-2.x:/me...). It's using the
link_pathof the menu item instead of the menu view'soriginal_path(this change was introduced in the 2.x branch). I'll have to refactor this section of code.Comment #5
markhalliwellFixed in commit f8d375e.