You are here: Home Plone Basics Add classic portlet in Plone 3.x
Search
Advanced Search…
Statistics
Total: 412
Total Pages: 253
Total Folders: 83
Total Files: 14
Total Links: 26
Last modification: 30.08.2010 09:17
 

Add classic portlet in Plone 3.x

by Wyden Silvan last modified 26.11.2009 14:01

Make a page_template in folder custom with the folowing code:

<html>
  <head>
    <title tal:content="template/title">The title</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  </head>
  <body>
    <div metal:define-macro="portlet" class="portlet">
      <h2 class="portletHeader" tal:content="template/title">The title</h2>
    </div>
  </body>
</html>

After that you can go to domain/@@manage-portlets and add a classic portlet. There you wirte you name (id) of the page template and as macro you write "portlet". Thats all.