Managing CiviCRM Folders, Links, Etc

Events happening in the community are now at Drupal community events on www.drupal.org.
shinz83's picture

Currently installing CiviCRM into my site, but having troubles with the folder layout. By this I mean...

My new drupal site is running through a subdomain - beta.example.com which is pointing toward example.com/beta

When I install civicrm and 'work' with it, most links within the program point to example.com/beta/civicrm - this will not work for me.

I need civicrm to point toward beta.example.com/civicrm... so when I flip the switch to make the beta site the live site, I won't have any troubles with the CiviCRM install.

Has anyone run into this before? Any advice would be greatly appreciated.

Thanks!

Comments

Take a look at your

hershel's picture

Take a look at your civicrm.settings.php and adjust the CIVICRM_UF_BASEURL to be beta.example.com.

--
CiviHosting -- Drupal and CiviCRM Hosting Specialists -- 100% Satisfaction Guaranteed

Navigation Menu Links?

shinz83's picture

Weird.

Inside the program running on the page, the baseURL change did the trick.

However, all the links in the navigation menu are now pointing to beta.example.org/beta...

Do you know how I can update the menu navigation urls?

One way might be...

shinz83's picture

This is not ideal, but one way might be to change the "base directory" location to be right in the /public_html folder rather than the /public_html/beta folder.

Then perhaps the navigation would point to /sites/default/files and not beta/sites/default/files.

Thoughts? Advice?

Rebuild

hershel's picture

Rebuild menus:
civicrm/menu/rebuild?reset=1

--
CiviHosting -- Drupal and CiviCRM Hosting Specialists -- 100% Satisfaction Guaranteed

Thank you

shinz83's picture

That did the trick. I appreciate the help.

CiviCRM

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: