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 Profiles (Moderator: Dave Greenberg) »
  • Contact Summary Link wrong after entering new contact
Pages: [1]

Author Topic: Contact Summary Link wrong after entering new contact  (Read 842 times)

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Contact Summary Link wrong after entering new contact
April 22, 2010, 06:42:41 am
I am using Joomla 1.5.15, and have a profile defined that can add a new individual contact on the front end. I have it defined to notify myself via email when the form is submitted.

The emailed form includes a field called "Contact Summary" which gives a link of this format (website changed)

Code: [Select]
http://www.mywebsite.org/main/index.php?option=com_civicrm&task=civicrm/contact/view&reset=1&cid=12593
This link doesn't work, even if I am signed into the front end as a super administrator, it always says "You do not have permission to execute this url."

I changed the URL to add "/administrator" and it works (in the back end, of course).
Code: [Select]
http://www.mywebsite.org/main/adminisrator/index.php?...
I don't know if this is a setting problem on my site, or if it's a bug in CiviCRM (3.1.4). I am running Joomla from a subdirectory (/main) as you can see.

Is there something I should try changing?  The profile has ALL public viewable fields, and works under all the different menu options I've tried.

Thanks

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Re: Contact Summary Link wrong after entering new contact
May 01, 2010, 02:25:53 am
*bump*...

There's been no answer to any of my posts for the last week. I understand people are probably at a conference, but I'm hoping this isn't too impolite to try and get a response to this and the other posts...

Thanks

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 Summary Link wrong after entering new contact
May 01, 2010, 06:46:07 am

a couple of clarifications:

1. all support on this forum is voluntary and free. Curious as to how many folks you have turned around and helped in the past week? We do hope that the community steps up and helps other people with their issues, rather than expecting the "team" to respond to all posts.

2. That said, its been quite cool to see how some community members have really responded to quite a few of the forum posts last week :)

3. finally, does civicrm construct the view link in the email? in joomla u cannot view the contact from the front end, needs to be from admin (as u've discovered). Would be great if you can investigate and file a patch that fixes the issue (or work with your developer to fix this issue). we can help on irc

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

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Re: Contact Summary Link wrong after entering new contact
May 02, 2010, 07:52:17 am
I think your question is a fair one, but I don't feel I can yet reply here to questions (if that was your actual question) because I've not been able to get much working (under Joomla) with CiviCRM yet. I DID post a warning as soon as I found out about an installation issue, and posted a follow up when I had tested the subsequent verison (1.5.17). I have also been correcting some of the mistakes in the CiviCRM 3.1 wiki when I felt I had validated the information, etc.  I also tried to post items with the previous beta as I found them. My schedule doesn't allow me to work every week on this, unfortunately.

Since you asked publicly, I spend approximately 40-60 (varies) hours per week doing volunteer work for non-profits. I have earned a total of $1500 (US) in the past four years (doing other things actually). I also spent my own money in January to come down to Mumbai for CiviRM training, for the ashram that I was staying at. Right now, I am in Austria, where someone is giving me a free room while I help their organization rebuild a website. I am paying for my food, transportation, tickets, etc. They "might" bpay me something next fall for this work. I'm here only because of India's new visa rule which requires a two month absence before returning. :(

I don't expect the CiviCRM team to respond any more than others, but my impression is that Joomla usage is far less than Drupal here, and I don't have a problem with that.

That all said, I believe most everything I've posted about are items documented in the wiki, but (apparently) not completely correctly, or else I'm just missing something.

I "am" the developer <smile> for all the site. However, I confess to never using IRC (specifically) before. If you mean it generically, as in using a text chatting program, then I do that regularly. I don't know the specifics for IRC contact, however. I will search for it in the wiki.

Since the wiki says that one can view contacts from the front, I wouldn't have guessed it was completely incorrect. It actually looks like it shouldn't be too hard to fix up something, but I have to get more experience tracing the code.

CiviCRM DOES construct the link in email, for a front end view, but it's not working. The link DOES work for the backend if I insert "/adminstrator" into the link. Either getting it to work in the front end, or getting the link correct for the backend would be fine for a first step. I'd like Joomla to be able to work in the front end ultimately, but one step at a time! :)

Thanks for the reply on this thread. What do you suggest I do next for this item, and also to get help on the other thread items?

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 Summary Link wrong after entering new contact
May 02, 2010, 06:47:35 pm

1. u can get on irc using this weblink:

http://webchat.freenode.net/?channels=#civicrm

2. You should check and examine the code in:

CRM/Core/BAO/UFGroup.php, function commonSendMail

and see if you can fix it. The easiest fix might be to suppress the contact link in the joomla front end

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 Profiles (Moderator: Dave Greenberg) »
  • Contact Summary Link wrong after entering new contact

This forum was archived on 2017-11-26.