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) »
  • Installing CiviCRM in a Drupal subdomain: menu issues
Pages: [1]

Author Topic: Installing CiviCRM in a Drupal subdomain: menu issues  (Read 1500 times)

tomslee

  • Guest
Installing CiviCRM in a Drupal subdomain: menu issues
August 26, 2007, 09:22:06 pm
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.

Other details - everything is in a single database, but I have a separate prefix for all the tables so that I effectively have two separate sites.

As CiviCRM installer installs itself into the default site, I copied the civicrm.settings.php file into the sites/activist.kwndp.ca directory. Then I modified the subdomain settings.php to share the civicrm tables with the default site (ie, no prefix). After this the CiviCRM module appear in the administer modules table and I can enable it, assign roles etc. All good so far.

The problem is that all links from the CiviCRM menus go to the default site, where no corresponding page exists (the CiviCRM module is disabled there). If I then replace www with activist in the browser address area I get a proper CiviCRM page.

I would like to have the menu links go to the right place. Also, I fear that this problem may have other effects associated with it.

Any ideas?

-  Tom

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: Installing CiviCRM in a Drupal subdomain: menu issues
August 27, 2007, 12:48:48 am
Tom:

Check your Global Settings >> Resoucre Urls.

kurund
Found this reply helpful? Support CiviCRM

tomslee

  • Guest
Re: Installing CiviCRM in a Drupal subdomain: menu issues
August 27, 2007, 05:25:32 am
Thanks Kurund. I could not change the base URL directly in the location you said (the Save did not work - probably because of the same problem causing the menu links to fail). I changed CIVICRM_UF_BASEURL in the civicrm.settings.php file and now things are fine.

Cheers,

Tom

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Installing CiviCRM in a Drupal subdomain: menu issues

This forum was archived on 2017-11-26.