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 »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • CiviCRM as a Staff Directory
Pages: [1]

Author Topic: CiviCRM as a Staff Directory  (Read 1698 times)

jwilliams108

  • Guest
CiviCRM as a Staff Directory
September 10, 2010, 08:42:57 am
Hello,

I would like to use CiviCRM as a staff directory for my Drupal site. I have a few questions, though. First, does this seem like a good idea? I realize it may be a bit of overkill to start, but we would eventually like to expand to event registration and other contact tracking (with emails, etc.). So, it seems best to start with CiviCRM and expand when necessary, rather than convert over to CiviCRM at a later date.

Second, my technical requirements are a bit odd - my Drupal installation uses a custom template engine based on Smarty 3. Unfortunately, it conflicts with CiviCRM's older Smarty installation. Therefore, I must run the CiviCRM portion as a separate site to avoid the problem. Can I still query the CiviCRM data from my main site if I don't have any CiviCRM modules enabled on that main site? Essentially, how would I go about send a search query for a contact to the CiviCRM database from my main site and display the results? Views?

Any assistance would be greatly appreciated.

Jim

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: CiviCRM as a Staff Directory
September 10, 2010, 09:14:17 am

If i had to guess, civi will move to Smarty 3 when it reaches final, i.e. probably in Civi v3.4/4.0

I think using views2 integration on the main site should work, since views2 will do the display. Its probably a better option for displaying a staff directory also

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

jwilliams108

  • Guest
Re: CiviCRM as a Staff Directory
September 10, 2010, 09:41:49 am
Thanks... is the Views2 integration separate from the CiviCRM module (i.e., can I use it on the main site without enabling CiviCRM)? Is there any documentation?

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: CiviCRM as a Staff Directory
September 10, 2010, 09:54:50 am

1. u need civicrm installed to get the views2 integration, but if u r not using any of the civicrm display stuff it might work

2. check: http://civicrm.org/civisearch

search for views2

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

jwilliams108

  • Guest
Re: CiviCRM as a Staff Directory
September 10, 2010, 10:05:31 am
Thanks... I'll search and see what info I can find. However, there will be a problem with the user profile pages, as CiviCRM adds info to those pages causing the template engine conflict (which is how I first identified it).

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM as a Staff Directory
September 12, 2010, 01:55:45 pm
Quote from: jwilliams108 on September 10, 2010, 08:42:57 am
Can I still query the CiviCRM data from my main site if I don't have any CiviCRM modules enabled on that main site? Essentially, how would I go about send a search query for a contact to the CiviCRM database from my main site and display the results?

APIs: http://wiki.civicrm.org/confluence/display/CRMDOC32/CiviCRM+Public+APIs Take your pick. :)

But I don't follow your plan--if you can't use CiviCRM due to Smarty conflict then how can u do event registrations etc? Perhaps in the future when this conflict is resolved?
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.

jwilliams108

  • Guest
Re: CiviCRM as a Staff Directory
September 13, 2010, 09:57:08 am
Thanks for the link. And, good point concerning event registration... we're going to move forward by downgrading our Smarty to 2.6.26 to avoid the conflict for now.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM as a Staff Directory
September 13, 2010, 09:59:17 am
Sounds like the ideal solution. Good luck and let us know if there are any other issues.
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • CiviCRM as a Staff Directory

This forum was archived on 2017-11-26.