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) »
  • Date Picker : getting it to work
Pages: [1]

Author Topic: Date Picker : getting it to work  (Read 2057 times)

pelicani

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
Date Picker : getting it to work
August 22, 2007, 10:06:47 am
Hey Gang,

By default, there is a js date picker on any date field.
But on my install it doesn't work.
It looks like all the js is there, but no work.
Any ideas will be appreciated.

peace,
michael


pelicani

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
Re: Date Picker : getting it to work
August 22, 2007, 10:29:09 am
So after some further reading and testing, I found an answer.
It seems the civicrm.config.php file looks for the crm settings file in the sites/all/modules directory by default.
However, I've put the crm inside the sites/default/modules directory.
And I couldn't see where this would be modified in any admin settings so I just hacked the config file to default to the sites/default/modules directory.
Bad???
I suppose all my modules should life in sites/all/modules, but what if I can't do that.
How would you modify the admin setting to  point to sites/default/modules?
Thanks in advance.

peace,
michael


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Date Picker : getting it to work
August 22, 2007, 01:12:01 pm
michael:
Quote
By default, there is a js date picker on any date field.
But on my install it doesn't work.
It looks like all the js is there, but no work.
Any ideas will be appreciated.

Can you check if you have specified correct CiviCRM Resource URL
Administer CiviCRM >> Global Settings >> Resource Urls

Kurund
Found this reply helpful? Support CiviCRM

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: Date Picker : getting it to work
August 22, 2007, 01:14:52 pm

if you want to override civicrm.config.php, u can use a file settings_location.php whose content is:

<?php

define( 'CIVICRM_CONFDIR', '/Users/lobo/public_html/drupal/sites' );

?>

Note that the civicrm.settings.php file has to be is:

$confdir/MULTISITE_HOST_NAME

or

$confdir/default

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) »
  • Date Picker : getting it to work

This forum was archived on 2017-11-26.