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 CiviEvent (Moderator: Yashodha Chaku) »
  • Event body missing in IE but not in Firefox
Pages: [1]

Author Topic: Event body missing in IE but not in Firefox  (Read 2970 times)

hwdornbush

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 0
Event body missing in IE but not in Firefox
October 16, 2008, 04:55:44 pm
We used CiviCRM v1.8 (I believe) last year to manage tickets for an annual event.  This year, we upgraded to V2.0 and revised the event details.

When I view the event ( https://www.christophershaven.org/civicrm/event/info?reset=1&id=1 ) in Firefox or Chrome, all appears as I would expect, but when I view the event in IE 7 or 6, the body of the event is missing.  If I look at the page source, the body is present, but nothing shows on the browser.

What might be causing this?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Event body missing in IE but not in Firefox
October 17, 2008, 10:13:13 am
First guess is that there's some invalid HTML in the event information block which is throwing IE. Try running the W3C validator service against the page and see what errors show up: http://validator.w3.org
Protect your investment in CiviCRM by  becoming a Member!

hwdornbush

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 0
Re: Event body missing in IE but not in Firefox
October 20, 2008, 02:04:53 pm
I discovered that when I used my theme, the text is not visible, but when I use the default Garland theme, the text is visible.

I use the imagemenu module which gave some errors in the W3C validator, so I removed the use of that module, but the invisibility remains.  There are 4 errors still listed:

there is no attribute "djConfig".
…packages/dojo/dojo/dojo.js" djConfig="isDebug: false, parseOnLoad: true, useP

there is no attribute "border".
…ven" width="538" height="100" border="0" />

there is no attribute "width".
            <td width="90%">

there is no attribute "target".
…jsp?m=1101296604558&amp;p=oi" target="_blank">Join our email mailing list</a>

I find it hard to believe that these errors would cause any problem.

I enabled IE Developer Toolbar in IE7 (IEDT).  When I position to the text, IEDT outlines the place where the text should be, but the text is invisible.  I looked through the Style properties, but saw nothing unusual.  I tried to change the visibility property to "visible" as it was "inherit" but no change: the text is still outlined but invisible.

Any other ideas as to what would make the text invisible in one theme but not in another?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Event body missing in IE but not in Firefox
October 20, 2008, 03:27:42 pm
I would try exploring that part of the page with Firebug (a free Firefox extension) to see if there are css style conflicts - you can disable specific lines in the various css files within firebug interactively to see if that changes the visibility of the text. Not sure what else to do if that doesn't turn up the problem.
Protect your investment in CiviCRM by  becoming a Member!

hwdornbush

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 0
Re: Event body missing in IE but not in Firefox
October 21, 2008, 11:13:56 am
I can't really explore the problem completely with Firebug as the problem is in IE.  I can explore the problem to some extent with the best IE equivalent I know, IE Developer Toolbar (IEDT).  You can change the style declarations with IEDT, too.

When I use IEDT, I see that somehow, the page causes IE to think it should repeat the Script and Style declarations from the HEAD again in the BODY.  I see this behavior also in Firebug.  I have no idea yet what is triggering this behavior, as I don't see the repeats when I view the page source.

I also notice that CiviEvent does not include the page H1 heading.  This is unfortunate as the Printer Friendly div is positioned above the text of the event, which normally positions it where the H1 heading is.  Without this, it positions it on the page header, which in my case is a graphic that it tries to overlay.

The obvious (to me) element that is causing the problem is the inclusion of dojo javascript which is not present in the CiviContribute pages (which display fine) but is present in the CiviEvent pages.  There must be some conflict that it is creating.  Is there a way to disable it?

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: Event body missing in IE but not in Firefox
October 22, 2008, 11:41:22 am
I think it might issue with the theme ? I don't use garland theme and it works fine with me.

HTH

Kurund
Found this reply helpful? Support CiviCRM

hwdornbush

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 0
Re: Event body missing in IE but not in Firefox
October 22, 2008, 03:44:42 pm
I re-did the theme.  Fortunately, I used zen as the starting point, so it was fairly easy to re-do it.  The problem went away.  It was some sort of interaction between the theme and the newest CiviEvent code.  Some may say it was the theme alone, but if so, it was really subtle.

dvoelker

  • Guest
Re: Event body missing in IE but not in Firefox
November 02, 2008, 08:43:38 pm
I too now find myself plagued by this problem, same conditions as described above, event body text appears fine in Firefox but not IE.  I am running Drupal and a link to an offending page in our test environment is at http://216.246.99.44/civicrm/event/info?reset=1&id=4

If anyone can help me understand how to begin to debug this I would be most appreciative.  I have worked through all of the CSS in Firebug but I can not see anything that would cause IE to simply pass up on this.

Dave

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event body missing in IE but not in Firefox

This forum was archived on 2017-11-26.