2014-09-30, 01:49:51
Hi kaborka, vtsimple and charlsouma;
I forgot to add the class phpmailer to plugin. Upload to extend the contact form with class phpmailer v5.1.
Always is possible to call the plugin from template:
1) the name of file plugin is: cbcontact_form.php
2) Upload to extend in plugin contact-form.
3) Structure in directory Plugin:
- contact_form.php
- folder contact:
* arial.ttf
* comprueba.php
* img_cpt.php
* .htaccess.
* folder lang: with 3 languages: fr_FR.php, es_ES.php and en_US.php
* folder form: with 6 models of form with its images. The enable form has to be called cbcontact.php and the css cbcontact.css. Rename the form that more you like it.
The folder PHPMailer_v5.1: is important that this folder is in /plugins
I forgot to add the class phpmailer to plugin. Upload to extend the contact form with class phpmailer v5.1.
kaborka Wrote:I have added the plugin to an existing site (3.3.3). In /plugins I put cbcontact_form.php and the cbcontact folder from the download. The plugins page shows "Description: Getsimple contactform.R: This is right. Check permissions of contact_form.php and folder cbcontact for 'Other'.
Version 5.8.2 — Author: Cumbe" as Activated.
In the GS Page Editor I added "(% cbcontact admin, true %)" (no quotes) to an existing page, but no form was generated. It just shows the same text string. What did I do wrong?
Always is possible to call the plugin from template:
Code:
- in template with a php funtion:
<?php cbcontact_page('nameofuser', true or false ,true or false, true,'user or email', 'user or email'); ?>
vtsimple Wrote:Just a few more questions:R:
1.) I see that you changed the name of cbcontact.php to cbcontact_form.php -- is this necessary?
2.) I see that you added PHPMailer_v5.1 to the plugins -- is this plugin available from GetSimple Extensions? I can't find it.
3.) What files are in your plugins/cbcontact/ folder -- what is that directory structure?
1) the name of file plugin is: cbcontact_form.php
2) Upload to extend in plugin contact-form.
3) Structure in directory Plugin:
- contact_form.php
- folder contact:
* arial.ttf
* comprueba.php
* img_cpt.php
* .htaccess.
* folder lang: with 3 languages: fr_FR.php, es_ES.php and en_US.php
* folder form: with 6 models of form with its images. The enable form has to be called cbcontact.php and the css cbcontact.css. Rename the form that more you like it.
The folder PHPMailer_v5.1: is important that this folder is in /plugins