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 CiviContribute (Moderator: Donald Lobo) »
  • Widget not showing colors or text in 2.0.3
Pages: [1]

Author Topic: Widget not showing colors or text in 2.0.3  (Read 2453 times)

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Widget not showing colors or text in 2.0.3
May 03, 2008, 09:20:24 am
I tried making a widget in Joomla! with 2.0.3, but it will not display the text or modify the colors.  It saves this information, but it does not apply it. I did not have this issue in 2.0.2.


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Widget not showing colors or text in 2.0.3
May 03, 2008, 07:35:47 pm
Quote from: mcsmom on May 03, 2008, 09:20:24 am
..it will not display the text or modify the colors.  It saves this information, but it does not apply it. I did not have this issue in 2.0.2.

Does this problem occur in the back-end (Administration) - when you're configuring the widget (Manage Contribution Pages >> Configure >> Widget)? Or only in the front-end?
Protect your investment in CiviCRM by  becoming a Member!

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Widget not showing colors or text in 2.0.3
May 05, 2008, 03:23:09 am
Both.

The information is in the database, so I know that is not the problem.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Widget not showing colors or text in 2.0.3
May 05, 2008, 04:31:44 am
Elin - I just tested the backend (Configure contribution page >> Create Widget form) in our Joomla demo (J 1.0.14 with Civi 2.0.3) and it works fine. Not sure what's going on - but one thing to check is the "serviceUrl" parameter in the embed code (you can see this in the HTML code block exposed in the textarea to the right of the widget). This needs to point to the correct joomla / civicrm instance so it can get the values from the DB...

In our demo, the parameter is:
Code: [Select]
<param name="flashvars" value="serviceUrl=http://joomla.demo.civicrm.org/administrator/components/com_civicrm/civicrm/packages/amfphp/gateway.php&contributionPageID=1&widgetID=1">
Protect your investment in CiviCRM by  becoming a Member!

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Widget not showing colors or text in 2.0.3
May 08, 2008, 02:16:41 pm
I admit it, I'm using 1.5, but it worked beautifully  in 2.0.2 on 1.5 on xamp.

And I made a really lovely module so it could be installed anywhere.

Elin
« Last Edit: May 08, 2008, 02:18:53 pm by mcsmom »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Widget not showing colors or text in 2.0.3
May 08, 2008, 03:36:01 pm
As far as I know we didn't make any changes to this section of the code between 2.0.2 and 2.0.3 - so my best guess is this is a configuration issue. Did you check the serviceUrl parameter I mentioned below?
Protect your investment in CiviCRM by  becoming a Member!

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Widget not showing colors or text in 2.0.3
May 08, 2008, 08:12:31 pm
Yes I did check it, and it was fine. I'm thinking maybe there is a servr configuration issue.b

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Widget not showing colors or text in 2.0.3
May 09, 2008, 10:50:16 am
Onthing that is weird, if I navigate to

administrator/components/com_civicrm/civicrm/packages/amfphp/gateway.php&contributionPageID=1&widgetID=1"

on the site that works it says Object not Found

on the site that doesn't work it just says a normal Not Found.

If I go to gateway.php on either I get a message that it is installed


mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Widget not showing colors or text in 2.0.3
May 09, 2008, 02:19:11 pm
Okay change the & after gateway.php to a ? and it finds the location. That I think is a bug.

But it doesn't solve the problem.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Widget not showing colors or text in 2.0.3
May 12, 2008, 03:21:43 pm
That ampersand is a bug - i've fixed in trunk (but it didn't seem to stop things from working in our installs, nor in your 2.0.2 install)??

You can see if fixing that helps your situation by changing the ampersand to a question mark in line 3 of templates/CRM/Contribute/Form/ContributionPage/Widget.tpl

If that doesn't help, not sure what next steps to diagnose this are?? Maybe others have an idea...
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Widget not showing colors or text in 2.0.3

This forum was archived on 2017-11-26.