Skip to content

mxm, IT's mad science

Sections
Personal tools
You are here: Home » Products » Open Source » mxmContacts » View all people in particular organisation
Downloads
You can download mxm products here.

Due to it's technical and international nature, this section is in english.

Max M Has a blog too.

og er glad for mad

 

Comment

Above in this comment thread: mxmContacts

View all people in particular organisation

Posted by Anonymous User at 2006-06-22 10:01 PM
Max,

excellent product. I have a feature request that maybe you think would be useful.

Would it be possible to make a view that lists all of the contacts within the organisation selected? eg, you are looking at the organisation info for CompanyXYZ. On the same page or by clicking on a link, display a list of all of the contacts that work for CompanyXYZ.

Also, I would like to allow anyone who us logged in to add contact information. I have changed the permissions for mxmContacts add & edit to authenticated, but i cannot add contacts when logged in. How do I do it?

Jason

The infrastructure is allready there

Posted by maxm at 2006-06-23 09:44 AM
def getContactPersons(self):
"Returns list of ContactPerson under this organization"

So this code should display them:

<div tal:repeat="person here/getContactPersons"
tal:content="person/title_or_id"/>

It should be pretty simple to add that to a custom 'mxmContacts_organization_view'