2012-02-17 98 views
0

Iam新的Plone。我跟着鏈接http://plone.org/documentation/kb/creating-a-content-type-for-plone-3-for-developers和我添加了DVD內容類型。當我使用http://plone.org/documentation/kb/creating-a-custom-template-for-a-plone-content-type擴展它,自定義模板不showing.Iam得到錯誤的Plone內容類型的自定義模板

Traceback (innermost last): 
    Module ZPublisher.Publish, line 126, in publish 
    Module ZPublisher.mapply, line 77, in mapply 
    Module ZPublisher.Publish, line 46, in call_object 
    Module Products.Five.browser.metaconfigure, line 476, in __call__ 
    Module Products.Five.browser.pagetemplatefile, line 125, in __call__ 
    Module Products.Five.browser.pagetemplatefile, line 59, in __call__ 
    Module zope.pagetemplate.pagetemplate, line 107, in pt_render 
    - Warning: Compilation failed 
    - Warning: zope.tal.taldefs.TALError: bad TAL attribute: u'', at line 27, column 4 
PTRuntimeError: ['Compilation failed', "zope.tal.taldefs.TALError: bad TAL attribute: u'', at line 27, column 4"] 

我知道我犯了一些錯誤。我不知道什麼that.Anyone幫我...

回答

2

如果你看一下錯誤:?!

Warning: zope.tal.taldefs.TALError: bad TAL attribute: u'', at line 27, column 4 

它說,你有一個屬性U「」什麼都沒有的TAL做表達。也許像

tal:attributes="u''" 

模板中的某個地方......

+0

謝謝。它的工作現在 – Raji 2012-02-17 10:11:47