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) »
  • CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
Pages: [1]

Author Topic: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1  (Read 3575 times)

ayduns

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 6
    • Squiffle Consulting
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
March 22, 2012, 04:37:46 pm
The Modules section shows the CiviCRM Theme as enabled but when I go to the Appearance section under CiviCRM Administration theme, the drop down only shows Default, Bartik, Garland, Seven, Stark ... I was hoping to see the CiviCRM theme there.

How do I get the civicrm theme to be used for Admin?   The files exist on disk sites/all/modules/civicrm/drupal/modules/civicrmtheme/

thanks
aydun

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
March 23, 2012, 03:15:12 am
If you refer to http://drupal.org/project/civicrm_theme then the first words on that page are:

Quote
This is a module, not a theme.

This module is now in CiviCRM core, but it remains a module, not a 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.

ayduns

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 6
    • Squiffle Consulting
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
March 23, 2012, 05:48:31 am
Hershel - I saw the words but as a Drupal newbie didn't fully understand.  :-[

Restating my underlying problem:  Comparing my site with the demo site, mine is displayed with the default Bartik theme and does not have the "Create New" button and "Recent Items" on the left.   How do I enable that?  (I thought I needed to select the civicrm theme, hence the original question)

thanks

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
March 23, 2012, 05:51:22 am
Find the Blocks page of Drupal (go to /admin to start) and you can find those blocks there, which you can then enable.
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.

ayduns

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 6
    • Squiffle Consulting
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
March 23, 2012, 06:30:54 am
Hershel - Many thanks - that's progressing...  In the Blocks section, various Civi blocks are listed with a Region of "Sidebar first".  But in the configure page, they are shown as restricted to certain pages:  "civicrm/\ncivicrm/*"  Replacing the \n with a line break to list them on two separate lines then enables them on the page.    So that looks like a bug ...

Changing the page restrictions means I now have all the blocks showing up - which is progress.  But the appearance is wrong: text is Roman and there is a large margin on the left.  I've tried looking for other configurations that might have a similar bug but not found anything.  I though Appearance was the right area but I haven't found the magic yet.  Where do I look for that bit?

thanks


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
March 23, 2012, 06:38:53 am
> So that looks like a bug ...

Not a bug--it's by design.

Regarding the look of your site, and fonts etc, this is a feature of whatever theme you choose. Some are adjustable via the UI, and others are not. But anyhow this is not a CiviCRM issue, it is a Drupal theming question.
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.

ayduns

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 6
    • Squiffle Consulting
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
March 23, 2012, 07:03:21 am
> Not a bug--it's by design.

I don't want to argue about bug vs design, but needing to edit that line is non-obvious design! 

OK, so it's a Drupal theming issue, but all I'm trying to do is make it look like the CiviCRM demo site (http://drupal.demo.civicrm.org).  The demo site looks good, my new install doesn't.   What needs to be done to get from a default Drupal & CiviCRM install so that it looks like the demo site?

thanks

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
April 19, 2012, 10:15:06 am
I think there's a miscommunication here - ayduns is pointing out a legit bug - a typo in the default configuration. This didn't previously exist in Civi.

I think everyone is in agreement that Drupal allows you to restrict blocks from appearing on certain pages.  However, in the "Show block on specific pages", the correct value should be:
civicrm/
civicrm/*

However, the value instead is:
civicrm/\ncivicrm/*

That is, the \n is being interpreted literally.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
April 19, 2012, 10:22:51 am
Thank you for your post, JonGold. You are quite correct. I believe I misunderstood the post above previously, but I confirmed this bug now.

I filed a bug report here: http://issues.civicrm.org/jira/browse/CRM-10065 and referenced your post.

Thank you.
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.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
April 20, 2012, 04:05:54 am
This bug was actually reported previously and fixed:

http://issues.civicrm.org/jira/browse/CRM-9970

and should be fixed in CiviCRM 4.2.
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.

ayduns

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 6
    • Squiffle Consulting
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
May 19, 2012, 04:42:39 pm
Quote from: ayduns on March 23, 2012, 07:03:21 am
... all I'm trying to do is make it look like the CiviCRM demo site (http://drupal.demo.civicrm.org).  The demo site looks good, my new install doesn't.   What needs to be done to get from a default Drupal & CiviCRM install so that it looks like the demo site?

Answering my own question in case anyone else stumbles across this ... The demo uses the Garland theme.  In the default Drupal 7 install, Garland is installed but disabled.  Go to /admin/appearance, enable Garland and either set it as the default theme, or explicitly set it as the CiviCRM administration theme. 

Patricia43

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 1
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
July 22, 2012, 08:46:02 am
I cannot get CiviCRM theme to do anything. I have set the public and administration themes to a different theme but it still shows the Drupal theme. And although I changed the block definitions to only display on civicrm/ and civicrm/* they do not appear. In addition, some other blocks that I do not want to show on civicrm pages do. Clearly I have configured something incorrectly. But what?
I'm using Drupal 7.14 and CiviCRM 4.1

Patricia43

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 1
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1
July 22, 2012, 09:39:53 am
My problems are resolved. I had done two things wrong which I am admitting here since others may have done the same thing.

1) I had set up a menu entry in my main site to CiviCRM instead of civicrm?reset=1 so that made a difference to the blocks appearing and disappearing. Now blocks work as they should.

2) Although I had set a theme to be my CiviCRM theme I had forgotten that I had not enabled it. Once I did that up it popped (and I presume that if I set the civicrm blocks only to show on that theme I will not have to specify where to include them

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM Theme not available - Drupal 7.12/Civi 4.1.1

This forum was archived on 2017-11-26.