Re: [Zope] Help needed with news articles

2000-10-22 Thread Bak @ kedai
ode should be in a DTML Method -Original Message- From: Taco Scargo [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Sunday, October 22, 2000 5:23 AM Subject: [Zope] Help needed with news articles Unfortunately nobody responded, so I am reposting this question again. I just n

[Zope] Help needed with news articles

2000-10-21 Thread Taco Scargo
Unfortunately nobody responded, so I am reposting this question again. I just need a link to an example or explanation. Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to

Re: [Zope] Help needed with news articles

2000-10-21 Thread Steve Spicklemire
Hi Taco, How about something like this: dtml-var standard_html_header dtml-let articleList="[]" dtml-in "objectValues(['DTML Document'])" sort=bobobase_modification_time dtml-call "articleList.append(_['sequence-item'])" /dtml-in dtml-in "articleList[-4:]" reverse dtml-var sequence-item

[Zope] Help needed with news articles

2000-10-19 Thread Taco Scargo
Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow