Portlets
Portlets are the parts of the page that get displayed in the left (left_slot) and right (right_slot) columns. Each portlet has its own template.
- Templates:
portlet_calendar,portlet_events,portlet_favorites,portlet_login,portlet_navigation,portlet_news,portlet_recent,portlet_related, andportlet_review- Located:
[site]/portal_skins/plone_portlets
- Located:
- CSS:
.portlet,.portlet h4,.portlet h5,.portlet h6,.portletBody,.portletDetails,.portletMore,.portletContent,.portletClose,.portlet .even,.portlet .odd,.portlet input,.portlet ul, and.portlet li- Located:
[site]/portal_skins/plone_styles/plone.css
- Located:
- Note:
- The Calendar slot has additional CSS
- CSS:
.dayPopup,.date,.ploneCalendar,.ploneCalendar a,.ploneCalendar a:hover,.ploneCalendar th,.ploneCalendar td,.ploneCalendar .weekdays td,.ploneCalendar .event,.ploneCalendar .todayevent, and.ploneCalendar .todaynoevent- Located:
[site]/portal_skins/plone_styles/plone.css
- Located:
- CSS:
Additional Information:
To control which slots are displayed and where:
In Plone v2.x:
- Navigate to the root of your Plone site
- Click the
Propertiestab at the top. You should see:
- Each line in
left_slotsandright_slotsis an entry for a portlet - Deleting any line from
left_slotsorright_slotswill remove that portlet - Moving any line from
left_slotstoright_slotsor vice versa will change the side of the page on which the portlet appears - Reordering the lines will change the order in which the portlets appear
- Remember to click Save Changes
- Note
- Here is a how-to on creating a static portlet.
- Note
- This can also be done in any other folder in your Plone site in order to diplay or hide different portlets in different locations. If either
left_slotsorright_slotsdo not appear in the ZMI, you can add them:
- At the bottom of the Properties page, enter either
left_slotsorright_slotsfor Name - Select a Type value of
strings - Enter the name and path above for the appropriate portlet as a Value
- Click Add
- At the bottom of the Properties page, enter either
In Plone v3.x:
- Click Manage Portlets
- To remove a portlet from either the left or right side, click the red X icon to the right of its name
- To add a portlet to either side, select its name from the Add portlet drop-down menu
- To edit the behavior of some (not all) portlets, click its name and edit its settings
Navigation portlet in Plone 3.x:
In Plone v3 sites with default configurations, the left_slots section is hidden on the front page, due to the default Navigation portlet configuration settings on the front-page object. To enable the display of the Navigation portlet at the site home page:
- Click Manage Portlets
- Click the Navigation portlet
- Under Start Level, change the portlet start level value from
1to0 - Click Save