Have a look at Products/CMFPlone/skins/plone_prefs/ prefs_users_overview.cpt for some insight, the following lines in particular...

          <tr tal:define="oddrow repeat/this_user/odd;
                                    userid this_user/getUserId;
fullname python: this_user.getProperty('fullname')"
              tal:attributes="class python:test(oddrow,'odd','even')">

-k

On Feb 25, 2006, at 2:53 PM, Ben Hussey wrote:

I have a template that gives the names of all the members - part of this is show below:

   <metal:block tal:repeat="result batch">

                <tr tal:define="name result/getUserName;
portrait python: here.portal_membership.getPersonalPortrait(name)">
                  <td>
                     <span tal:replace="name">member id</span>
                  </td>
                  <td>
<span tal:define="acl_path python: here.portal_url() + '/acl_users/manage_users?name=' + name + '&submit=Edit';"> <a href="#" tal:attributes="href acl_path">...</a>
                    </span>
                  </td>
<td><a tal:attributes="href string:mailto:$ {result/email}"><span tal:content="result/email">email</span></a></td>

               </tr>

          </metal:block>

This what I want it to do is give the full names of the users' rather that the login names which it currently displays.
Can anyone help me
Thanks
Ben


_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to