Personal tools
You are here: Home Documentation Tutorials What controls what you see Content Tabs
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Content Tabs

Editing the default appearance of the user action content tabs

John DeStefano

This tutorial breaks down the main display elements in a Plone site, and shows you how to control and customize the appearance of each element.
Page 12 of 17.
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.
 
by John DeStefano last modified March 7, 2008 - 15:57
Contributors: Jet Wilda
All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by