Re: [Zope] use path function on a python script

2008-10-14 Thread Dieter Maurer
Garito wrote at 2008-10-12 17:13 +0200: This is like KSS question: why we resolve a question with the first way we find? I do not think that this was the case for KSS. When KSS was developped, there already have been lots of solutions -- but not satisfactory ones when you want only small

Re: [Zope] use path function on a python script

2008-10-12 Thread Dieter Maurer
Garito wrote at 2008-10-11 16:39 +0200: Did you imagine another way to do what I need to do? I have not followed intensively what you need to do. Thus, what follows may not be adequate. When I remember right, then a PageTemplate's namespace is passed on to a Script (Python) when this script

Re: [Zope] use path function on a python script

2008-10-12 Thread Garito
This is like KSS question: why we resolve a question with the first way we find? not the better one? Is the human being. But as Steve Jobs said some time ago: only excelence people don't stop in the first way to resolve a problem When I meet Zope for the first time I was absolutely impress with

Re: [Zope] use path function on a python script

2008-10-11 Thread Dieter Maurer
Garito wrote at 2008-10-8 10:46 +0200: How can I import the TALES funcion path on a python script? You cannot -- while it looks like a normal function, it not really is one. path gets a string but interprets this string with knowledge about the template's namespace. This shows you that some

Re: [Zope] use path function on a python script

2008-10-11 Thread Garito
Did you imagine another way to do what I need to do? 2008/10/11 Dieter Maurer [EMAIL PROTECTED] Garito wrote at 2008-10-8 10:46 +0200: How can I import the TALES funcion path on a python script? You cannot -- while it looks like a normal function, it not really is one. path gets a string

Re: [Zope] use path function on a python script

2008-10-08 Thread Andreas Jung
Am 08.10.2008 4:46 Uhr, Garito schrieb: Hi! How can I import the TALES funcion path on a python script? I would like to use the path function on a python script. The same path function I can use on page templates Imagine this TALES expression: python: path(a/concrete/path) Can I use it on a

Re: [Zope] use path function on a python script

2008-10-08 Thread Andreas Jung
Am 08.10.2008 7:36 Uhr, Garito schrieb: Sorry Andreas but I can't modify portal_css Everything can be modified. -aj begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:[EMAIL PROTECTED]

Re: [Zope] use path function on a python script

2008-10-08 Thread Tino Wildenhain
Garito wrote: 2008/10/8 Tino Wildenhain [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Garito wrote: Perhaps is better if I explain you what I'm trying to do Imagine a Plone site (I know there are a plone list but this is a generic question, sorry if not) I

[Zope] use path function on a python script

2008-10-08 Thread Garito
Hi! How can I import the TALES funcion path on a python script? I would like to use the path function on a python script. The same path function I can use on page templates Imagine this TALES expression: python: path(a/concrete/path) Can I use it on a python script? Thanks! -- Mis Cosas

Re: [Zope] use path function on a python script

2008-10-08 Thread Tino Wildenhain
Garito wrote: Perhaps is better if I explain you what I'm trying to do Imagine a Plone site (I know there are a plone list but this is a generic question, sorry if not) I configure it in the way if you put a parameter ?print the plone point renders as when you push the print button at the

Re: [Zope] use path function on a python script

2008-10-08 Thread Garito
I'm agree with you, Tino. Plone has a lot of ugly features (as KSS, for instance) Perhaps someone has a better solution for this issue I only want to generate a PDF with the print view of a plone point Plone2PDF will be ok but only works with Plone 2.5 or less 2008/10/8 Tino Wildenhain [EMAIL

Re: [Zope] use path function on a python script

2008-10-08 Thread Garito
Perhaps is better if I explain you what I'm trying to do Imagine a Plone site (I know there are a plone list but this is a generic question, sorry if not) I configure it in the way if you put a parameter ?print the plone point renders as when you push the print button at the bottom of the point

Re: [Zope] use path function on a python script

2008-10-08 Thread Garito
Everything can be possible but I like non-intrusive solutions and modify the portal_css will be a heavy-intrusive way I'm thinking about it but if someone has an *as non-intrusive as possible* solution will be very appreciate Thanks! 2008/10/8 Andreas Jung [EMAIL PROTECTED] Am 08.10.2008 7:36

Re: [Zope] use path function on a python script

2008-10-08 Thread Andreas Jung
Am 08.10.2008 7:17 Uhr, Garito schrieb: 2008/10/8 Tino Wildenhain [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Garito wrote: Perhaps is better if I explain you what I'm trying to do Imagine a Plone site (I know there are a plone list but this is a generic question,

Re: [Zope] use path function on a python script

2008-10-08 Thread Garito
Sorry Andreas but I can't modify portal_css 2008/10/8 Andreas Jung [EMAIL PROTECTED] Am 08.10.2008 7:17 Uhr, Garito schrieb: 2008/10/8 Tino Wildenhain [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Garito wrote: Perhaps is better if I explain you what I'm trying to do

Re: [Zope] use path function on a python script

2008-10-08 Thread Garito
2008/10/8 Tino Wildenhain [EMAIL PROTECTED] Garito wrote: Perhaps is better if I explain you what I'm trying to do Imagine a Plone site (I know there are a plone list but this is a generic question, sorry if not) I configure it in the way if you put a parameter ?print the plone point