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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Widget in Joomla 1.7, civicrm 4.1.2 still going the administrator back end.
Pages: [1]

Author Topic: Widget in Joomla 1.7, civicrm 4.1.2 still going the administrator back end.  (Read 1443 times)

ranchy

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
  • CiviCRM version: 4.08
  • CMS version: Joomla 1.7
  • MySQL version: 5.0.7
  • PHP version: 5.3.5
Widget in Joomla 1.7, civicrm 4.1.2 still going the administrator back end.
April 20, 2012, 11:51:07 am
I see that this was a bug in earlier versions and supposedly fixed. However, the contribute link in the Widget  of my 4.1.x civicrm goes to the administrator backend. I can not figure out how to change it. I tried both 4.1.1. and 4.2.2, using Joomla 1.7.

Any help please?

thanks,
--bw

 

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Widget in Joomla 1.7, civicrm 4.1.2 still going the administrator back end.
April 20, 2012, 03:24:31 pm
Seems like this bug got re-introduced when we switched from flash to javascript for the widget. I've committed a fix which will be part of 4.1.3 here: http://issues.civicrm.org/jira/browse/CRM-10075

However, you can fix your site quite easily (2 options):
1. Just edit the "code snippet" for the widget that you get from Manage Contribution Pages > Configure > Widget before pasting it into the page where you want to display the widget. Remove /administrator from the button URL in the code snippet (search for "crm-contribute-button-wrapper" and you'll find the URL).

2. Apply the 1 line fix to the template which formats the code snippet (explained in the issue tracker issue linked above).
Protect your investment in CiviCRM by  becoming a Member!

ranchy

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
  • CiviCRM version: 4.08
  • CMS version: Joomla 1.7
  • MySQL version: 5.0.7
  • PHP version: 5.3.5
Re: Widget in Joomla 1.7, civicrm 4.1.2 still going the administrator back end.
April 21, 2012, 07:24:36 am
Thanks Dave,
Of course step number 1 worked. However, I made the 1 line change to the template but still get the error link to administrator.
I have a second instance of civicrm which I will upgrade and make the fix and will let you know if it works or not.

Thanks

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Widget in Joomla 1.7, civicrm 4.1.2 still going the administrator back end.
April 21, 2012, 08:30:12 am
Might be template caching. Try deleting all files in <site_root>/media/civicrm/templates_c directories.
Protect your investment in CiviCRM by  becoming a Member!

ranchy

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
  • CiviCRM version: 4.08
  • CMS version: Joomla 1.7
  • MySQL version: 5.0.7
  • PHP version: 5.3.5
Re: Widget in Joomla 1.7, civicrm 4.1.2 still going the administrator back end.
April 21, 2012, 10:51:52 am
Duh, my bad. I realized I had to actually go in and re-copy the widget code. The 1 line fix works.....

thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Widget in Joomla 1.7, civicrm 4.1.2 still going the administrator back end.

This forum was archived on 2017-11-26.