[Zope] Help needed with news articles
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 I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Help needed with news articles
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 find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I am not getting there. It is probably not so difficult. If there is somebody how can help me or give me a link to a clear explanation or example I would be very very grateful. Thanks ! Taco ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help needed with news articles
Hi Taco, How about something like this: > "Taco" == Taco Scargo <[EMAIL PROTECTED]> writes: Taco> Unfortunately nobody responded, so I am reposting this Taco> question again. I just need a link to an example or Taco> explanation. Taco> Basically I want to create a page listing the last 4 Taco> articles from a Zope folder. The articles need a publish Taco> from/to field, title and (dtml) text. I somehow need to be Taco> able to find and display the article from another dtml Taco> document. I read many FAQs and tried working with zcatalogs, Taco> but somehow I am not getting there. It is probably not so Taco> difficult. If there is somebody how can help me or give me a Taco> link to a clear explanation or example I would be very very Taco> grateful. Thanks ! Taco> Taco Taco> ___ Zope Taco> maillist - [EMAIL PROTECTED] Taco> http://lists.zope.org/mailman/listinfo/zope ** No cross Taco> posts or HTML encoding! ** (Related lists - Taco> http://lists.zope.org/mailman/listinfo/zope-announce Taco> http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help needed with news articles
Hey Taco, Try this... - Mix in your own elements where 'news' is a folder with news documents/methods in it. Add new properties for the from to if you want. You also might want to check out the Yihaw Product which does and has code for all of this. http://www.zope.org/Members/Roug/Yihaw Cheers, J At 2:08 PM -0700 10/21/2000, Taco Scargo wrote: >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 find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help needed with news articles
try kmnetnews from zope.org/Products or you can use dtml document to construct a simple news item. (and other stuff/properties) the above code 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 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 find and display the article from another dtml >document. I read many FAQs and tried working with zcatalogs, but somehow I >am not getting there. It is probably not so difficult. If there is somebody >how can help me or give me a link to a clear explanation or example I would >be very very grateful. Thanks ! > >Taco > > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )