[Zope-CMF] Displaying portal content
Gitte Wange
gitte@mmmanager.org
18 Apr 2001 15:21:29 +0200
On 18 Apr 2001 15:03:51 +0200, Peter Blomert wrote:
> >
> >Okay I put in <dtml-var /mymediaman/about/intro> and saves the page. But
> >then I get a key error. Well why isn't this folder "availiable" to the
> >skin ? Must I put the intro file in the generic skin folder ?
>
> this cant work because the folder /mymediaman/about/intro isnt in the Container, CMF is looking for variables names. You need to attach the namespace of your folder (intro) with the "with"-tag.
>
> cu online
>
> Peter
Hmmm ... I just did this:
<dtml-with About>
<dtml-var intro>
</dtml-with>
It doesn't display anything in the browser window, but when you look at
the source there is this tag where the content of the document should
be:
<Document instance at 8b43898>
What is this - and how does this make me display the document ?
--
************************
Gitte Wange Jensen
System Squid Developer
MMManager Aps
+45 29 72 79 72
gitte@mmmanager.org
************************