[Zope-CMF] default index_html behavior- weird

Kelley, Sean SKelley@ci.santa-rosa.ca.us
Fri, 20 Sep 2002 16:01:22 -0700


I have noticed that within a particular folder of my cmf site, the bulleting
display for documents, images, news, etc is different depending on if the
user is Guest or authenticated.  If the user is guest, the next document is
bulleted again making it so that every item gets indented and has the
Documents, Images, and Files heading .  This is the stock code as far as I
can tell and so I am a little confused because other folders with multiple
documents behave as you would expect.  If I delete some files then sometimes
the heading for the file list does not display at all and the ul portion of
the bulleting is left out.  Obviously this is a permissions issue but I am a
little stumpted.  Either the sequence-start is true for every item in the
"in" or it is false for every item if a particular file is pulled out.

<dtml-if sequence-start> 
<h3> Documents, Images, and Files </h3>
<ul></dtml-if>
  <li> <a href="&dtml-absolute_url;"
  ><img align="middle" src="&dtml-portal_url;/&dtml-getIcon;"
        alt="&dtml-Type;" title="&dtml-Type;" border="0"></a> <a
href="&dtml-absolute_url;"> 
    <dtml-var Title> </a> <dtml-if name="Description"> 
    
    <br><font size=-2>
    <dtml-var Description> </font>

    </dtml-if> </li><dtml-if sequence-end>
  
</ul></dtml-if>



Sean