Personal tools
You are here: Home Luminescence (blog) Plone 3.0 - Customize footer.pt (plone.footer)
« November 2008 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
Sobre este blog
Musings and meanderings on web technology. Primarily Open Source CMS and it's perks and pitfalls.
 
Document Actions

Plone 3.0 - Customize footer.pt (plone.footer)

by admin publicado em 2007-10-13 07:18 last modified 2007-10-13 07:18

As an integrator/designer I find myself answering the same question over and over again in #plone or via email.

"How do I change the text in my footer?"


In order to make changes to footer.pt in pre-3.0 sites (through-the-web) you would do the following:

  • Login as manager
  • Go to http://mysite.com/manage or click on Site Setup (usually in the site actions bar on the top right of your site..depends on how your site is configured) and then the Zope Management Interface (ZMI)
  • Once in the ZMI you went to /portal_skins/plone_templates and clicked on footer.pt
  • Click on Customize button and the system put your footer.pt in the custom directory
  • You made your changes and saved it and there you had it.. your new footer.pt

Plone 3.0 has a new Viewlet customization process that's different than what I detailed above.. (not difficult.. just different)

  • Login as manager
  • Go to http://mysite.com/manage
  • Once in the ZMI go to portal_view_customizations
  • Scroll down to zope.interface.Interface
  • Click on plone.footer
  • At the bottom of the file click on "Customize"

Instead of putting your footer.pt in the custom directory it puts plone.footer in portal_view_customizations

You can modify the file just the way you would in 2.5.3 and save it.

If you go back to portal_view_customizations and scroll down you'll note that there is a "yellow" highlight over your plone.footer. This indicates that the file has been customized.

What? You made a mistake and you need to revert to the original version og plone.footer?

In the previous version you would go to portal_skins/custom find your file then rename it or delete it. 

In 3.0 return to portal_view_customizations (if you aren't there already) and click on the contents tab. You'll see your newly customized file. Delete the newly customized file and plone.footer will revert to the orginal version.

(I used plone.footer as an example but the same process is applicable for any viewlets in portal_view_customizations)


O URL para efectuar trackback desta entrada é:
http://www.csquaredtech.com/luminescence/plone-3-0-customize-footer-pt-plone-footer/tbping