Hi!
I need to be able to display items from the blog
elsewhere in my Zope site.
I am using the codesyntax-modified COREBlog.
My COREBlog is located at /xyz/blog.
>From /xyz I tried:
<dtml-with blog>
<dtml-var recent_entries>
</dtml-with>
That gave me:
KeyError: 'recent_entries'
So I knew something was strange.
Then I tried:
<dtml-var blog>
That gave me:
[<mybrains instance at 109d7790>, <mybrains instance
at 109d75f0>, <mybrains instance at 109d77d0>,
<mybrains instance at 109d7630>]
Fair enough, my COREBlog has four entries...
So I tried:
<dtml-in blog>
<dtml-var recent_entries>
</dtml-in>
That gave me 4 times the four entries.
Finally, this gave me what I wanted :
<dtml-in blog size="1">
<dtml-var recent_entries>
</dtml-in>
But why? Any insight appreciated,
Ken
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]