[Zope-CMF] How do one displays member e-mails

Norman Khine khine@btinternet.com
Sat, 23 Jun 2001 21:21:26 +0100


Thanks Flint,
This is great, if I want to display just the current logged in user
e-mailwhat should follow the portal_member.

will it be something like getAuthenticatedMember

I am asking because, I would like to add to the index_html page for each
Member all their contact details, so that when they are listed, and a user
views any of their items and link to the created by url they will be taken
to a preformated home page where the details of the member will be listed.
Something like:

<dtml-var standard_html_header>
<dtml-in expr="portal_membership.?????()">
<html>
<table width="22%" border="0">

  </tr>
  <td width="34%" height="290">
    <p align="left"><font face="Verdana, Arial, Helvetica, sans-serif"
color="#024929" size="5"><b><font color="#6666FF" size="3"><dtml-var
full_name><br>
      <font size="2"><dtml-var job_title></font></font></b> </font></p>
    <p align="left"> <b><dtml-var company></b><br>
      <dtml-var street_name><br>
      <dtml-var address><br>
      <dtml-var town><br>
      <dtml-var county></p>
    <p align="left"><dtml-var post_code></p>
    <p align="left">Tel: <dtml-var telephone><br>
      Fax: <dtml-var fax></p>
    <p align="left"><font size="-1"
    face="Verdana, Arial, Helvetica, sans-serif"><b><A
HREF="mailto:<dtml-var email>?subject=Enquiry from CMF Interactive Web
site"</A><dtml-var email></b>
      </font>
  </td>
  </tr>
</table>
</html>


Thanks

Norman
-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Flynt
Sent: 23 June 2001 19:59
To: Norman Khine
Cc: zope-cmf@zope.org
Subject: Re: [Zope-CMF] How do one displays member e-mails


Norman Khine wrote:
>
> Hello,
> I would like to know how to display the listed member e-mails.
>
> Thanks
>
> Norman

Hi Norman

Maybe you would like to try this in a DTML method:

<dtml-var standard_html_header>
<dtml-in expr="portal_membership.listMembers()">
  Email of Member <dtml-var sequence-item> is: <dtml-var email><br>
</dtml-in>
<dtml-var standard_html_footer>


--- Flynt

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests