[Zope] dtml and paths
Colin Fox
cfox@crystalcherry.com
29 Mar 2002 12:23:31 -0800
--=-QlBNZLxs7GFdzxOrdTUe
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi, everyone.
I've got an images directory in my root, and different directories
within it (top, mainbody) for organizing my images.
I'd really like to reference them like this (from my root folder):
<dtml-var name=3D"images/top/logo_png">
but apparently I can't use / in a name. So how exactly do I reference
these images? I can do this:
<IMG src=3D"&dtml-URL1;/images/top/logo_png">
but that seems kind of hacky, considering the DTML system is supposed to
inherently know how to deal with images.
Any help would be appreciated. Thanks!
--=20
Colin Fox cfox@crystalcherry.com
CF Consulting Inc. GPG Fingerprint:
D8F0 84E7 E7CC 5C6C 9982 F1A7 A3EB 6EA3 BC97 572F
--=-QlBNZLxs7GFdzxOrdTUe
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA8pM1Do+tuo7yXVy8RAnlgAJ9AAHgJbmrFzCPeoGgs9VilOpeM2ACgo4Se
/D/5NKBV3pmp5+W0YeKWOuU=
=S4ac
-----END PGP SIGNATURE-----
--=-QlBNZLxs7GFdzxOrdTUe--