Re: Customize login_form template on Plone 2.x
Yuri <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Plone 2.5 doesn't have any portal_view_customizations :-)
what is myportallogin_form?
Il 27/10/2014 16:54, Norman Fournier ha scritto:
> Try using portal_view_customizations/login.pt in the ZMI. In my
> installation I have 2 longin.pt <http://longin.pt> files in
> portal_view_customizations, one or the other works.
>
> Norman
>
> On 2014-10-27, at 9:46 AM, Bruno Barbosa wrote:
>
>> Hi everyone!
>>
>> I need to customize the login_form template in Plone 2.5 on ZMI, but
>> after customize the login_form.pt <http://login_form.pt/>, I get the
>> following error:
>>
>> Module Products.PageTemplates.TALES, line 221, in evaluate
>> - URL: /desenvolvimento/myportal/login_form
>> - Line 153, Column 20
>> - Expression: standard:u'options/state/getErrors'
>> - Names:
>> {'container': <PloneSite at /desenvolvimento/myportal>,
>> 'context': <PloneSite at /desenvolvimento/myportal>,
>> 'default': <Products.PageTemplates.TALES.Default instance
>> at 0xb68e9a6c>,
>> 'here': <PloneSite at /desenvolvimento/myportal>,
>> 'loop': <Products.PageTemplates.TALES.SafeMapping object
>> at 0xc5cd4ac>,
>> 'modules':
>> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
>> instance at 0xb68896ac>,
>> 'nothing': None,
>> 'options': {'args': ()},
>> 'repeat': <Products.PageTemplates.TALES.SafeMapping object
>> at 0xc5cd4ac>,
>> 'request': <HTTPRequest,
>> URL=http://10.2.64.203:8080/desenvolvimento/myportal/login_form>,
>> 'root': <Application at >,
>> 'template': <ZopePageTemplate at
>> /desenvolvimento/myportallogin_form>,
>> 'traverse_subpath': [],
>> 'user': <PropertiedUser 'bruno'>}
>> Module Products.PageTemplates.Expressions, line 185, in __call__
>> Module Products.PageTemplates.Expressions, line 173, in _eval
>> Module Products.PageTemplates.Expressions, line 127, in _eval
>> - __traceback_info__: options
>> Module Products.PageTemplates.Expressions, line 320, in
>> restrictedTraverse
>> - __traceback_info__: {'path': [u'state', u'getErrors'],
>> 'TraversalRequestNameStack': [u'getErrors']}
>> KeyError: u'state'
>>
>>
>> What is missing?
>>
>> Att,
>> --
>> Bruno Barbosa
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Plone-Users mailing list
>> [email protected]
>> <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Plone-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-users
------------------------------------------------------------------------------