Personal tools
You are here: Home log plone fix a bug in photoalbum_view
Document Actions

fix a bug in photoalbum_view

macro-name can't have dash(-) in the middle

The traceback gives something like this:

 Traceback (innermost last):
  Module ZPublisher.Publish, line 98, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Products.CMFDefault.SkinnedFolder, line 80, in __call__
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 191, in _exec
  Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
  Module Products.PageTemplates.PageTemplate, line 87, in pt_render
   - <FSPageTemplate at /plone/photoalbum_view used for /plone/Members/crocea/photo>
   - Warning: Compilation failed
   - Warning: TAL.TALDefs.METALError: invalid macro name: 'list-item', at line 100, column 17
 PTRuntimeError: Page Template photoalbum_view has errors.

go to zope management interface for plone, click portal_skins, click photoalbum_content, customize photoalbum_view. And go to custom directory in portal_skins and change the list-item to list_item

« November 2009 »
Su Mo Tu We Th Fr Sa
1234567
89101112 1314
1516171819 20 21
22232425262728
2930
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: