Ad Widget

Collapse

Adding new configuration options to frontend

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • firkinfedup
    Junior Member
    • Sep 2013
    • 4

    #1

    Adding new configuration options to frontend

    Hi there,

    I'm in the process of adding a new authentication option but cant locate where the config settings are stored. I've chosen my keys in the config but obviously they aren't found so I need to add them to either a file or a mysql table somewhere. Any ideas?

    for example...

    in administration.authentication.edit.php,

    $authenticationFormList->addRow(_('Bind password'), new CPassBox('ldap_bind_password', $this->data['config_data']['ldap_bind_password'],

    where is data['config_data']['ldap_bind_password'] initialised?

    Cheers.
  • firkinfedup
    Junior Member
    • Sep 2013
    • 4

    #2
    my bad again, I've just located the configuration in a table called config. I'm adding my settings as new columns using mysql, for example,

    ALTER TABLE config ADD myconfigsetting varchar(64);

    Comment

    Working...