ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-cmf
zope-cmf
[Zope-PTK] Member Roster for Membership
by Michael Bernstein other posts by this author
Sep 26 2000 5:20PM messages near this date
Re: [Zope-PTK] Apache + Zserver + SiteAccess + Search results from the catalog | Re: [Zope-PTK] Member Roster for Membership
I swiped some code out of the ManageMembers method in Membership, and
I'm trying to implement a functional member roster as the index_html of
a 'members' folder.

the code fragment in question is this:

<dtml-in getMembers sort=id > 
<tr> 
 <td> 
 <dtml-if "getUserName"> 
 <a href="/members/&dtml-getUserName;/">  <dtml-var getFullName>
(&dtml-getUserName;) </a> 
 <dtml-else> 
 <dtml-var getFullName>  (&dtml-getUserName;)
 </dtml-if> 
  </td> 
</tr> 
</dtml-in> 

I want the <dtml-if>  to test for the existence of a folder (contained
within /members) that has an identical id as the member. That way this
will display a link only if they have a folder.

Any help to do this would be appreciated.

Thanks,

Michael Bernstein.
Thread:
Michael Bernstein
Bill Anderson
Michael Bernstein
Bill Anderson

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved