[Zope] python expression in tal:attributes
Jens Vagelpohl
jens at dataflake.org
Wed Aug 30 08:36:09 EDT 2006
-----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 'Catalog'. The URL grows up like
> http://localhost:8080/Site/Catalog/Catalog/Catalog/..../index.html
> How can I say that the Catalog folder is just under
> the Site folder?
You're using relative paths, and that's bad. You should only ever use
fully qualified paths, like "/path/to/item" instead of "to/item".
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFE9YY6RAx5nvEhZLIRApUVAKCbUe2UjZHET2FQUXQvZQnoFsF4cwCgnocs
UhTnhhY2UcDG1jRNtkGVx4k=
=smrZ
-----END PGP SIGNATURE-----
More information about the Zope
mailing list