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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Top navigation bar - wrong links
Pages: [1]

Author Topic: Top navigation bar - wrong links  (Read 971 times)

alfa8007

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.43
  • PHP version: 5.2
Top navigation bar - wrong links
June 18, 2011, 03:07:56 am
Hi,

I have a drupal7 multisite installation for 3 websites:

site1.domain.com
site1.domain.com/site2
site3.domain.com

I installed CiviCRM 4.0.2 on site1.domain.com/site2 so it is accessible using site1.domain.com/site2/civicrm/...

In civicrm.settings.php I set define( 'CIVICRM_UF_BASEURL'      , 'site1.domain.com/site2/' );" and also the "base url" in "Settings - Update Directory Path and URL".

The "base_url" of the drupal settings.php file is also set to "site1.domain.com/site2".

The problem is that all the links in the top navigation bar are wrong because they point to site1.doamin.com/civicrm instead of site1.domain.com/site2/civicrm.

I rebuilt the menu maybe 10 times already with no success and purged "/files/civicrm/templates_c".

Does someone know how to solve this?

or

How the top navigation bar is being created, what files are being used?

Thanks in advance for any help.

Yaniv

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: Top navigation bar - wrong links
June 19, 2011, 06:17:28 am

not a solution, but a workaround for now, might be to use:

site2.domain.com for your second site

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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Top navigation bar - wrong links

This forum was archived on 2017-11-26.