I have an idea of new Zope DTML object with specific things. Dear Zope
developers, please take attention to following lines:
Imagine folder structure as
All three DTML* contains same code:
<img scr="<dtml-var absolute_URL>/image.gif">
Imagine what is doing that DTML Document or DTML Method are called from
inside of /folder11. DTML Document make bad, but still functional (due
acquisition) link to image.
But DTML Relation will still give that same output, independent from where
you call it:
Output is still independend from where you calling that DTMLRelation and
give you right URL paths (relative or basolute).
I think that DTML Relation (or you can call it better) should be very
usefull, for example:
1. for navigation structure when you want to have constant navigation
buttons what are dynamically generated from folder structure that have
strong changes in any folder names
2. for image menus, where it give right path to images folder instead of
etc. (I now, you can specify path with <dtml-var BASE1>/images/image.gif)
Many thanks for your kindly attention.
If it have simple solution by standard DTML code, let me know that code,
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -