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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Settings not created when extension is installed
Pages: [1]

Author Topic: Settings not created when extension is installed  (Read 295 times)

lolas

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
    • Freeform Solutions
  • CiviCRM version: Several
  • CMS version: Drupal
  • MySQL version: 5.1+
  • PHP version: Several
Settings not created when extension is installed
February 21, 2015, 01:43:44 pm
I think I followed the settings documentation but my settings are not being created when the extension is installed.

I created a file in my extension "settings/myext.setting.php". This file contains a php array.
I see that civix has automatically implemented hook_civicrm_settingsFolders

I think that should be all that I have to do going by the examples. Do I have the path wrong or is there anything else I have to do?
If not any ideas where should I look to see if there is something it doesn't like about my array?

The extension is:
https://github.com/lolas-freeform/org.civicrm.relationshipgroupsync

Freeform Solutions provides technology and management consulting, website and database development, and managed internet hosting solutions for not-for-profit organizations (NFPs).

lolas

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
    • Freeform Solutions
  • CiviCRM version: Several
  • CMS version: Drupal
  • MySQL version: 5.1+
  • PHP version: Several
Re: Settings not created when extension is installed
March 02, 2015, 07:49:36 pm
This turned out to be just another silly setup mistake on my end.
The settings do get created on install now.
Freeform Solutions provides technology and management consulting, website and database development, and managed internet hosting solutions for not-for-profit organizations (NFPs).

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Settings not created when extension is installed

This forum was archived on 2017-11-26.