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 »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Running BOTH Drupal and Wordpress (ok a bit crazy)
Pages: [1]

Author Topic: Running BOTH Drupal and Wordpress (ok a bit crazy)  (Read 1437 times)

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Running BOTH Drupal and Wordpress (ok a bit crazy)
December 16, 2012, 07:46:26 am
We have a strange use case with 2 front ends and the same civicrm backend.  one on drupal the other on wordpress.  Can this be done?  If so, other than the obvious inelegance of the solution, could this approach be used to have drupal fill areas (like ACL, etc.) where wordpress has gaps?  I know this is a bit of a crazy idea, but worndering if multisite capability would allow for it and what code would need to be installed...

Could be helpful during migrations too...


Anybody done this?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Running BOTH Drupal and Wordpress (ok a bit crazy)
December 17, 2012, 05:14:05 am
This is not really possible AFAIK because CiviCRM maps Contacts to CMS Users. So if I have a Contact and then a user on each of your CMS's, my mapping will change each time.

So if I am user 3 on Drupal and user 4 on WordPress and I access CiviCRM via WordPress (and get marked as User 4) and then I access it via Drupal, I am now linked to Drupal user 4 which is wrong. :(
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: Running BOTH Drupal and Wordpress (ok a bit crazy)
December 17, 2012, 07:03:30 am
Thanks Hershel!

Yes, only one system would handle user integration (if there is any at all, or possibly there could be replication/mapping).  I know that there are 2 code bases and imagine they differ mostly in install, but not sure what is different.  I'll play around on a sandbox if I can.

The nice thing about WP is that it has a more intuitive front end, especially for blogging, etc.  Also designers, developers, etc are much cheaper.  Could host anonymous profiles forms, for example or event pages.  This is very spulative, just wondering if anyone has played with it or considered it.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Running BOTH Drupal and Wordpress (ok a bit crazy)
May 30, 2013, 01:49:02 pm
Quote
This is not really possible AFAIK because CiviCRM maps Contacts to CMS Users. So if I have a Contact and then a user on each of your CMS's, my mapping will change each time.

You can have different user ids on each system - you need to enable multisite & it stores a mapping per domain. Also I believe the user table reference is a per site setting
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

aglozier

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 9
    • Phoenix Academy
  • CiviCRM version: 4.7.9
  • CMS version: WordPress 4.6.1
  • MySQL version: 5.7.14
  • PHP version: 5.6.21
Re: Running BOTH Drupal and Wordpress (ok a bit crazy)
June 01, 2013, 03:35:37 pm
Just brainstorming, but you could run CiviCRM exclusively on Drupal.  You could build the bulk of your website in WordPress.  When you need visitor access to CiviCRM content use a link to take them to the Drupal site.  You might be able to use iframes to place content from the Drupal site on the WordPress site.  You can use a subdomains to host the two sites.

I doubt this will result in a cost savings due to the complexities of managing the two environments.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Running BOTH Drupal and Wordpress (ok a bit crazy)

This forum was archived on 2017-11-26.