newbie DTML - getting properties of another DTML-doc
i am trying to get the bobobase_modification_time of a DTML-document(news) within a folder (content). Tried lots of variants looking like : <!--#with content--> <!--#with news--> <!--#var bobobase_modification_time fmt=fCommon--> <!--#/with--> <!--#/with--> - but this always turns out the bobobase_modification_time for the folder(content) instead of the document (news). What am i doing wrong ?? ------------------------------------------------ Geir B Hansen geirh@funcom.com Web-designer / Graphic artist Funcom Oslo ------------------------------------------------
At 11:35 15/09/99 , Geir B Hansen wrote:
i am trying to get the bobobase_modification_time of a DTML-document(news) within a folder (content). Tried lots of variants looking like :
<!--#with content--> <!--#with news--> <!--#var bobobase_modification_time fmt=fCommon--> <!--#/with--> <!--#/with-->
- but this always turns out the bobobase_modification_time for the folder(content) instead of the document (news). What am i doing wrong ??
Are you sure it is a DTML Document and not a DTML Method? -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
Are you sure it is a DTML Document and not a DTML Method?
-- Martijn Pieters, Web Developer
Absolutely sure. DTML-document, it is. If i put the <#--var bobobase_modification_time --> inside the document and call the document with : <!--#with content--> <!--#var news--> <!--#/with--> ..it works fine ! - but i have to get the bobobase_modification_time from outside the document, and i am totally stuck... I suspect it has to do with the namespace-stack or something, but i have not really grasped that part yet.. ------------------------------------------------ Geir B Hansen geirh@funcom.com Web-designer / Graphic artist Funcom Oslo ------------------------------------------------
At 12:10 15/09/99 , Geir B Hansen wrote:
Are you sure it is a DTML Document and not a DTML Method?
-- Martijn Pieters, Web Developer
Absolutely sure. DTML-document, it is.
If i put the <#--var bobobase_modification_time --> inside the document and call the document with : <!--#with content--> <!--#var news--> <!--#/with--> ..it works fine ! - but i have to get the bobobase_modification_time from outside the document, and i am totally stuck...
I suspect it has to do with the namespace-stack or something, but i have not really grasped that part yet..
Hmm.... How about: <dtml-with content> <dtml-var "news.bobobase_modification_time()"> </dtml-with> -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (2)
-
Geir B Hansen -
Martijn Pieters