Adding a new individual or a new organisation is currently done using modal dialogs. This approach was problematic for several reasons:
The new version of Add Contacts will remove the use of the modal and instead use dedicated pages for adding individuals and organisations. This will be:
This is implemented using new form modes for the User entity (add_contact_individual
and add_contact_organisation
). These form modes then embed their respective profiles. Profile files are then configured with new form modes on the crm_org
and crm_indiv
profiles (add_contact
).
Old behaviour and new are swapped out via a configuration setting (contacts.configuration.add_contact_form_type
) which can either be legacy
or current
. If no value is set, it defaults to legacy
for backwards compatibility. A fresh install of contacts will set this to current
.
When set to legacy, the menu entries are altered to apply the relevant ajax attributes and the controller renders the old forms.
The old forms have been marked as @deprecated
but not removed as various places make use of these for custom Add Contact implementations.
Existing installs of contacts will continue to use the old modal dialogs. To upgrade an existing client the following config will need to be installed:
New installs of contacts will default to the new experience.
Active
2.0
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.