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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • [solved] 3.3.5 new install : no CSS loaded in contact view snippets
Pages: [1]

Author Topic: [solved] 3.3.5 new install : no CSS loaded in contact view snippets  (Read 2035 times)

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
[solved] 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 07:21:00 am
Hi all.
I've installed a new 3.3.5 on a Drupal 6.2.
The Drupal theme is Pixture reloaded.
CSS caching and aggregation is activated (and required as otherwise IE uses get nasty problems as it only loads part of the stylesheets)

Civicrm seems to work fine, however when viewing a contact :
- The contact summary displays fine
- Clicking on any of the 'snippets' items (relations, contributions, events, ...) leads to a page displayed without any CSS

The info is there, but no css at all gets loded, and there's no mention of the CSS in the page's html either.

I tried emptying the cache, same problem.
I checked drupal's watchdog log, no css-related errors.
Nothing in the web server logs either.

I'm at a loss here, any pointers are welcome!
« Last Edit: March 15, 2011, 08:30:10 am by ehanuise »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 07:25:24 am
You have a JS problem--either it's not being loaded or your theme is blocking CiviCRM's JS. Those pages should load via AJAX and thus don't need CSS.

Try switching to Garland and see if it works then.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 07:46:44 am
Thanks!
Can't change theme on the site as it's in use for the non-civicrm part.
I successfully could replicate the bug on our dev site, and indeed with Garland it does work.

now, how can I fix that so it works with picture reloaded ?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 07:49:05 am
Quote from: ehanuise on March 15, 2011, 07:46:44 am
now, how can I fix that so it works with picture reloaded ?

I don't know offhand. It would have to be debugged. If you can't do that yourself, then consider hiring a professional: http://civicrm.org/professional to review your code and find the problem.

Could be simple, but anyhow it has to do with that theme.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 07:53:14 am
We've got no such budget, unfortunately.

I'll try to make sens of that script mess, but i really am no JS specialist  :'(

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 07:55:23 am
Try removing JS files from that theme and of course use Firebug.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 08:29:55 am
Solved  8)

There's a small bug with Superfish and CivicRM.

http://drupal.org/node/761034
http://www.danetsoft.com/resolve-conflict-civicrm-jquery-plugins

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: [solved] 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 08:31:30 am
I knew there was something fishy here.

Ooh, sorry. :(

Thank you for posting back with the solution!
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: [solved] 3.3.5 new install : no CSS loaded in contact view snippets
March 15, 2011, 08:33:20 am
Thanks for pointing me in the JS direction. Google helped me find the missing parts  ;D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • [solved] 3.3.5 new install : no CSS loaded in contact view snippets

This forum was archived on 2017-11-26.