You are here: Home Plone Basics Add classic portlet in Plone 3.x
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 463
Total Pages: 284
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 03.02.2012 16:00
 

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.