CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Issue(s) with adding new contacts via profile form when logged into CiviCRM
Pages: [1]

Author Topic: Issue(s) with adding new contacts via profile form when logged into CiviCRM  (Read 1106 times)

backdrifting

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 2
Issue(s) with adding new contacts via profile form when logged into CiviCRM
September 17, 2008, 09:15:22 am
On a Drupal 5.7 and CiviCRM 2.0.4 site:

1) I have a profile form on the public side of the Web site that people can complete and submit to sign up for our e-newsletter.  Once submitted the data gets added as a contact record and added to a specific group in CiviCRM.

2) When you complete the form as an anonymous user to the site (without logging into Drupal) the contact record adds and adds sequentially as it should

3) When I login as an admin user to Drupal and then complete the form (as I would complete it potentially for some old contact records I want to add for example), the contact gets added but it always replaces/updates the previous record I inserted.  So for example, I submit a contact using the form, then go and submit another contact.  The contact I just submitted gets updated with this new contact.  So it appears there's some weird caching process going on here since this is only happening when I'm logged into Drupal/CiviCRM.

4) Also - I disabled the update dupe record in the CiviCRM profile settings.  But the above still happens.

Any suggestions?

-backdrifting

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Issue(s) with adding new contacts via profile form when logged into CiviCRM
September 17, 2008, 11:58:57 am
backdrifting:

When you are logged as admin, to add new contacts you should use http:// site details /civicrm/profile/create?gid=X&reset=1, where X is your profile id.

HTH

Kurund
Found this reply helpful? Support CiviCRM

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Issue(s) with adding new contacts via profile form when logged into CiviCRM
September 17, 2008, 12:25:45 pm
ON a related note - if i have the Profile set up to also 'create drupal account' and I am creating new contacts via the profile is there anyway this can be made to 'create the account' for that person and send them the 'you have been signed up' message?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

backdrifting

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 2
Re: Issue(s) with adding new contacts via profile form when logged into CiviCRM
September 17, 2008, 12:34:02 pm
Kurund,

Perfect!  That worked.  Thanks for your assistance with this!

-Trevor

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Issue(s) with adding new contacts via profile form when logged into CiviCRM
September 17, 2008, 01:57:25 pm
Quote from: peterd on September 17, 2008, 12:25:45 pm
ON a related note - if i have the Profile set up to also 'create drupal account' and I am creating new contacts via the profile is there anyway this can be made to 'create the account' for that person and send them the 'you have been signed up' message?

This feature is currently not supported in the codebase. We dont display the CMS "account creation" form elements for a logged in user. You will need to extend/hack the code to do this

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Issue(s) with adding new contacts via profile form when logged into CiviCRM

This forum was archived on 2017-11-26.