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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Civicrm Profiles & Price Sets not displaying correctly in pages in IE
Pages: [1] 2

Author Topic: Civicrm Profiles & Price Sets not displaying correctly in pages in IE  (Read 8688 times)

jbisko

  • Guest
Civicrm Profiles & Price Sets not displaying correctly in pages in IE
December 09, 2009, 07:18:11 pm
I was exploring the new price set features in Civicrm3.1 (which is a great addition) but noticed that things didn't display properly when they were used in a CiviContribute Page in Internet Explorer. I then took a look at my existing Member registration / renewal page that uses Civicrm profiles in 3.1 and see that this also does not display properly in beta3.1 in Internet Explorer (tried on IE7 and IE8 and neither worked).

Here is a link to the live site using Civicrm 2.2.9

Member Page
http://www.ncjwmilwaukee.org/index.php?option=com_civicrm&view=Contributions&Itemid=70


And here is a link to the same Member registration page but in a Civicrm 3.1 environment that exhibits the display problem in IE.
http://www.biskotech.com/ncjw/index.php?option=com_civicrm&view=Contributions&Itemid=70


Similarly, this is the new donation page based implementing a "price set" in the Civicrm 3.1 environment that does not display correctly.

http://www.biskotech.com/ncjw/index.php?option=com_civicrm&view=Contributions&Itemid=81

I tried changing Joomla to the default theme template to see if that would make a difference in case my theme template was responsible, but it still does not display correctly.

When loading these same Civicrm 3.1 beta site pages in Safari, Firefox, and Google Chrome, they display correctly.  

Also, I tried creating a new Contribution Page (with "price set") on the Civicrm sandbox site and it displayed correctly in IE.  So, the problem seems to be only with the combination of the new civicrm beta, Joomla and Internet Explorer.

Any insight is appreciated.  As much as I might prefer that my website visitors use a different browser, we can't ignore the fact that a large percentage of surfers are using IE.

On a related note, I think it would be useful to have a Joomla based Civicrm sandbox available for testing and for reproducing problems as I do often encounter issues unique to Civicrm in Joomla that I am not able to reproduce in the Drupal based sandbox.  If there is already one set up, perhaps someone can post the URL.

Thanks,

jbisko
« Last Edit: December 09, 2009, 07:33:30 pm by jbisko »

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
December 18, 2009, 04:08:30 am
It looks like a bug.

filed issue is here : http://issues.civicrm.org/jira/browse/CRM-5557

thanks,
kiran
You Are Designed To Choose... Defined By Choice.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
December 18, 2009, 07:47:43 am
Can you disable price set for http://www.biskotech.com/ncjw/index.php?option=com_civicrm&view=Contributions&Itemid=81 and check if that works.

If I had to guess it might be some css issue with your front-end theme. If you see view source of  above page all elements are correctly build.

HTh

Kurund

Found this reply helpful? Support CiviCRM

jbisko

  • Guest
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 04, 2010, 08:42:48 am
Ahhh.  I just wrote a long follow up explaination regarding this problem, with file attachments of screen shots and then lost my entire post because the attachments were too big!  So, I will now provide links to the docs.
And, I am posting a shortened version of my "lost" post and can follow up with more details as needed.  I am also available to do an IM with Civicrm support and make whatever changes on the spot to the css files, etc. to help troubleshoot.


I agree with Kurund that this is probably a css formatting issue.  But, the fact remains that the combination of Civicrm 3.1 beta 4, Internet Explorer (7&8), and standard Joomla front-end and backend (administrator) templates, still presents display issues that do not appear when using the Civicrm 2.2.9 version.

The problem may be related to table (or form) widths related to the membership and contribution page displays that are not correctly getting interpreted by IE in the same way they do in Firefox, Safari, and Chrome.  And, I would be happy to try some manual edits in one or more of the css files (i.e. template.css or civicrm.css ), if I could receive some guidance as to what exactly to edit based on my findings detailed in the attachments.

Here is an example of a contribution page on the front end test site, using the standard Joomla Beez template that displays incorrectly in IE but fine in Firefox and other browsers. 
http://www.biskotech.com/ncjw/index.php?option=com_civicrm&view=Contributions&Itemid=101

Related BackEnd (administrator) display issues:
Likely related to the front end display issues in IE, I am also encountering a display problem in IE (and Civicrm 3.1 beta 4)on the Manage Contribution Pages on the administrator backend.  In this case, the width of the Manage Contribution Page form is much wider than the Joomla page.  Refer to this doc for example screen shots and info.

http://www.biskotech.com/civicrmdocs/Civicrm_ContributionPage_IE_BackEndissue.doc

And here is a doc with more details showing the problem with displaying the Contribution Page on the front end.

http://www.biskotech.com/civicrmdocs/Civicrm_ContributionPage_IE_issue.doc

You may need to view these docs in Web Layout mode so the full width of the doc is shown and not cut off.

I can live with using an alternative browser for the backend configuration, but I can't enforce that my client's customers will use something other than Internet Explorer for their website browsing and to make donations.  So, I think it is quite important to have donation pages display correctly in IE.

Thanks,

jbisko

jbisko

  • Guest
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 04, 2010, 12:01:43 pm
OK.  I've continued to experiment with this issue and have done a comparison between a working version of a donation page under Civicrm 3.02  and a non-working display under version 3.1 beta 4.  I have isolated the situation to changes in the civicrm.css file in the components/com_civicrm/civicrm/css folder.

