Skip to content
Laurent Jouanneau edited this page Aug 31, 2023 · 2 revisions

Configuration parameters for the jcommunity module.

There are some settings that you can set in the configuration of your application, or by jPref.

settings in the main configuration (jCommunity 1.1+)

You should add a jcommunity section, and you can set these parameters:

  • loginresponse': the alias of the response in the jcommunity controller to display the login form. By default: html`.
  • registrationEnabled: indicates if the registration feature is enabled (on) or not (off). By default: on
  • resetPasswordEnabled: indicates if the reset password feature is enabled (on) or not (off). By default: on

ex:

[jcommunity]
loginresponse = html  ; htmlauth for master_admin
registrationEnabled = off
resetPasswordEnabled = on

settings with jPref (jCommunity 1.1+)

Note: using jPref is deprecated.

Using jPref allows to the admin user to change some settings (registration and reset password) directly from the jpref_admin interface. If jPref is activated, settings registrationEnabled and resetPasswordEnabled in the configuration are ignored.