Is it possible to alter a tpl or other file somewhere and change each node's primary and secondary tabs into a Superfish menu?
If that's not clear, what I'm asking is how to basically hide the View, Edit, etc. tabs across the top of the content area within some hover-over menu or pop-up. If Superfish could be used it would cut down on additional scripts to use it for tabs as well.
Anybody have any ideas. I saw one module that puts them into a contextual menu like panes/blocks but I'd prefer the functionality in Superfish. Thanks for your time if you have any.
Comments
Comment #1
geek.geek commentedHI,
It's possible but not with this module, there are some other modules however
https://drupal.org/project/jump_menu
https://drupal.org/node/652910
https://drupal.org/project/local_tasks_blocks
Comment #2
deanflory commentedThose using Open Atrium Radix theme, Contextual Tabs might be a good solution, but it doesn't seem to work with other themes, but does offer nice features such as breaking-out separate menu items and giving them an icon (though I didn't investigate how that worked and there is limited documentation). This would be the best solution if block-placeable, but only if someone puts in some time to make it Drupal-friendly:
https://www.drupal.org/project/contextual_tabs
Local Tasks Blocks is what I've ended up with (this second go-around) but I'm finding it has a great accordion feature that hides the menu until clicked, but only seems to work on admin pages and not on node types, maybe they'll fix it in the meantime.
https://drupal.org/project/local_tasks_blocks
Better Jump Menu is ok, but not overly fancy and I didn't like the requirement of a form button to submit after making a select list selection.
https://drupal.org/project/jump_menu
Others might like Javascript Tabs if you're not worried about mobile compatibility but I did find it spazzes-out every once in a while and either won't open or opens/closes/opens/closes/etc. franticly due to some conflict with colorbox or superfish or something.
https://www.drupal.org/project/javascript_tabs
Would be easier for Superfish to provide a block for local tasks (primary tabs/secondary tabs/local actions).
Comment #3
deanflory commentedI'm still coming around now to still wanting superfish for the tabs. Argh.
Comment #4
kopeboyThe same for me.
I just want an easy way to put together primary and secondary tabs in a dropdown menu.
Drupal will output them separately and not one inside the other, which is really counterintuitive.
Node (primary tabs):
<ul> View | Edit | My custom tab </ul>My tab (secondary tabs):
<ul> child1 | child2 | child3 </ul>All I want is:
Node (with tabs):
<ul> View | Edit | My tab <ul> child1 | child2 | child3 </ul> </ul>with some bootstrap dropdown JS..
I think this feature would be useful to a lot of people
Comment #5
lobsterr commented