Re: [Zope] Make a Zope Staging Server

2007-04-24 Thread [EMAIL PROTECTED]
-- Initial Header --- From : Andreas Jung [EMAIL PROTECTED] To : [EMAIL PROTECTED],akm [EMAIL PROTECTED] Cc : zope zope@zope.org Date : Mon, 23 Apr 2007 21:30:54 +0200 Subject : Re: [Zope] Make a Zope Staging Server --On 23. April 2007

Re: [Zope] Make a Zope Staging Server

2007-04-24 Thread [EMAIL PROTECTED]
--On 23. April 2007 17:41:42 +0200 [EMAIL PROTECTED] wrote: I'm looking for a solution (perhaps a script) that synchronize my ZODBs (maybe file copy?) ZSyncer? -aj I don't know it but it seems the tool I'm looking for... /j That's perfect! Thanks a lot Jary

[Zope] extract page title

2007-04-24 Thread Dean Hale
Hi I'm trying to implement some web tracking code within a page template, however a little stuck. In the code below i'd like to append the page template - page title between the title tags dynamically rather than having to manually add to each page script language='JavaScript1.1'

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 24. April 2007 15:05:49 +0100 Dean Hale [EMAIL PROTECTED] wrote: Hi I'm trying to implement some web tracking code within a page template, however a little stuck. In the code below i'd like to append the page template - page title between the title tags dynamically rather than having

Re: [Zope] extract page title

2007-04-24 Thread Dean Hale
Hi Andreas, Thanks, will try basically if i have some zpt pages with the tiltle titleINTRODUCTION/title titleABOUT/title somehow within below the page title should be appended after 'websitename.' script language='JavaScript1.1' type='text/javascript' noscript img

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 24. April 2007 15:25:24 +0100 Dean Hale [EMAIL PROTECTED] wrote: Hi Andreas, Thanks, will try basically if i have some zpt pages with the tiltle titleINTRODUCTION/title titleABOUT/title somehow within below the page title should be appended after 'websitename.' script

Re: [Zope] extract page title

2007-04-24 Thread Dean Hale
Hi Andreas, Thanks - i know the title does not belong in a script tag, i just want the text within the title tag appended within the javascript, not the tags themselves. Sorry its my explanations for help that are unclear. thanks dan On 24 Apr 2007, at 15:35, Andreas Jung wrote:

Re: [Zope] extract page title

2007-04-24 Thread Jeff Rush
Andreas Jung wrote: --On 24. April 2007 15:25:24 +0100 Dean Hale [EMAIL PROTECTED] wrote: basically if i have some zpt pages with the title titleINTRODUCTION/title titleABOUT/title somehow within below the page title should be appended after 'websitename.' script

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 24. April 2007 15:40:22 +0100 Dean Hale [EMAIL PROTECTED] wrote: Hi Andreas, Thanks - i know the title does not belong in a script tag, i just want the text within the title tag appended within the javascript, not the tags themselves. Sorry its my explanations for help that are

Re: [Zope] extract page title

2007-04-24 Thread Maciej Wisniowski
Hi Andreas, Thanks - i know the title does not belong in a script tag, i just want the text within the title tag appended within the javascript, not the tags themselves. Sorry its my explanations for help that are unclear. I'm not sure if I understand you but... Where title tag content

Re: [Zope] extract page title

2007-04-24 Thread Philip Kilner
Hi Dean, Dean Hale wrote: I'm trying to implement some web tracking code within a page template, however a little stuck. In the code below i'd like to append the page template - page title between the title tags dynamically rather than having to manually add to each page script

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 24. April 2007 09:56:41 -0500 Jeff Rush [EMAIL PROTECTED] wrote: I don't see above him putting a title tag within the script tag. He wants to put the *value* of the title tag inside the script tag. It seems some form of a string: expression would do it, assuming the title is not

Re: [Zope] extract page title

2007-04-24 Thread Jeff Rush
Andreas Jung wrote: As far as I can recall: you can't use TALES within a SCRIPT block. That's why you must generate your stuff outside inside a script. Ah thanks I wasn't aware of that exclusion, never having tried it or found it documented. Then yes your approach is the only one left.

Re: [Zope] extract page title

2007-04-24 Thread Andreas Jung
--On 25. April 2007 00:41:19 -0500 Jeff Rush [EMAIL PROTECTED] wrote: Andreas Jung wrote: As far as I can recall: you can't use TALES within a SCRIPT block. That's why you must generate your stuff outside inside a script. Ah thanks I wasn't aware of that exclusion, never having tried it

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod. To aid debugging, generate the facade with the same name as the original callable

2007-04-24 Thread Martijn Pieters
Log message for revision 74715: To aid debugging, generate the facade with the same name as the original callable Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py U Zope/trunk/lib/python/AccessControl/requestmethod.txt -=- Modified:

[Zope-dev] Zope Tests: 1 OK

2007-04-24 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Mon Apr 23 12:00:00 2007 UTC to Tue Apr 24 12:00:00 2007 UTC. There was 1 message, from Zope Unit Tests Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Mon Apr 23 20:05:47 EDT 2007 URL:

[Zope-dev] Re: ZClassNG proposal makes Archetypes Easy.

2007-04-24 Thread Laurence Rowe
I actually think TTW schema generation has some validity (so content types can be easily generated by users). Restricted Python (in python scripts) just kind of sucks though for being almost python but a little different. You could keep python code on the filesystem seperate and just write

[Zope-dev] Re: ZClassNG proposal makes Archetypes Easy.

2007-04-24 Thread Ross Patterson
Laurence Rowe [EMAIL PROTECTED] writes: I actually think TTW schema generation has some validity (so content types can be easily generated by users). Restricted Python (in python scripts) just kind of sucks though for being almost python but a little different. You could keep python code on

Re: [Zope-dev] Re: ZClassNG proposal makes Archetypes Easy.

2007-04-24 Thread Lennart Regebro
On 4/24/07, Laurence Rowe [EMAIL PROTECTED] wrote: I actually think TTW schema generation has some validity (so content types can be easily generated by users). Totally. What Christopher needs can be done with for example CPS, quite easily, and maybe with Plone as well, if there is a TTW

Re: [Zope-dev] Re: ZClassNG proposal makes Archetypes Easy.

2007-04-24 Thread Andreas Jung
--On 25. April 2007 07:48:04 +0200 Lennart Regebro [EMAIL PROTECTED] wrote: On 4/24/07, Laurence Rowe [EMAIL PROTECTED] wrote: I actually think TTW schema generation has some validity (so content types can be easily generated by users). Totally. What Christopher needs can be done with

[Zope-PAS] PluginRegistry 1.1.2 Released (was Re: PAS 1.4.2 Released)

2007-04-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: I have also released PluginRegistry 1.1.2, with the following fixes: - Drop previously-activated plugins from the list returned from listPlugins when they no longer implement the plugin interface.