ImForms - A Form Generator

Erstellt am: Wednesday 01 November 2017  |  Letzte Änderung am: Saturday 11 August 2018

ImForms is a light-weight, user-friendly plugin for GetSimple CMS that allows you to build and manage customizable forms for your website. ImForms is modular in design and has an implemented method for embedding custom form processing modules. An EmailTransmitter module for sending emails is built-in as default, but you are free to extend the functionality as required by writing your own modules for processing the form data.

Requirements

  • You will need to have ItemManager installed to get ImForms running.
  • You have to run at least PHP 5.6 on your server.
  • You will need a configured mail server to send and receive emails from your GetSimple website (Note: maybe it won't work on the local server)

Installation

First, install and configure ItemManager if you haven't done it yet. Install the ImForms plugin by unpacking the archive and uploading its contents to your server in the /plugins/ directory of your GS installation. Activate the ImForms plugin in GS admin area under the Plugins menu. Click the button under Pages » ImForms (in the sidebar) to start the installation procedure. Installation wizard automatically checks system requirements, in case there are any issues, fix them and refresh the page. During the installation the system creates a demo contact form for you, so that you can get an idea of how to create your own forms.

Reinstallation

Completely: Go to the Manager (ItemManager) tab, then click on Categories. Look for imforms and imforms_cache (if available) categories and delete them.
Delete/replace these files and directories from your old version, and putt in fresh copies from the new version:

  1. /plugins/im_forms/ (directory)
  2. /plugins/im_forms.php (file)
Click the button under Pages » ImForms (in the sidebar) to start the re-installation procedure.

Reset configuration only: Delete the file config.php under /plugins/im_forms/inc/ directory. Activate the ImForms plugin in GS admin area under the Plugins menu. Click the ImForms button under Pages » ImForms (in the sidebar) to start the re-configuration process.

Plugin Settings

The global configuration settings are managed within the custom.config.php file. By default, there is no custom.config.php file in your /plugins/im_forms/inc/ directory, you have to create this file first. The directory /plugins/im_forms/inc/ contains a config.php file. ImForms automatically populates several entries into this file during the installation routine. You will need to make a copy of the config.php file and name it custom.config.php, that one will take priority over default ImForms settings. Now you can modify all variables listed in the custom.config.php file suit your needs. Pay special attention to the email settings and add your real email address there, so that you can receive the emails.

A valid configuration for a Gmail account could look something like this:

$config->emailFrom your.email@gmail.com
$config->emailFromName Your Website
$config->useSmtp true
$config->smtpHostname smtp.gmail.com
$config->smtpUser your.email@gmail.com
$config->smptPassword Your Password
$config->smtpEncryption START_TLS
$config->smtpPort 25

Note the constraint imposed by Google

Autor: Bigin  |  Tags:  FrameworkPHPGetSimpleDevelopmentItemManager

Useful links and informations related to this article


  • ItemManager A simple flat-file framework for GetSimple CMS
  • ImForms Download from Extend
  • Demo Form Just a demo form powered by ImForms plugin