Re: [Zope3-Users] PAU, how to grant roles to groups

2006-09-08 Thread Denis Shaposhnikov
Stephan == Stephan Richter [EMAIL PROTECTED] writes: Stephan You cannot grant permissions via ZCML to principals that are Stephan located in the ZODB. You have to use the Grant view of the Stephan folder for this. Oh, that's a bad news. Am I right that Zope3 have principals either ZODB or

[Zope3-Users] Books example

2006-09-08 Thread Sébastien VINOT
Hello, I'm using both books to learn Zope3 : - Web component Development with Zope 3 (Philipp Von Weitershausen) - Zope 3 (Stephan Ritcher) I read somewhere that examples are updated somewhere on the web but I can't find out where (I have to admit I did not dig into the second at the moment).

Re: [Zope3-Users] Zope 3 Distilled book update 3

2006-09-08 Thread Chris Withers
Benji York wrote: Baiju M wrote: (This is about : http://kpug.zwiki.org/Zope3Distilled) I recommend you verify that you can use the Distilled name. I believe computer book titles of that form are protected by an Addison-Wesley trademark. I'm pretty sure a trademark like that can't

Re: [Zope3-Users] need help on skins

2006-09-08 Thread Denis Shaposhnikov
Stephan == Stephan Richter [EMAIL PROTECTED] writes: page     name=details.html     permission=zope.AdminView     layer=admin_layer     template=admin_details.pt/ and page     name=details.html     permission=zope.UserView     layer=user_layer     template=user_details.pt/ ?

Re: [Zope3-Users] PAU, how to grant roles to groups

2006-09-08 Thread FB
On Fri, Sep 08, 2006 at 10:12:34AM +0400, Denis Shaposhnikov wrote: Stephan == Stephan Richter [EMAIL PROTECTED] writes: Stephan You cannot grant permissions via ZCML to principals that are Stephan located in the ZODB. You have to use the Grant view of the Stephan folder for this. Oh,

[Zope3-Users] How to make a new namespace for pagetemplates?

2006-09-08 Thread FB
Hi, my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our responsibility. Currenty I have to do something like that: a tal:define=linkwriter nocall:context/@@linkwriter

Re: [Zope3-Users] How to make a new namespace for pagetemplates?

2006-09-08 Thread Martijn Pieters
On 9/8/06, FB [EMAIL PROTECTED] wrote: my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our responsibility. Why not use a piece of javascript to do this? See the linkpopper product on

Re: [Zope3-Users] How to make a new namespace for pagetemplates?

2006-09-08 Thread FB
Hi, On Fri, Sep 08, 2006 at 12:54:14PM +0200, Martijn Pieters wrote: On 9/8/06, FB [EMAIL PROTECTED] wrote: my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our responsibility. Why

Re: [Zope3-Users] How to make a new namespace for pagetemplates?

2006-09-08 Thread Martin Aspeli
FB-5 wrote: my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our responsibility. Why not use a piece of javascript to do this? See the linkpopper product on plone.org for a way

[Zope3-Users] Re: How to make a new namespace for pagetemplates?

2006-09-08 Thread Philipp von Weitershausen
FB wrote: my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our responsibility. Currenty I have to do something like that: a tal:define=linkwriter nocall:context/@@linkwriter

[Zope3-Users] Re: How to make a new namespace for pagetemplates?

2006-09-08 Thread Philipp von Weitershausen
Martin Aspeli wrote: FB-5 wrote: my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our responsibility. Why not use a piece of javascript to do this? See the linkpopper product on

[Zope3-Users] Re: How to make a new namespace for pagetemplates?

2006-09-08 Thread Philipp von Weitershausen
Philipp von Weitershausen wrote: Martin Aspeli wrote: FB-5 wrote: my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our responsibility. Why not use a piece of javascript to do this?

[Zope3-Users] Re: need help on skins

2006-09-08 Thread Philipp von Weitershausen
Denis Shaposhnikov wrote: Stephan == Stephan Richter [EMAIL PROTECTED] writes: page name=details.html permission=zope.AdminView layer=admin_layer template=admin_details.pt/ and page name=details.html permission=zope.UserView layer=user_layer

[Zope3-Users] Re: Zope 3 Distilled book update 3

2006-09-08 Thread Philipp von Weitershausen
Chris Withers wrote: Benji York wrote: Baiju M wrote: (This is about : http://kpug.zwiki.org/Zope3Distilled) I recommend you verify that you can use the Distilled name. I believe computer book titles of that form are protected by an Addison-Wesley trademark. I'm pretty sure a

Re: [Zope3-Users] Re: Zope 3 Distilled book update 3

2006-09-08 Thread Jegenye 2001 Bt (Miklós Prisznyák)
2006/9/8, Philipp von Weitershausen [EMAIL PROTECTED]: I'm pretty sure a trademark like that can't be claimed. You'd be effectively trademarking a dictionary word, and I'm pretty sure that's not allowed...Let's see, looking through the first pages of my English dictionary, it seems that Apple is

Re: [Zope3-Users] need help on skins

2006-09-08 Thread Stephan Richter
On Friday 08 September 2006 04:54, Denis Shaposhnikov wrote: apidoc from 3.3.0b2 said me that layer in the page directive is deprecated:  layer   -  LayerField   (default = None) The layer the view is in. BBB: DEPRECATED What to use instead of? This is a mistake. Could you make a bug

Re: [Zope3-Users] PAU, how to grant roles to groups

2006-09-08 Thread Stephan Richter
On Friday 08 September 2006 02:12, Denis Shaposhnikov wrote:  Stephan You cannot grant permissions via ZCML to principals that are  Stephan located in the ZODB. You have to use the Grant view of the  Stephan folder for this. Oh, that's a bad news. Am I right that Zope3 have principals either

[Zope3-Users] Re: need help on skins

2006-09-08 Thread Philipp von Weitershausen
Stephan Richter wrote: On Friday 08 September 2006 04:54, Denis Shaposhnikov wrote: apidoc from 3.3.0b2 said me that layer in the page directive is deprecated: layer - LayerField (default = None) The layer the view is in. BBB: DEPRECATED What to use instead of? This is a mistake.

Re: [Zope3-Users] PAU, how to grant roles to groups

2006-09-08 Thread Denis Shaposhnikov
Stephan == Stephan Richter [EMAIL PROTECTED] writes: Stephan Right. Note that you do not have to use the Grant Stephan view. You can also grant permissions and roles Stephan programmatically, which is what I am doing in my customer Stephan projects. Could you show a little example of it?

[Zope3-Users] Re: need help on skins

2006-09-08 Thread Philipp von Weitershausen
Philipp von Weitershausen wrote: Stephan Richter wrote: On Friday 08 September 2006 04:54, Denis Shaposhnikov wrote: apidoc from 3.3.0b2 said me that layer in the page directive is deprecated: layer - LayerField (default = None) The layer the view is in. BBB: DEPRECATED What to use

[Zope3-Users] Re: PAU, how to grant roles to groups

2006-09-08 Thread Philipp von Weitershausen
Denis Shaposhnikov wrote: Stephan == Stephan Richter [EMAIL PROTECTED] writes: Stephan Right. Note that you do not have to use the Grant Stephan view. You can also grant permissions and roles Stephan programmatically, which is what I am doing in my customer Stephan projects. Could you

[Zope3-Users] Re: Zope 3 Distilled book update 3

2006-09-08 Thread Chris Withers
Philipp von Weitershausen wrote: I'm pretty sure a trademark like that can't be claimed. You'd be effectively trademarking a dictionary word, and I'm pretty sure that's not allowed... Let's see, looking through the first pages of my English dictionary, it seems that Apple is also a

[Zope3-Users] Re: Zope 3 Distilled book update 3

2006-09-08 Thread Philipp von Weitershausen
Chris Withers wrote: Philipp von Weitershausen wrote: I'm pretty sure a trademark like that can't be claimed. You'd be effectively trademarking a dictionary word, and I'm pretty sure that's not allowed... Let's see, looking through the first pages of my English dictionary, it seems that

Re: [Zope3-Users] How to make a new namespace for pagetemplates?

2006-09-08 Thread Jim Washington
FB wrote: Hi, On Fri, Sep 08, 2006 at 12:54:14PM +0200, Martijn Pieters wrote: On 9/8/06, FB [EMAIL PROTECTED] wrote: my employer want to have all external links marked with a small icon telling anonymous users from the internet that everything behind given links is beyond our

Re: [Zope3-Users] Re: How to make a new namespace for pagetemplates?

2006-09-08 Thread Martijn Pieters
On 9/8/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote: * Solution outside of Zope. Martijn suggested a JavaScript. If you need it to work for non-JavaScript browsers, I suggest a WSGI middleware that checks for text/html data and transforms a elements as needed. You could do the

Re: [Zope3-Users] Re: How to make a new namespace for pagetemplates?

2006-09-08 Thread FB
Hi, On Fri, Sep 08, 2006 at 01:45:45PM +0200, Philipp von Weitershausen wrote: [snip] Write a new TALES expression type (like string: or python:) that constructs link tags. This could like: a tal:replace=structure link:context/url context/urldescription link goes here /a The

Re: [Zope3-Users] Zope 3 as WSGI app using mod_python

2006-09-08 Thread Lennart Regebro
On 7/8/06, Achim Domma [EMAIL PROTECTED] wrote: I'm interested in running Zope 3 via mod_python as WSGI app directly in apache. I like the idea to configure different instances simply in my apache config and don't have to setup different running zope instances. You are gonna have to do that

Re: [Zope3-Users] Blog package

2006-09-08 Thread Lennart Regebro
On 8/17/06, David Pratt [EMAIL PROTECTED] wrote: * Accessing /blog/ will show a list of all posts by reverse date order * Accessing /blog/year/, eg /blog/2006/ will show a listing of posts for just that year. * Accessing /blog/year/month/, eg /blog/2006/12/ will show a listing of

[Zope3-Users] Replacing Macros with Contentprovider

2006-09-08 Thread ksmith93940-dev
Is it possible to use contentproviders as an alternative to macros for providing the look and feel of a site? I thought I saw someone mention something to this affect. Thanks. ksmith ___ Zope3-users mailing list Zope3-users@zope.org

Re: [Zope3-Users] Replacing Macros with Contentprovider

2006-09-08 Thread Stephan Richter
On Friday 08 September 2006 15:07, [EMAIL PROTECTED] wrote: Is it possible to use contentproviders as an alternative to macros for providing the look and feel of a site? I thought I saw someone mention something to this affect. Yes. While we have not completely removed the use of macros yet,

Re: [Zope3-Users] Replacing Macros with Contentprovider

2006-09-08 Thread ksmith93940-dev
Thanks for your reply. So, when you say macros still excel for general O-wrap, do you mean things like style_slot, script_slot and body_slot or do you also include things like header_slot, navigation_slot, breadcrumb_slot and footer_slot as well? I'm a little confused as to whether render() from

Re: [Zope3-dev] Re: [Zope3-Users] How does the static-apidoc script works?

2006-09-08 Thread Stephan Richter
On Thursday 07 September 2006 15:56, Florian Lindner wrote: I terminated it at this point. At the end it gets very slow, about one link every two seconds, but it seems to work. It should take about 30-45 minutes to complete. The warnings should get less, but the internal server error indicates