Hi! I'm a newcomer to the Zope community, and discovered this powerful application just two weeks ago. Just a brief look at the documentation and features convinced me that this was the right choice for building a dynamic webpage. Starting to comprehend the functionality of Zope, I've run into some obstacles I was hoping someone could help me with. #1 I've created a product for news-articles that have a property sheet with properties such as date, author, title and content. The constructor-form let's you fill in the entire property sheet, but once you've filled out the blanks, I want Zope to store the product in the folder "news/yy-mm/" (year-month that is) no matter where the product was added. How do i achieve this? <dtml-with "Nyhet.createInObjectManager(REQUEST['id'], REQUEST)"> <dtml-call "propertysheets.psNyhetsartikkel.manage_editProperties(REQUEST)"> <dtml-call reindex_obect> </dtml-with> #2 As good as every news article will have a number of images displayed in it, and I'm wondering how I best can associate an image with the article. If I've understood correctly, I could let the newsarticle-class inherit the Object Manager property and contain the images, but is this a good approach? Thanks in advance, Oystein W. Hoie
participants (1)
-
Øystein W. Høie