Active
Project:
Multivariate
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2011 at 10:52 UTC
Updated:
11 Mar 2012 at 10:21 UTC
When you create a A/B test for a node that is linked to a menu item. The A/B testing version won't show the menu item or mark it as active.
How can we solve this?
Comments
Comment #1
soyarma commentedThat's a good question... an option would be to make the B version be a child item of the A version's menu entry, but disabled. I believe that would (because of hierarchy) show the A version as active because one of its children is active.
I'm not 100% sure that will work, but it's worth a shot. I'll also investigate the option of creating a menu hook to automatically deal with this.
Comment #2
kristofdg commentedHow about using menu_set_active_item() to set the active menu item to the original page menu item?
Comment #3
miro_dietikerWe'll need to check if active menu items work cleanly with the refactored code.
I think we'll need a small documentation paragraph per (mutation,success,condition) plugin to describe its intention and limitations... (here, the url mutation and the url redirect mutation plugin)