Calendar Extensions
Form Extensions

Another Resources

Form to Mail

Frequently Asked Questions
If you don't find here what you are looking for
then contact our support service

Questions


Answers

I'm getting this error: - Could not instantiate mail function - ... solution?

Joomla 2.5 can send email using both the PHP mail() function and with standard SMTP authentication. If you try to use the standard PHP mail() function but your server does not support it, you may receive the following error:

Could not instantiate mail function

The preferred solution is to setup Joomla to use SMTP Authentication instead the PHP mail() function.

How to configure Joomla to send email using SMTP?

By default, Joomla uses the php mail() function to send emails from the server but not all servers have this feature enabled.

To configure Joomla to use SMTP follow these steps:

  1. Log into your Joomla backend
  2. Go to the menu >> Site >> Global Configuration >> Server tab
  3. Under Mail Settings, configure the following settings and then click Save:
    • Mailer:: Set this to SMTP
    • SMTP Authentication: Set this to Yes if the server required authentication.
    • SMTP Security - SMTP Port: If your SMTP server uses SSL, select this option from SMTP Security and then enter the SSL Port required for your SMTP server.
    • SMTP Username: Enter your SMTP Username, which generally is your full email address.
    • SMTP Password: This will usually be your email address' password.
    • SMTP Host: If your email account you're sending email from is on the same server as your Joomla site, use "localhost" here. Otherwise, enter your SMTP hostname here.
  4. That's all.

Is there a way to format the form in a table structure (various fields in the same line) ?

Into the form editor click a field and into its settings there is one field named "Add Css Layout Keywords". Into that field you can put the name of a CSS class that will be applied to the field.

There are some pre-defined CSS classes to use align two, three or four fields into the same line. The CSS classes are named:

  • column2
  • column3
  • column4

For example if you want to put two fields into the same line then specify for both fields the class name "column2".

The form doesn't show on the page. How to fix that?

Open the file "components\com_formtomail\views\formtomail\tmpl\_common.inc.php" and change this:

define('CP_CODEPEOPLE_JQUERY',false);

...to this:

define('CP_CODEPEOPLE_JQUERY',true);

How can I apply CSS styles to the form fields?

How can I apply CSS styles to the form fields?

To modify the whole styles of the form fields and labels, edit the styles file "components/com_formtomail/formtomail/css/stylepublic.css" and add these rules at the end of that file:

  • Change all the labels:
        #fbuilder, #fbuilder label, #fbuilder span {
            color: #00f;
        }
    
  • Change all the input, textarea and select fields:
        #fbuilder input[type=text], #fbuilder textarea, #fbuilder select {
            border: 2px solid #00f;
        }
    
  • Change the submit button:
        #fbuilder .pbSubmit {
            color: #00f;
            font-weight: bold;
        }
    
  • Change the "Section Break" field:
        #fbuilder .section_breaks label { font-size:18px; }
        #fbuilder .section_breaks span { font-size:14px; }
    
  • Change the "Instructions Text" field:
        #fbuilder .comment_area label { font-size:18px; }
        #fbuilder .comment_area span { font-size:14px; }
    
  • Change the "next" and "previous" buttons:
        #fbuilder .pbNext,#fbuilder .pbPrevious {
            color: #00f;
            font-weight: bold;
        }
    
  • Change the "form title" and "header description":
        #fbuilder .fform h1 {font-size:32px;}
        #fbuilder .fform span {font-size:16px;}
    

On the other hand to modify only a specific field into the form:

  • Step #1: Into the form editor, click a field to edit its details, there is a setting there named "Add CSS Layout Keywords".

  • Step #2: You can add a class name into that field, so the style specified into the CSS class will be applied to that field.

  • Step #3 (Note): Don't add style rules directly there but the the name of a CSS class.

  • Step #4: You can place the CSS class either into the CSS file of your template or into the file "components/com_formtomail/formtomail/css/stylepublic.css" located into the plugin's folder.

  • Examples: Add a class named "specialclass" into the setting "Add CSS Layout Keywords" and add one of these CSS rules into the mentioned file:

    • Change the field label:
          .specialclass label {
             color: #00f;
          }
      
    • Change the input, textarea or select of the field:
          .specialclass input[type=text],.specialclass textarea,.specialclass select {
              border: 2px solid #00f;
          }
      

How can I add specific fields into the email message?

There is a tag named %INFO% that is replaced with all the information posted from the form, however you can use also optional tags for specific fields into the form.

For doing that, click the desired field into the form builder and in the settings box for that field there is a read-only setting named "Field tag for the message (optional):". Copy & paste that tag into the message text and after the form submission that tag will be replaced with the text entered in the form field.

The tags have this structure (example): %fieldname1%, ;%fieldname2%, %fieldname3%, ...

I haven't received the email with the download link or I lost the download link. How can I get it?

If you purchased the product using Google Checkout, the instructions for accessing your purchase will appear in a yellow box at the top of your Order Receipt page (into your Google Checkout account):



After accessing that link you will get a copy of the product and a copy of the download link will be sent to your email address. Please be sure to check your spam/bulk mail folder if you don't see the email into your inbox.

I'm getting installer errors.

If you get any of the following errors:

JInstaller: :Install: Cannot find XML setup file

Error! Could not find an XML setup file in the package.

... be sure that you have UNZIPPED the downloaded file and then selected the installer file for your Joomla version. Note that the main file (the ZIP that you get with the download) is a ZIP file that contains the installers for different Joomla versions, components, modules and plugins.