How To Use Display View In Plone


Suppose we have the following three pages in the folder "Display Test":
  • Listening
  • Reading
  • Writing
1. Go to the desired folder using Navigation portlet:
folder content

2. Click on Display View drop-down menu. You see the following items to choose:


Standard View

2.1  If you click on the first item (Standard view), it  displays a list of all content items in the folder with Title, Description, Creator, and Date details.

2.2 If you click on the second item (Summary view), it  displays Title and Description of the content:

Summary View

2.3 If you click on the third item (Tabular view), you see the content items in a tabular form:

Tabular view

3. You can add the fourth  Page and create your custom default view of the current folder.

- Add page, put shortname, title, description, enter text.

- Make the list  of items using Kupu. Then select the text to be linked and click on the icon of the internal link:

Listing

-  Select the current folder,  click on the icon of the page you wish to link to and then click "Ok":

Internal link

- Save your document.
- Go to the folder using Navigation portlet. Click on the display link and choose the last item listed:

 Display action

- Select item which will be displayed as the default page of the folder and save the changes:


Default Page

-  The object you set as a default-page in the folder "Display Test" is now listed in the display menu:


Custom Default View


Display View can be used in custom folderish content types as well. Suppose, we have the content type for curriculum courses management. Below you can see a folder with two Display Views (Curriculum List and Curriculum Table) and change the default view with a single click. On the screenshot below  there is the Curriculum List Display View enabled with a simple listing of subfolders:

Curriculum List Display View


The next screenshot shows the Curriculum Table Display View with data generated by subfolders:


Curriculum Table Display View


Let's assume we have a folder with some subfolder, fo instance, Blog folder.
Suppose, you are not satisfied with the view items you have in your Display drop-down menu. In this case you have the chance to create a new page, manage it using Kupu, and set it as the default page in your Display View.

Add a Page to the folder by performing the following actions:
  1.  Click on the drop-down menu "Add to folder" and select the Page item
  2.  Enter short name, title, description, the text
    • You can customize your page using Kupu, 
    • e.g. create red bullets, internal links, change text colour using Kupu styles
    • Save your page
  3.  Go to the folder using your navigation portlet
  4.  Click on the Display drop-down menu and select "change content item as default view"
  5.  Select item which will be displayed as the default page of the folder and save the changes 


Default Item
Otherwise you can ask Plone developers to create custom DisplayView ( dynamic template) desirable for your folder view.

If there is a need, Plone developers can create new Display Views (new templates) for Folders, Smart Folders, and other folderish content types for you.
info@quintagroup.com