[Zope3-Users] Job Opening

2007-02-10 Thread David Johnson
As before, I am posting here because I do not know where else to post. We continue to grow and are searching again for another Zope 3 engineer. We would love to talk with anyone who might be interested. We love Zope and plan on being a big part of its continued success in the

[Zope3-Users] Standard Macros

2007-02-10 Thread David Johnson
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. html metal:use-macro=views/standard_macros/page /html Any ideas? Warm regards,

Re: [Zope3-Users] Standard Macros

2007-02-10 Thread Hassan Alirezaei
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

Re: [Zope3-Users] css/page template ?

2007-02-10 Thread Dominique Lederer
tyson schrieb: I am having trouble getting my style sheet to load in my page template. I added my .css file within the local package directory. How can I point to this file on the filesystem. I tried using a layer with a resource in my configure file, but that didn't work. Any help would

Re: [Zope3-Users] css/page template ?

2007-02-10 Thread Marius Gedminas
On Sat, Feb 10, 2007 at 10:34:51AM +0100, Dominique Lederer wrote: tyson schrieb: I am having trouble getting my style sheet to load in my page template. I added my .css file within the local package directory. How can I point to this file on the filesystem. I tried using a layer with a

Re: [Zope3-Users] Standard Macros

2007-02-10 Thread Maciej Wisniowski
Any ideas? html metal:use-macro=context/@@standard_macros/page div metal:fill-slot=bodybla bla bla/div /html Take a look at: zope/app/basicskin/configure.zcml and you'll see how standard_macros view is registered. -- Maciej Wisniowski ___

Re: [Zope3-Users] Standard Macros

2007-02-10 Thread Maciej Wisniowski
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

Re: [Zope3-Users] Standard Macros

2007-02-10 Thread Hassan Alirezaei
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: html metal:use-macro=context/@@standard_macros/page div metal:fill-slot=bodybla bla bla/div /html No error will occur during the adding of

RE: [Zope3-Users] Standard Macros

2007-02-10 Thread Roger Ineichen
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. html

[Zope3-Users] Permission problem on adapter

2007-02-10 Thread Dominique Lederer
hi i created a trusted adapter on a content object. then i created a formlib edit page for the ZMI, to be able to edit the new attributes on the adapted content object. the adapters interface is correctly rendered to the form. if i try to edit, an unauthorized error is shown, which i also get,