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 Types

by John DeStefano last modified Feb 04, 2009 03:00 AM
Contributors: Stephanie McFarlin
Changing the default appearance of Plone's default content types

All Plone v2 content types are associated with at least two templates: one for viewing, and one for editing. Plone v3 content types are associated with at least a viewing template.

Note:
The viewing templates use a lot of the CSS that redefines HTML tags. The editing forms use all of the CSS associated with forms.  All of these styles are defined in a single style sheet:
  • In Plone v2.x: [site]/portal_skins/plone_styles/plone.css
  • In Plone v3.x: [site]/portal_skins/plone_styles/public.css

Plone comes equipped with 8 content types out of the box:

Document

Document Content Type

  • Templates:
    In Plone v2.x: document_view and document_edit_form
    In Plone v3.x: document_view
    • Located: [site]/portal_skins/plone_content
  • CSS: .documentDescription, .discreet, and all the .stx

Event

event

  • Templates:
    In Plone v2.x: event_view and event_edit_form
    In Plone v3.x: event_view
    • Located: [site]/portal_skins/plone_content
  • CSS: .documentDescription

File

File Content Type

  • Templates:
    In Plone v2.x: file_view and file_edit_form
    In Plone v3.x: file_view
    • Located: [site]/portal_skins/plone_content
  • CSS: .documentDescription and .discreet

Folder

Folder Content Type

  • Templates:
    In Plone v2.x: folder_contents, folder_listing, and folder_edit_form
    In Plone v3.x: folder_tabular_view, folder_summary_view, folder_listing, and folder_edit_form
    • Located: [site]/portal_skins/plone_templates and [site]/portal_skins/plone_content
  • CSS: .link-parent, .hiddenLabel, .standalone, .documentEditable * .standalone, .listing, .noborder, .documentEditable * .noborder, .state-expired, .context, .documentEditable * .context and much more.

Image

Image Content Type

  • Templates:
    In Plone v2.x: image_view and image_edit_form
    In Plone v3.x: image_view and image_view_fullscreen
    • Located: [site]/portal_skins/plone_content
  • CSS: .documentDescription

Link

link

  • Templates:
    In Plone v2.x: link_view and link_edit_form
    In Plone v3.x: link_view
    • Located: [site]/portal_skins/plone_content
  • CSS: .documentDescription

News Item

news

  • Templates:
    In Plone v2.x: newsitem_view and newsitem_edit_form
    In Plone v3.x: newsitem_view
    • Located: [site]/portal_skins/plone_content
  • CSS: .documentDescription, .discreet, and all the .stx

Collection

A Collection is an automatically-updated, stored search that culls and displays site items matching specified criteria.

Note:
In versions prior to Plone v3, Collections are called Topics or Smart Folders. The legacy name "topic" remains in the v3 Collection template names.
Topic Content Type
  • Templates:
    In Plone v2.x: topic_view, topic_edit_form, topic_criteria_form, and topic_subtopics_form
    In Plone v3.x: atct_topic_view, and atct_topic_subtopics
    • Located:
      In Plone v2.x: [site]/portal_skins/plone_3rdParty/CMFTopic
      In Plone v3.x: [site]/portal_skins/ATContentTypes
  • CSS: .documentDescription, .listing, and .even

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.