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 CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail tokens for users that have no CMS account
Pages: [1]

Author Topic: CiviMail tokens for users that have no CMS account  (Read 1986 times)

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
CiviMail tokens for users that have no CMS account
August 03, 2010, 03:35:54 am
I'm trying to email CiviCRM contacts who may or may not have CMS (Joomla, in my case) accounts with a link to click on which will lead them to a profile edit screen (to update their details and offer them to get a Joomla account).

The CiviMail URL to include is, I think this, including a checksum token:

http://www.DOMAIN.org.uk/index.php?option=com_civicrm&task=civicrm/profile/edit?reset=1&gid=N&id={contact.contact_id}&{contact.checksum}

I've set N to the number of a profile I already use for people to update their details, and on receipt the tokens have been (apparently) filled in by the system so that looks fine, and that address gets them to the website and to civicrm. There they are then told by a little civi info message that "No fields in this Profile have been configured to display as a result column in the search results table. Ask the site administrator to check the Profile setup".

If I start enabling searching and search results I just start getting a search result list of our membership/contacts, which I absolutely do not want exposed in this way.

So:
(1) What settings have to be in place on the profile (and Joomla) for a checksum to lead someone to a normal profile page to edit (with CMS join up, captcha and all the usual stuff); and
(2) is it possible to do this without exposing everyone else's data. I can't see that it needs to be a search as the checksum token should be sufficient information and authorisation...

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: CiviMail tokens for users that have no CMS account
August 06, 2010, 07:04:48 am

1. can they save the form and then it goes to the search listing?

2. if so, can u set the profile redirect (in advanced settings) to some other url

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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviMail tokens for users that have no CMS account
August 06, 2010, 03:03:27 pm
I think the problem may be in the formatting of your URL / link:

http://www.DOMAIN.org.uk/index.php?option=com_civicrm&task=civicrm/profile/edit?reset=1&gid=N&id={contact.contact_id}&{contact.checksum}

Note that there are TWO question marks. Replace the ? after '/edit' with an & and see if that works.
Protect your investment in CiviCRM by  becoming a Member!

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Re: CiviMail tokens for users that have no CMS account
August 08, 2010, 11:09:03 am
David
That's the answer. Thanks.

mikeney

  • I’m new here
  • *
  • Posts: 20
  • Karma: 3
  • CiviCRM version: 3.3.2
  • CMS version: Joomla 1.5.22
Re: CiviMail tokens for users that have no CMS account
February 09, 2011, 08:09:47 pm
Thanks for the correction, Dave.  This syntax error should be fixed on the current version of documentation for Mail-merge Tokens for Contact Data

http://wiki.civicrm.org/confluence/display/CRMDOC33/Mail-merge+Tokens+for+Contact+Data

It currently displays:

For Joomla! users this would be |http://www.example.org/index.php?option=com_civicrm&task=civicrm/profile/edit?reset=1&gid=N&id={contact.contact_id}&{contact.checksum}

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail tokens for users that have no CMS account

This forum was archived on 2017-11-26.