Closed (fixed)
Project:
Tab Tamer
Version:
7.x-1.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Dec 2010 at 13:03 UTC
Updated:
17 Jul 2012 at 21:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
coreyp_1 commentedI think the port to D7 is almost done. a few changes to the menu structure are giving me a headache...
Comment #2
design.er commentedOk, feel free to let me know if you need a tester and hank you very much for your time & work. :)
Comment #3
Traphic commentedGreat, looking forward to taming these tabs on D7, what a neat module.
Comment #4
KeesMK commentedGoodluck coreyp_1 this is indeed one of the options the core Drupal is missing.
Comment #5
KirstenLangholz commentedI would love to have it for my new D7 release, too. Is there anything to test already?
Comment #6
Shadlington commentedSubscribing
Comment #7
sw3b commentedSubscribing
Comment #8
thomas1977 commentedSubscribing
Comment #9
KirstenLangholz commentedTwo months later, would you please give us an update on how far you are. We are all willing to test, if you give us something to test ;)
Comment #10
srsbl commentedSubscribing
Comment #11
dopedwizard commentedsubscribing.
Comment #12
nonom commentedsubscribe
Comment #13
achillesp commentedsubscribing
Comment #14
TimelessDomain commentedif this module has to be re-written at all -> you should mod it so that we can integrate it with the context module - details are outlined here #945202: Integration with Context - Control Tabs Based On Role, Taxonomy, Content Type, CCK, Rules, and Actions
Comment #15
grahamtk commentedSubscribe :)
Comment #16
kevinedmister commentedsubscribing
Comment #17
tbeauchemin commentedsubscribing
Comment #18
Desi Raaj commentedany update on the D7 port?
Comment #19
Starminder commented+1
Comment #20
Clive@onebrick.org commented+1
Comment #21
jdflorez commentedsuscribe
Comment #22
Anonymous (not verified) commentedIf you just want to remove the tabs HTML for specific tabs, you can use the code below.
$unwanted_tabscontains an array of your unwanted paths. Remember, access is not blocked. It only removes the tab from your page HTML.Put it in template.php. Change
function mytheme_to your theme code & refresh cache..Comment #23
deeve commented..am slightly confused; will this template.php code work independently in 7.x or do we have to wait for Tab Tamer 7.x full release?
Comment #24
toxiclung commentedsubscribe
Comment #25
Anonymous (not verified) commented@deeve my snippet works stand-alone
Comment #26
deeve commented@morningtime - perfect!
'node/%/view', 'node/%/edit', 'node/%/log' - worked a treat :)
Many thanks!
Comment #27
sw3b commented@morningtime thanks !
Comment #28
ann_meredith commentedThanks @morningtime for the code and clear instructions on how to implement. Still would love to see Tab Tamer for D7.
Comment #29
molave commented@morningtime Thanks, this worked great and helped me a lot.
Reminder to fellow non-techs: if you already have the mytheme_preprocess_page function in your template.php file, don't copy and paste the code at #22 in its entirety anymore. Instead, copy just the following snippet into the existing function (remove the opening and closing php tags):
Finally, if your existing function uses $vars instead of $variables, change the above code to adapt to what's already there.
Thanks, of course, to maintainer coreyp_1 for this module.
Comment #30
bryancasler commentedsubscribe
Comment #31
mrfelton commentedSnippet in #29 does the job for me. Thanks.
Comment #32
manu.joseph commentedmorningtime Thankz...
Comment #33
Fidelix commentedSubscribing...
This module is great.
Comment #34
TallDavid commentedSitting in the "Freelancing with Drupal" session at Dallas Drupal Days and the presenter is complaining that this module still doesn't have a Drupal 7 port. ;-)
Thought I'd subscribe.
P.S. Hi Corey!
Comment #35
pgough commentedsubscribe
Comment #36
Sylense commentedsub
Comment #37
kerios83 commentedsub
Comment #38
TimelessDomain commented#22 works - but if there is only 1 tab left (after removal of other tabs), it does not remove that.
For ex. w/ drupal Commerce a "products" tab appears on all nodes for all roles, hiding this tab works, but then the "view" tab is still visible. I do not want to remove the "view" tab for all roles.
Comment #39
Starminder commented+1
Comment #40
Ingmar commentedWant to follow this as well.
Comment #41
Anonymous (not verified) commentedAttached is a working patch for the full upgrade from Tab Tamer 6.x-1.x to 7.x-1.x. And also the full zip file.
I hope the maintainer can apply the patch soon and create the D7 branch. I'm also willing to co-maintain this, if needed. Just let me know. This upgrade is sponsored by Morningtime, a Drupal shop from Europe/Germany.
I included a new README.txt to explain the following:
Comment #42
Ingmar commentedGreat!
I'm trying to use it on a 7 - version.
I have installed the module and applied the patch as well.
Now...I seem to be able to reorganize tabs within the same 'group' (in my case User/%).
But is it possible to get a tab from another group ( profile-mail/%) into the User-group?
In other words; how do I add a tab to a group OR edit the path of an existing tab?
Comment #43
Anonymous (not verified) commentedI wrote the maintainer, but he has not responded yet. We'll have to wait for that.
Adding tabs: can be done with Views, Panels or a custom hook_menu() implementation. Then you can organize the new tabs with Tab Tamer.
Editing paths is a feature-request we can look into.
Comment #44
davidwhthomas commented@morningtime
The D7 module looks good, but given that most of the code is for /admin
The hook_menu should use a tabtamer.admin.inc file to include that code, as per Drupal best practice.
That way, the code isn't loaded for users browsing the front end, much better for performance.
e.g
cheers,
DT
Comment #45
Anonymous (not verified) commentedThanks for the suggestion. Good idea. I'm waiting for the module maintainer to get back to me. Or maybe I can apply for co-maintainership to manage the D7 module. Would be happy to do so.
Comment #46
CarbonPig commentedsubscribe - this module is awesome in D6 and I can't wait to test the D7 version!
Comment #47
coreyp_1 commentedsorry everyone, I'll get something out this weekend.... I haven't forgotten, but I'm a full-time college student with 3 jobs, so this has unfortunately been getting pushed back.
Comment #48
Anonymous (not verified) commentedHi coreyp_1, will you have time for this? I offered to co-maintain the D7 branch. Let me know if you want me to do so, I don't mind.
Comment #49
Anonymous (not verified) commentedOk guys, I will very soon start the 7.x branch and will co-maintain it. Just a little more patience. Many thanks to Corey!
Comment #50
Anonymous (not verified) commentedOk, I've comitted the 7.x branch!
http://drupalcode.org/project/tabtamer.git/commit/349a458
It should be up in 24h as a regular download on the project page.
Comment #51
kerios83 commentedGreat news !
Comment #52
CarbonPig commentedAwesome - thanks!
Comment #54
geerlingguy commentedFYI, in Drupal 7, you can simply use fn_notes_menu_local_tasks_alter() to do this without needing an extra module.
Something like this would simply remove the 'View' tab from 'note' node types:
Comment #55
davidwhthomas commentedIf you just want to remove the 'View' tab in general, you could probably also do something like this:
DT
Comment #56
KirstenLangholz commentedThanks guys for this code snippets!
Comment #57
snehi commentedcan i choose tab by role ?
Comment #58
Anonymous (not verified) commentedPlease open a new issue. There is already this one: #1326382: Add access callback contingencies for Context, PHP, Rules, Admin etc., it's currently not possible to do it.