Hello all,
I have added a few properties to my memberdata, namely "organization" and "region." I am trying to update the author.cpt template (e.g. what you see when you click on a users name anywhere in the site) to display these new fields. However I have run into a stumbling block; this template calls the function mtool.getMemberInfo to bring in member properties and it doesn't include any custom. Indeed, I checked out MembershipTool.py and the function politely tells me
"""
Return 'harmless' Memberinfo of any member, such as Full name, Location, etc.
"""
How do I gain access to my additional properties?
The author.cpt template has the following defined:
mtool - I assume this means membership tool
author - A string with the author name
I would think I should try to get the member object then call member.getProperty for each of my properties. However I don't know how to get the member object.
Thanks,
Kevin