If I do the upgrade to 3.1 beta 4, the display breaks.
But, if I then copy a civicrm.css file from the 3.0.2, it displays correctly.

So, some change in this file is contributing to the problem.

Hopefully, this helps.  I can try to isolate further within this file, but it would help to be pointed in the right direction.

-jbisko


jbisko

  • Guest
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 04, 2010, 12:42:12 pm

Even more specifically, I've now isolated it to this section of code beginning at line 256 of the civicrm.css file in the beta4 release.  if I remote this code, the membership page and contribution pages display correctly.


#crm-container .section .content {
   margin-left:16%;
   }

Not sure, what this code is required for, but hopefully, this can lead to a fix in the next beta.

jbisko

  • Guest
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 04, 2010, 12:55:55 pm
Incidentally, the problem on the administrator back end that I mentioned and provided the screen shots for "Contribution Amounts" page still has the wide margin issue and is not corrected by my change in the civicrm.css file.
So, this is still a bug.

Refer to the doc in the earlier post.

jbisko

  • Guest
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 04, 2010, 01:02:08 pm
With a little additional experimenting, I determined that the back end Manage Contributions  - "Contribution Amounts" page also displays correctly when the civicrm.css file from version 3.0.x is copied over the 3.1 beta 4 version.  So, somewhere in this file is also something that is breaking this display page in Internet Explorer.

Thanks,

jbisko

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 04, 2010, 07:10:25 pm
I hope this issue will solve your problem: http://issues.civicrm.org/jira/browse/CRM-5623

Kurund
Found this reply helpful? Support CiviCRM

jbisko

  • Guest
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 04, 2010, 09:17:07 pm
Thanks Kurund.
I looked over the patch file and I am not even seeing all of the related files in the Civicrm Joomla installation to edit.
Since it looks like a rather complicated patch to install, perhaps I will await the fix in in upcoming beta release.

Although, I am not certain if this patch addresses the issue I presented, since I don't see anything in the patch that involves changing the civicrm.css file.

-Jeff

fearlsgroove

  • I’m new here
  • *
  • Posts: 25
  • Karma: 2
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 05, 2010, 08:34:55 am
Are you on a *nix machine with shell access? If so you should be able to apply the patch quite simply from the command line.

cd /root/of/civicrm/install
patch -p0 < /path/to/patch-file.patch

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 05, 2010, 11:53:47 am
Jeff - If the problem occurs regardless of whether you have price sets enabled for the contribution page, then I don't think the CRM-5623 patch will change things. I've asked the person who did the CSS / markup overhaul for 3.1 contribution pages to take a look.
Protect your investment in CiviCRM by  becoming a Member!

kylejaster

  • I’m new here
  • *
  • Posts: 13
  • Karma: 2
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 06, 2010, 08:27:53 am
I took a look into this (I wrote most of the new CSS for 3.1).  It looks like the issue is with the way you have widths set for IE in your theme, however there are a number of other possible issues to look into as well...

A few things to look at:
  • you are comparing two different themes and there seem to be a number of differences between them - when i tested the code in standard installations on IE, i could not replicate any of the problems. please try testing this with the exact same theme as the one you are using for the NCJW site
  • you set the width of div#main  to 98% for IE.  this appears to be setting the div to 98% of the width of the *window* - since you have a fixed width layout, you should really set this width in px, as IE does funny things with percentage based widths...
  • div #contentarea has overflow set to hidden - this is hiding the fact that the div#wrapper is *much* larger than it appears, and is probably hiding a bunch of other issues
  • using position:relative and width:XX% in IE can do some funny things... position:relative makes the div view it's parentage (from a % perspective) differently, and can cause it to behave unexpectedly.

best of luck - sorry that I can't give you a quick/immediate fix...

kyle

jbisko

  • Guest
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 06, 2010, 09:19:38 pm
Hi Kyle,
Thanks for your reply.  I can look into the settings for div#main width and #contentarea in my theme. 
I will need to find where these settings are specified in the theme.
I can switch back to my actual theme.  The reason I switched to some standard Joomla themes is I wanted to eliminate the extra variables that are introduced when I introduce my own theme.  If I can simplify the equation and show that it occurs with standard Joomla templates and components, then its easier for you to reproduce.

As I've mentioned before, it would be very nice if there was a joomla sandbox set up with the latest beta version, so when we discover an issue on our own site, we can attemp to replicate it on the sandbox and then if it does appear to be a bug, you have full access to the backend and all of the css and other files in the sandbox.

If there is such a setup and I can be e-mailed the link and login info, I would be happy to simulate my problem there.  Otherwise, if it would help, I may be able to implement my own joomla based 3.1 beta sandbox with some sample data and then provide administrator credentials so the developers can further analyze reported issues.


-Jeff

kylejaster

  • I’m new here
  • *
  • Posts: 13
  • Karma: 2
Re: Civicrm Profiles & Price Sets not displaying correctly in pages in IE
January 07, 2010, 07:25:39 am
Hi Jeff -

  Sure thing - I believe that the Joomla demo is going to switch to 3.1 sometime this week, which should definitely help :)

Best,

kyle

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.1 Release Testing »
  • Civicrm Profiles & Price Sets not displaying correctly in pages in IE

This forum was archived on 2017-11-26.