[Zope] TAL DTML Method & folder question
    Dylan Reinhardt 
    zope at dylanreinhardt.com
       
    Thu Nov  6 11:31:45 EST 2003
    
    
  
On Thu, 2003-11-06 at 07:53, Martin Koekenberg wrote:
> This code has to show the last 3 news items (DTML Document's).
> Something is going wrong with a folder or somethin like that because the 
> DTML Method show no news items. Mayby because there are no DTML Document 
> with the right properties in the root.
Maybe so.  First rule of troubleshooting is to test your assumptions.
Start simply... get a list of objects and display their ids... next,
restrict the type of object... once that works, restrict by properties,
number returned, etc.  Somewhere along the way, you'll figure out what
you've done wrong.
HTH,
Dylan
    
    
More information about the Zope
mailing list