[Zope-CMF] How do I render a page depending on the Member type

Norman Khine norman@khine.net
Thu, 31 May 2001 16:36:20 +0100


Hello
I am having trouble understanding how the actions_box works. I have created
an additional left_nav_bar which I want to render only when the user is
logged in.

The way I did this was:


<dtml-if global_actions>
 <tr class="&dtml-AuthClass;">
  <td>
   <dtml-in global_actions mapping>
    <a href="<dtml-var url>"><dtml-var name></a><br>
   </dtml-in>
  </td>
 </tr>

<dtml-var left_nav_bar>


</dtml-if>


This works, until I uncheck the UNDO previliges for the Member, then the
above does not render.

Can someone be kind enough to explain how I can create an independant
left_nav_bar that checks the user authentication before it is rendered.

Many thanks

Norman