Is there a way to use standard_macros in a ZPT Page added via the
ZMI? In a page registered via ZCML the following METAL is okay,
however in a ZPT Page I receive an error regarding a key error for
"views".
Any ideas?
Warm regards,
David
_
I have the same problem. I just know the problem is with the
principal_info macro and it only occurs when one is logged in with a PAU
principal (ZCML principals do fine as far as I remember).
Any ideas are appreciated!
Hass
David Johnson wrote:
Is there a way to use standard_macros in a ZPT Page
> Any ideas?
bla bla bla
Take a look at: zope/app/basicskin/configure.zcml and you'll
see how standard_macros view is registered.
--
Maciej Wisniowski
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-u
> I have the same problem. I just know the problem is with the
> principal_info macro and it only occurs when one is logged in with a PAU
> principal (ZCML principals do fine as far as I remember).
'same problem' is not enough I think. What is the traceback etc?
--
Maciej Wisniowski
_
The situation is very simple. I have a fresh instance of zope3.
when I try to add a ZPT Page through ZMI and enter the following html
for the source:
bla bla bla
No error will occur during the adding of the ZPT Page. However, when I
try to view the ZPT Page as an "Unauthenticated User"
Hi David
> Subject: [Zope3-Users] Standard Macros
>
> Is there a way to use standard_macros in a ZPT Page added via
> the ZMI? In a page registered via ZCML the following METAL
> is okay, however in a ZPT Page I receive an error regarding a
> key error for "views"
s and viewlets that I have defined with ZCML mainly i want
them to be able to use the main skin.
what is the standard approach to this?
many thanks,
thanks you
Roger Ineichen wrote:
Hi David
Subject: [Zope3-Users] Standard Macros
Is there a way to use standard_macros in a ZPT Page adde
On Sat, Feb 10, 2007 at 09:50:55AM +0100, David Johnson wrote:
> Is there a way to use standard_macros in a ZPT Page added via the
> ZMI? In a page registered via ZCML the following METAL is okay,
> however in a ZPT Page I receive an error regarding a key error for
> "views".
>
>
>
>
>
Hi Marius
thanks for the response. you are right that was a typo,
"views/standard_macros" is totaly wrong.
however, the problem still remains the same:
even
or
won't work. I get the same old error as my other post.
Any Ideas are appriciated. and more importantly, do other people get
> Any Ideas are appriciated. and more importantly, do other people get the
> same error as I get??? I would really appriciate if someone tried the
> above code in a ZPTPage through ZMI and tell me the results...
Yup, I get same error about UnauthenticatedPrincipal and 'title'.
Have you tried if thi
Hi Hassan
> Subject: Re: [Zope3-Users] Standard Macros
>
> Thanks for the detailed response Roger. nice to know this alternative!
> However what I and I think David wanted to know is the reason
> why this kind of practice cannot be done through the ZMI by
> en
Hassan Alirezaei schrieb:
> Hi Marius
>
> thanks for the response. you are right that was a typo,
> "views/standard_macros" is totaly wrong.
> however, the problem still remains the same:
> even
>
>
>
>
> or
>
>
>
>
> won't work. I get the same old error as my other post.
>
> Any Ideas
12 matches
Mail list logo