[Zope] couple of newbie questions on implementing zope

Maik Jablonski maik.jablonski@uni-bielefeld.de
Thu, 18 Jul 2002 22:07:50 +0200


David Walker wrote:

>Hello -
>I understand that the development of a site can be done on my Windows
>workstation, but once it goes live, doesn't the site need to be moved to a
>real server? So my ISP would need to have Zope installed, yes?  Seems
>obvious but I wanted to check.  ;-)
>
yes, you are right..

>I'm creating a simple newsletter site and it seems like Zope would be
>perfect.  As new articles are written, the old ones need to be moved to an
>archive page. If I understand correctly, this procedure would be easy with
>Zope. If each article is contained within its own folder, they could be
>simply dragged from one location to another using the Zope control panel.
>My question is this, if this simple newsletter page has four positions for
>articles, how do I control where on the page the articles appear.
>
main idea for two news-folders:

- create 2 news-folders with id's =  right, left

- put your news as simple [without header & body-tags] html-formatted 
documents [use DTMLDocument and clear everything before typing 
anything...;-)] in the folders or move them around between them

- write a index_html in your ROOT-Folder which renders a table for your 
news:

 <table>
 <tr>
 <td>Left Side</td> <td>Right</td>
 </tr>
 <td>
   <dtml-with left>
    <dtml-in objectValues>
     <dtml-var sequence-item>
     <hr>
    </dtml-in>
    </dtml-with>
</td>
<td>
   <dtml-with right>
    <dtml-in objectValues>
     <dtml-var sequence-item>
     <hr>
    </dtml-in>
    </dtml-with>
</td>
</tr>
</table>

that should give you an idea... maybe you can divide your big question 
into simpler ones next time... would be easier to write an answer this 
way...;-)

greetings, maik