Jump to content

Topic on Extension talk:ContactPage

Buran Biggest Fan (talkcontribs)

I have installed this extension on mediawiki 1.42.1. After applying the configuration from the readme with the personalized changes it throws a message like the following:

"Contact form error", "A contact form is either not configured for this page or is configured incorrectly."

My LocalSettings section for this extension looks like the following:


wfLoadExtension( 'ContactPage' );

$wgContactConfig['default'] = [

        'RecipientUser' => 'Retroand',  // Must be the name of a valid account which also has a verified e-mail-addr>

        'SenderName' => 'Formulari de contacte a ' . $wgSitename,  // "Contact Form on" needs to be translated

        'SenderEmail' => $wgPasswordSender,  // Defaults to $wgPasswordSender, may be changed as required

        'RequireDetails' => true,  // Either "true" or "false" as required

        'IncludeIP' => false, // Either "true" or "false" as required

        'MustBeLoggedIn' => false,  // Check if the user is logged in before rendering the form. Either "true" or "f>

        'NameReadonly' => false, // Set to "true" to make the name field read only

        'EmailReadonly' => false, // Set to "true" to make the email address field read only

        'SubjectReadonly' => false, // Set to "true" to make the subject line field read only

        'MustHaveEmail' => true, // Set to "true" to require that the user submitting the form must have an associat>

        'AdditionalFields' => [

                'Text' => [

                        'label-message' => 'emailmessage',

                        'type' => 'textarea',

                        'rows' => 20,

                        'required' => true,  // Either "true" or "false" as required

                ],

        ],

        'DisplayFormat' => 'table',  // See HTMLForm documentation for available values.

        'RLModules' => [],  // Resource loader modules to add to the form display page.

        'RLStyleModules' => []  // Resource loader CSS modules to add to the form display page.

];

Am I doing something wrong in here? I am missing something? I have really no clue. Any help would be appreciated. Thank you in advance.

Reply to "Contact form error"