Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Drupal - editing tab options for a content type not showing up

11 like 0 dislike
I'm working on a D5 site and a lot of the content types have the menus at the top of the edit page.

Examples:

Overview | Grants | Dev load | Dev render | Edit | Revisions | Track | Workflow

Overview | Dev load | Dev render | Edit | Revisions | Track | Workflow | Node queue | RelatedContent

I'm not sure where these tabs come from, but I need to enable the menu for a content type that doesn't have them visible.

I checked the workflow setting and the content type in question was specified to use workflow. So there should be at least another tab in addition to edit.

The end goal is to have revisions show up in the menu, but I need to get the menu showing first.

Any ideas where to start looking?
asked 1 year ago by DBA-boss (120,990 points)

1 Answer

1 like 0 dislike
 
Best answer
As for where the tabs come from, you could (re)read my answer to your similar question from a few month ago, but that was geared at a programming perspective, while this sounds more like an administrative problem.

The most common reason for a tab not showing up is that the current user does not have the right to use the functionality the tab offers - you should check your permission settings, especially if the site in question uses one or more specific access modules.

Another possibility is that the function the tab offers is not enabled for the content type in question, e.g. if 'use revisions' is not enabled for a content type, the tab won't show up (and IIRC, it only shows if there are already revisions available for that node, so if a node has not been edited yet, no tab is displayed)

A third place to check would be the page.tpl.php file(s). The tabs are available there as the $tabs variable and usually printed somewhere at the top of the content region. If your site uses multiple page template files for different situations, it might be that one of those simply doesn't print the $tabs variable.

A forth possibility would be a xyz_preprocess_page() function within a custom module or theme that explicitly clears/overwrites the $tabs variable for some special circumstances.
answered 1 year ago by eagles11 (179,830 points)

Related questions

3 like 0 dislike
1 answer
10 like 0 dislike
1 answer
7 like 0 dislike
0 answers
asked 1 year ago by eagles11 (179,830 points)
2 like 0 dislike
1 answer
asked 1 year ago by eagle09 (95,490 points)
7 like 0 dislike
0 answers
asked 1 year ago by marck_don (191,010 points)