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) »
  • Checksum links in Joomla CiviCRM mail templates
Pages: [1]

Author Topic: Checksum links in Joomla CiviCRM mail templates  (Read 3674 times)

honeyl

  • Guest
Checksum links in Joomla CiviCRM mail templates
May 20, 2009, 03:21:26 pm
I've read on other sites about the checksum links described at the bottom of:

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

not working on Joomla 1.0. But does anybody know whether this has been fixed in 1.5? I've spent the past hour trying to get them to work, before I found this mention on another site.

thanks.

-- Lee

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: Checksum links in Joomla CiviCRM mail templates
May 20, 2009, 06:13:52 pm

can you detail your steps on "trying to get them to work"

i've not tried it recently, but it seems like it should work on joomla also :)

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

honeyl

  • Guest
Re: Checksum links in Joomla CiviCRM mail templates
May 21, 2009, 05:50:32 am
Yep,

I pasted the following:

|http://www.myorganization.org/civicrm/contribute/transact?reset=1&id=N&{contact.checksum}&cid={contact.contact_id}

into a renewal reminder message template (changing the variables, of course), and the link gives me a 404 when I try to go to it.

-- Lee

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: Checksum links in Joomla CiviCRM mail templates
May 21, 2009, 07:54:21 am

thats not a valid joomla url

a joomla url is like:

http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&id=1&action=preview&reset=1&Itemid=54

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

honeyl

  • Guest
Re: Checksum links in Joomla CiviCRM mail templates
May 21, 2009, 10:28:01 am
Sorry, I'm new to Joomla.

So if I were to translate the following (Drupal?) example in the CiviCRM documentation (with N=profile ID):

http://www.myorganization.org/civicrm/contribute/transact?reset=1&id=N&{contact.checksum}&cid={contact.contact_id}

into correct URL form for Joomla, would it be the following?

http://www.myorganization.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&id=N&action=preview&reset={contact.checksum}&Itemid={contact.contact_id}

Thanks. I appreciate any help you can provide.

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: Checksum links in Joomla CiviCRM mail templates
May 21, 2009, 02:48:54 pm

yes, that is the right translation

if you can also edit and add the joomla urls to the documentation as you encounter them that would be great and highly appreciated

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

honeyl

  • Guest
Re: Checksum links in Joomla CiviCRM mail templates
May 22, 2009, 08:36:36 am
I'll be glad to add to the documentation. I teach technical communication and would be willing to help out with that.

However, the Joomla URL I posted earlier still doesn't work properly. It does bring up the profile page, but it doesn't fill in the contact's information like the {contact.checksum} and {contact.contact_id}

Could there be a mistake right after the "N" variable?

-- Lee

http://www.myorganization.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&id=N&action=preview&reset={contact.checksum}&Itemid={contact.contact_id}



honeyl

  • Guest
Re: Checksum links in Joomla CiviCRM mail templates
June 11, 2009, 04:49:35 pm
I'm still trying to get the checksum link to work so that it calls up the users record already filled in. In the previous post, I outlined my attempt at getting this to work, but it just calls up an empty record.

Does a page exist that can fill me in on the proper syntax for creating Joomla links within CiviCRM?

Thanks.

-- Lee

philraymond

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
Re: Checksum links in Joomla CiviCRM mail templates
August 18, 2009, 04:27:47 pm
Hi Lee,

Did you ever get this working in Joomla? I am getting the error below when i click next in CiviMail to go from the 'Mailing Content' page (Step 3) to the 'Test' page (Step 4). I think it has something to do with the {contact.checksum} part of the url.

<quote>
Sorry. A non-recoverable error has occurred.

We experienced an unexpected error. Please file an issue with the backtrace
</quote>

Is anyone else successfully using checksum tokens in Joomla CiviMail to send a user to a pre-populated Contribute form?

Thanks,
Phil

andrewhunt

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 13
    • AGH Strategies
  • CiviCRM version: all of 'em
  • CMS version: Drupal, Joomla, and WordPress
Re: Checksum links in Joomla CiviCRM mail templates
September 16, 2009, 11:43:38 am
That "action=preview" makes it do a test contribution.  The following generates a live contribution page:

http://YOURSITE.ORG/index.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&id=N&cs={contact.checksum}&cid={contact.contact_id}

However, doing that still doesn't pre-populate the fields in Joomla, at least as much as I've tried.
You can find me at AGH Strategies.
Need help now?  Civi911 is your go-to for CiviCRM support.

wsta

  • I’m new here
  • *
  • Posts: 3
  • Karma: 2
Re: Checksum links in Joomla CiviCRM mail templates
November 19, 2009, 01:41:06 pm
Checksums with Joomla - I also confirm that as of 3.0.2 including with bug patch ( http://issues.civicrm.org/jira/browse/CRM-5364 ) I still do not get the contribution page filled in.

In case someone else searches this, below are few useful tips with civiCRM (3.0.2) and Joomla (1.5.14) implementations.

Getting 404 error after upgrading from a prior CRM version. You need to refresh each menu link. Go to each menu item, re-select the CRM item again and save it. You will notice the target description changes, and 404 error goes away. This happens with each upgrade so probably should be included in the upgrade documentation.

The view/edit profile URL used in a message template is below, replace myorganization.org with your domain, and for gid=N, replace N is the number of the profile view/edit form. This is currently working.

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

for Contributions, the URL (replace the domain and for id=N replace N with the ID number of your contribution page)

www.myorganization.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&&reset=1&id=N&{contact.checksum}&cid={contact.contact_id}

The contribution page does display, but it acts like a new membership is being created and does not display the current membership level or expiration date. If you login normally and navigate to the same page, its displays your current membership information properly. Unfortunately, short of creating custom fields and keeping them in sync with memberships, there is no way to include membership expiration dates and current membership levels in renewal messages.

Another note about Joomla menu items and CiviCRM pages. The Joomla menu establishes the security level required to access a page and the formatting of other elements around it. In our case the view/edit profile and contribution pages are listed in our menu registered user access, meaning they user need to be logged in to access the menu item. The special checksum email links do allow the page to display even though the user is not logged in. if I log in first, then click the link in my email - it opens up the window and fills in the correct info. So this bug is related to the authentication and seems to almost work but not completely. 

airwaves

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 1
Re: Checksum links in Joomla CiviCRM mail templates
November 24, 2009, 02:14:12 pm
Hi,

I have also a problem when I want to go straight to contribution page without joomla loging.

I use the same URL format as you.
http://www.mysite.com/index.php?option=com_civicrm&task=civicrm/contribute/transact?reset=1&id=2&{contact.checksum}&cid={contact.contact_id}

Only I get a:
You do not have permission to execute this url

wsta, do you have any news on this topic?

Edwin.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Checksum links in Joomla CiviCRM mail templates

This forum was archived on 2017-11-26.