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 CiviMember (Moderator: Deepak Srivastava) »
  • Contact Dashboard - Joomla on Front End
Pages: [1]

Author Topic: Contact Dashboard - Joomla on Front End  (Read 8284 times)

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Contact Dashboard - Joomla on Front End
April 20, 2007, 12:44:22 pm
Hi,

Having a couple of problems getting the front end contact dashboard up and running on Joomla 1.0.12 with CiviCRM 1.7.beta.9239.

First I confirmed I had the following fix in index.php for profiles.
// These lines are needed for proper function of CiviCRM at the frontend
session_name( md5( $mosConfig_live_site . '_frontend' ));
session_start()

I then setup a menu item for registered users using the component=civicrm task=contact dashboard.

This gave a "You do not have permission to view this contact" message. However I realised that you need to delete the entry for "Contribution or Event id" and "Profile ID" in the parameters. These fields default to 1 so saving it again without first clearing the entry kills it again. The hover text on these fields is blank so it's not immediately clear what is being asked for.

This then displays the dashboard but it doesn't seem to populate the data. The only thing I can get to display are contributions.

The windows title bar displays the - Dashboard - my@emailadress.xx.xx which is the correct address. How does the contact dashboard associate a joomla user to a CiviCRM contact? Does it use the standard duplicate matching or my custom one? My custom duplicate matching is tied into a custom field for membership number. I tried changing this to email, first name, last name and still no joy.

I've also looked through the ACL stuff and the membership types to see if I need to enable anything?

There is an excellent section on Configuring Front-end Profile Listings and Forms in Joomla! Sites at http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=6632. Maybe we could have the same for the Contact Dashboard?

Any ideas?

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Contact Dashboard - Joomla on Front End
April 20, 2007, 12:57:51 pm
When I looked at "my" dashboard from the front end it gave me the option to add me to a group. When I did this it created a new CiviCRM contact. Clearly the joomla user <> CiviCRM contact matching isn't picking me up. My name and email address are the same...

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Contact Dashboard - Joomla on Front End
April 20, 2007, 01:11:18 pm
OK...It looks like the duplicate matching function. When I deleted the contact it had created with just my email address it worked.

However it would be good to get the documentation up to date and I pretty sure that the menu creation defaulting the "Contribution or Event id" and "Profile ID" to 1 is a bug.

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: Contact Dashboard - Joomla on Front End
April 20, 2007, 09:07:03 pm

Speleo:

Can u please update the documentation pages for the benefit of other users :)

Not sure if we can do a lot about the menu creation. Its set up via a joomla xml config and I dont think we have lots of options there, unless we use a seperate menu items for profile/contribution/event etc. If you think that is a better option, please file an issue and we could potentially fix in 1.8

regards

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

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Contact Dashboard - Joomla on Front End
April 21, 2007, 09:56:59 am
Thanks Lobo,

I will indeed update the documentation on the wiki in the next week. Just need to play with it a bit more to make sure I know where I'm at!!

Was thinking about the way the duplicating matching works to match the Joomla User with the CiviCRM Contact. Using the Duplicate Matching Rule from the Admin settings is problematic in that if an admin wants to import some data using a custom rule then this would kill the contact dashboard on the live front end. I reckon the matching should use the default rather than the custom rule. Does this make sense? If so I'll raise and issue.

I'll also look into the xml menu creation and see if I can come up with a fix / suggestion.

Cheers,

Henry

PS. the forum is the mutts nuts, good idea!!

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: Contact Dashboard - Joomla on Front End
April 21, 2007, 01:22:51 pm

Henry:

the Joomla User <-> CiviCRM Contact matching is done using only the email address. i.e we check for the same primary email address in the CiviCRM DB and match that contact to the appropriate user. We do not use any of the matching rules in this case

Let me know if this is not the behavior u see. if so please file an issue along with detailed steps to reproduce this.

Yeah, I agree the forum is a good idea :) Much less load on everyone involved :) Now gotta start training all the mailing list users to start using the forum :)

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 CiviMember (Moderator: Deepak Srivastava) »
  • Contact Dashboard - Joomla on Front End

This forum was archived on 2017-11-26.