[Zope] personalize Home Page

eric.n.dunn@bankofamerica.com eric.n.dunn@bankofamerica.com
Tue, 04 Jun 2002 08:03:29 -0400


This is what I use to pull the last 3 dates from my squishdot site (without
stuff in parens)

<dtml-with expr="squishdot_site">    (squishdot folderish/object)
              <dtml-var articles_html>        (copied code from
"squishdot/rightbox_methods/prev_articles)
              </dtml-with>                             (close tag)

Same concept with my CMF site

<dtml-with expr="CMF">
         <dtml-var cmf_news>
           </dtml-with>


I pull both CMF News and Squishdot News to my front page.  Anyone posting to
 my CMF or Squishdot site will see there posting headline on the fron page.






"Santagostino Pretina, Luca" <lsantagostino@activa3.net> on 06/04/2002
06:35:31 AM

To:   "'zope@zope.org'" <zope@zope.org>
cc:
Subject:  [Zope] personalize Home Page



Hi list,
I am new to Zope and I am stuck with this problem:
I have created folders and subfolders and I now need to retrieve the content
of these subfolders and display it in the home page.
Let's say I have 4 different folders, each one has 3 subfolders and each
subfolder has a list of articles or news_items.
How can I import the content of the last article published in a specified
subfolders, in the homepage? or the last news_item published in a specified
subfolder into the index_html of the homepage?

thanks for helping
Luca


_______________________________________________
Zope maillist  -  Zope@zope.org
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 )