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
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
> 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 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
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".
>
>
>
>
>
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 entering for example
---
for a ZPTPage source.
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".
>
>
>
>
>
> Any ideas?
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"
> 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
_
> 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).
Any ideas are appreciated!
Hass
David Johnson wrote:
Is there a way to use standard_macros in a ZPT Page
11 matches
Mail list logo