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) »
  • Domain change and URL Resource change not working for multi-home joomla
Pages: [1]

Author Topic: Domain change and URL Resource change not working for multi-home joomla  (Read 3980 times)

flashl

  • Guest
Domain change and URL Resource change not working for multi-home joomla
May 17, 2007, 08:21:21 am
When I installed civicrm in a joomla site the live_site_url was for example: mydomain.com. Later I learned that the host provider used myotherdomain.com as the base url. I have made changes within joomla to resolve multi-domain complaints that subsequently followed using this hack: http://forum.joomla.org/index.php/topic,71404.0.html.

I have made changes to civicrm global settings resource URL to: myotherdomain.com. Yet, when hovering over civicrm links within the admin section all of civicrm links points to the install URL: mydomain.com. I have checked settings but do not know where else to check to have civicrm admin links to reflect resource URL change. What else do I need to change? Should the joomla hack be place in civicrm settings also?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Domain change and URL Resource change not working for multi-home joomla
May 17, 2007, 09:16:31 am
CiviCRM stores and reads  "base URL" for the Joomla install in it's settings files. I think you'll make changes to the following to files:

In <joomla_install_dir>/administrator/components/com_civicrm/civicrm.settings.php:

  define( 'CIVICRM_UF_BASEURL'      , 'http://mydomain.com/joomla/administrator/' );

In <joomla_install_dir>/components/com_civicrm/civicrm.settings.php (front-end settings file):

  define( 'CIVICRM_UF_BASEURL'      , 'http://mydomain.com/joomla/' );
Protect your investment in CiviCRM by  becoming a Member!

flashl

  • Guest
Re: Domain change and URL Resource change not working for multi-home joomla
May 19, 2007, 07:53:20 am
Thank you for your response making those changes worked with civicrm. Now I am trying to discern whether those changes resulted in an extra 'iframe' at the bottom to the frontpage of the website that was not there previously.

jimurl

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 0
  • CiviCRM version: 3.4.6
  • CMS version: drupal 6.22
  • MySQL version: 5+
  • PHP version: 5+
Re: Domain change and URL Resource change not working for multi-home joomla
October 08, 2007, 02:15:59 pm
Wow: have problem....visit civicrm support pages ... search on key terms .... problem anwsered. Just the way its supposed to work.

I had the same issue as the original poster of this question; except that I am using drupal rather than joomla.

I fixed the CIVICRM_CF_BASEURL setting in the file /sites/default/civicrm.settings.php

but, under drupal, do I need tofix it elsewhere also?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Domain change and URL Resource change not working for multi-home joomla
October 08, 2007, 03:35:34 pm
No that should do it. Just verify the Resource URLs settings in Administer CiviCRM >> Global Settings to make sure they reflect your current configuration.
Protect your investment in CiviCRM by  becoming a Member!

aspagarino

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 10
  • San Diego Joomla
    • California Center for Sustainable Energy
  • CiviCRM version: CiviCRM 4.3
  • CMS version: Drupal 7
Re: Domain change and URL Resource change not working for multi-home joomla
March 30, 2009, 12:22:33 pm
This is great... the updated domain is working nicely!
Andres

Open Source is Green

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Domain change and URL Resource change not working for multi-home joomla

This forum was archived on 2017-11-26.