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 Menu appearing only while in Admin
Pages: [1]

Author Topic: CiviCRM Menu appearing only while in Admin  (Read 2135 times)

tomslee

  • Guest
CiviCRM Menu appearing only while in Admin
August 28, 2007, 10:12:21 am
I am using drupal 5.1, CiviCRM 1.8 on a hosted server (so I can't mess with Apache and PHP settings).

I have a public site (www.kwndp.ca) and a subdomain that holds an internal site (activist.kwndp.ca) that is only for members. I'd like CiviCRM to be available from the internal site (the subdomain) but not from the main site. The drupal site on the subdomain itself is working fine. Everything is in a single database, but I have a separate prefix for all the tables so that I effectively have two separate sites. CiviCRM tables are shared, however.

The problem is that although I have set up the CiviCRM menu and other CiviCRM blocks such as CiviCRM search to appear in the left sidebar on all pages, they appear when I am inside the Administration section of the site. Other blocks show properly on all pages of the site. My administration theme is the same as my theme on the rest of the site.

Any ideas?

-  Tom

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM Menu appearing only while in Admin
August 28, 2007, 11:47:41 am

Tom:

We intentionally suppress all CiviCRM Blocks from ALL Drupal pages except CiviCRM and Drupal Admin Pages. If you want the blocks to show up on all drupal pages, you will need to hack the code, specifically the drupal/civicrm.module, civicrm_block( ) function

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

tomslee

  • Guest
Re: CiviCRM Menu appearing only while in Admin
August 28, 2007, 01:30:20 pm
Aha.

I obviously misinterpreted the workflow you expect. I'm new to CiviCRM so I'm not about to go hacking about to change its behaviour to fit my preconceptions. Once I get my head round the workflow model I'm sure it will become clearer.

Thanks for the prompt response.

Tom

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM Menu appearing only while in Admin
August 28, 2007, 02:02:41 pm

Tom:

It was not the workflow, it was more of a screen clutter issue. Having three civicrm blocks on ALL pages seemed a bit too much for most people, hence the decision to suppress it

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

planigan

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
    • Allegheny CleanWays
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 6.24
  • MySQL version: 5.0.90
  • PHP version: 5.2.13
Re: CiviCRM Menu appearing only while in Admin
September 29, 2007, 12:35:00 am
Quote from: Donald Lobo on August 28, 2007, 11:47:41 am

Tom:

We intentionally suppress all CiviCRM Blocks from ALL Drupal pages except CiviCRM and Drupal Admin Pages. If you want the blocks to show up on all drupal pages, you will need to hack the code, specifically the drupal/civicrm.module, civicrm_block( ) function

lobo


I was wondering the same thing, yay for search!

I had a feeling that this was intentional behavior, but it is good to confirm.

Quote from: Donald Lobo on August 28, 2007, 02:02:41 pm

Tom:

It was not the workflow, it was more of a screen clutter issue. Having three civicrm blocks on ALL pages seemed a bit too much for most people, hence the decision to suppress it

lobo


I'm not sure about Joomla, but Drupal already has an option to suppress or display blocks on certain pages. I think it would be better to allow end-users to take advantage of Drupal's existing "page specific visibility settings" to control where the blocks display. That would make the CivicCRM module behave more like other blocks, and give much more flexibility to the end-user (without having to hack any code). Although, if Joomla doesn't have a similar feature I guess you would be out of luck...

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM Menu appearing only while in Admin
September 29, 2007, 12:43:37 am

Yes, its a tradeoff between keeping things simple and consistent between Drupal and Joomla. Joomla does not have the concept of blocks on its pages etc, so theoretically we can make the change. We have not really heard any compelling arguments as to why folks would want the blocks exposed on other pages

We'll probably revisit the issue in a 2.x release

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM Menu appearing only while in Admin

This forum was archived on 2017-11-26.