Alan Warren wrote:
On 11/18/05, Chris Withers [EMAIL PROTECTED] wrote:
Alan Warren wrote:
single image into a folder. So, I have a folder called view. When an
image is viewed the URL looks like
/some_album/some_pic.jpg/view/?display=large
The code looks like this:
span tal:define=imgName
Alan Warren wrote:
single image into a folder. So, I have a folder called view. When an
image is viewed the URL looks like
/some_album/some_pic.jpg/view/?display=large
The code looks like this:
span tal:define=imgName python:request['URL2'][len(request['URL3']+1:]
span tal:define=global
On 11/18/05, Chris Withers [EMAIL PROTECTED] wrote:
Alan Warren wrote:
single image into a folder. So, I have a folder called view. When an
image is viewed the URL looks like
/some_album/some_pic.jpg/view/?display=large
The code looks like this:
span tal:define=imgName
Mark Gibson wrote:
However, what I'm looking for is being able to take a string such as
'div tal:content=here/absolute_urlThe url/div'
and be able to evaluate the TALES expression in the string to produced
something like: 'divhttp://mydomain.com/theUrl/div'
Any chance there's a recipe for
Hi,
I'm not sure I entirely understand the goal here either, but you may
want to look into the path method.
Here's what I recently had to use it for.
I'm building a little photo album application for my sister, it
supports nested albums. I had a page template called view I was using
as a
Paul Winkler wrote:
On Mon, Nov 14, 2005 at 01:19:18PM -0700, Mark Gibson wrote:
I would like to be able to render an arbitrary string as tal, having the
tal statements evaluated correctly.
How would I go about doing this?
I assume you mean TALES expressions.
See:
Mark Gibson wrote at 2005-11-14 13:19 -0700:
I would like to be able to render an arbitrary string as tal, having the
tal statements evaluated correctly.
How would I go about doing this?
You create a Products.PageTemplates.ZopePageTemplate.ZopePageTemplate
with the string as text, put it into
On Mon, 2005-11-14 at 13:38, Paul Winkler wrote:
On Mon, Nov 14, 2005 at 01:19:18PM -0700, Mark Gibson wrote:
I would like to be able to render an arbitrary string as tal, having the
tal statements evaluated correctly.
How would I go about doing this?
I assume you mean TALES
On Tue, Nov 15, 2005 at 06:20:39PM -0700, Mark Gibson wrote:
On Mon, 2005-11-14 at 13:38, Paul Winkler wrote:
On Mon, Nov 14, 2005 at 01:19:18PM -0700, Mark Gibson wrote:
I would like to be able to render an arbitrary string as tal, having the
tal statements evaluated correctly.
I would like to be able to render an arbitrary string as tal, having the
tal statements evaluated correctly.
How would I go about doing this?
--
Mark Gibson [EMAIL PROTECTED]
___
Zope maillist - Zope@zope.org
On Mon, Nov 14, 2005 at 01:19:18PM -0700, Mark Gibson wrote:
I would like to be able to render an arbitrary string as tal, having the
tal statements evaluated correctly.
How would I go about doing this?
I assume you mean TALES expressions.
See:
http://zopelabs.com/cookbook/1037762730
--
11 matches
Mail list logo