Attention

This document was written for an old version of Plone, Plone 2.5.x, and was last updated 1205 days ago.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

Content Tabs

by John DeStefano last modified Feb 04, 2009 03:00 AM
Contributors: Stephanie McFarlin
Editing the default appearance of the user action content tabs
Content tabs

 

In Plone v2.x:

  • Template: global_contentviews
    • Located: [site]/portal_skins/plone_templates
  • CSS: .contentViews, .contentViews li, .contentViews li a, .contentViews .selected a, .contentViews li a:hover, and .actionItems li
    • Located: [site]/portal_skins/plone_styles/plone.css

In Plone v3.x:

  • Template: plone.contentviews
    • Located: [site]/portal_view_customizations
  • CSS: .contentViews, .contentViews li, .contentViews li a, .contentViews .selected a, .contentViews li a:hover, and .actionItems li
    • Located: [site]/portal_skins/plone_styles/authoring.css

 

 

Additional Information:

The tabs can be disabled; however, they are defined in a few areas and are content-dependent.

To disable the Contents tab:

In Plone v2.x:

  • Navigate to [site]/portal_actions
    Note
    You will see two actions with the name Contents and the ID folderContents, but the categories are different: category object controls whether it shows up for content other than Folder, and Category folder controls whether it shows up when you're viewing a Folder.
  • Uncheck Visible?
  • Click Save at the bottom of the form

In Plone v3.x:

  • Navigate to [site]/portal_actions
  • Click object
  • Click folderContents (Contents), or the name of any other tab object you wish to disable (Syndication, Rules, Sharing, etc.)
  • De-select the Visible? check box
  • Click Save Changes

 

The rest of the tabs in Plone v2 are different for each content type. As an example, we'll disable them for a document:

Note
The others are basically the same.
  • Navigate to [site]/portal_types
Note
You'll see all the different content types listed.
  • Click on Document
  • Click the Actions tab at the top
  • Uncheck Visible? next to the name of any tab you don't want displayed for document objects
  • Click Save at the bottom of the form
Note
A common change requested by Plone users and administrators is to modify the text case of tabs (e.g., change the text so that it appears in Title Case lettering instead of in all lowercase). This is easily accomplished by changing the value of the textTransform property from lowercase to none in base_properties.

Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.