[Zope] Newbie question: dtml or python comand requested

Fernando Fuente Fernando Fuente" <f.fuente@gmx.net
Sat, 26 May 2001 00:40:33 +0200


hi all,

i hope this isn't too trivial. :)

i recently constructed a navigation bar with zope. now i would like to
include a functionality to switch languages. when clicking on a "spanish"
button, the folder ids that are displayed shall be replaced by the values of
a spanish attribute - the corresponding spanish description for the link.
depending on whether spanish content exists for this link either a spanish
or english default document shall be displayed in the right part of the
window. for carrying out this if-query i need to look dynamically - always
when the button is clicked - into the folder level, one level below the
context and search the "spanish_default". so, please, what is the command
(dtml or python) for "starting a search" for a document that is situated in
a folder (which is not known by name, because it changes) one level below
the current context folder. (like  <dtml-if ../spanish_default> do...    ).


thanx,

fernando