-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 30 Aug 2006, at 15:26, Ferhat Ayaz wrote:
Thanks to all. Now I extracted the links to a python
script like
url = container.Site.absolute_url()
return {
url+'/Catalog/index.html': 'Catalog',
url+'/Members/index.html': 'Members',
url+'/Orders/
Thanks to all. Now I extracted the links to a python
script like
url = container.Site.absolute_url()
return {
url+'/Catalog/index.html': 'Catalog',
url+'/Members/index.html': 'Members',
url+'/Orders/index.html': 'Orders',
}.items()
and this works fine. index.html was just an example.
I'll chan
--On Mittwoch, 30. August 2006 04:32 -0700 Ferhat Ayaz
<[EMAIL PROTECTED]> wrote:
yes, you're right. With define it works. Below is the
same code with define. Thank you.
But now I have another problem (actually my main
problem). For instance,if you click more and more on
the link 'Catalog'.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 30 Aug 2006, at 14:40, Ferhat Ayaz wrote:
but my site root is /Site and not /, which can be
changed later.
Should I define this as a variable, or is there a
better way?
Yes there is. Ditch hardcoded strings and ask the objects themselves
for
but my site root is /Site and not /, which can be
changed later.
Should I define this as a variable, or is there a
better way?
thanks,
Ferhat
--- Jens Vagelpohl <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> On 30 Aug 2006, at 13:32, Ferhat Ayaz wrote:
>
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 30 Aug 2006, at 13:32, Ferhat Ayaz wrote:
yes, you're right. With define it works. Below is the
same code with define. Thank you.
But now I have another problem (actually my main
problem). For instance,if you click more and more on
the link 'Ca
yes, you're right. With define it works. Below is the
same code with define. Thank you.
But now I have another problem (actually my main
problem). For instance,if you click more and more on
the link 'Catalog'. The URL grows up like
http://localhost:8080/Site/Catalog/Catalog/Catalog//index.htm
--On 30. August 2006 04:18:53 -0700 Ferhat Ayaz <[EMAIL PROTECTED]>
wrote:
this is _of course_ not working because of
${python:item[0]}. It's illegal.
Why don't you use a tal:define inside the same tag to bind the value of
this expression to a variable and use this variable inside tal:a
Hi,
I have a question. I really don't know how to solve
this problem. I have
link name
this is _of course_ not working because of
${python:item[0]}. It's illegal. But with this
expression I want to show what I want to do: I want to
add a python expression to a string.
How can I do th