Hi,
i have problem, i get html / php code from my form that isnt from CHF and i need get it to joomla - i need to collect info by emails and the best would be to explain it to you by basic example:
FORM Html :
<font color="black">
<form action="data.php" method="post">
<fieldset><legend>Kontaktujte nás</legend> Meno: <input
name="meno" type="text"size="32" /><br />
Priezvisko: <input name="priezvisko" type="text" size="28"
/><br />
E-mail: <input name="email" type="text" size="32" /><br />
Predmet: <input name="predmet" type="text" size="30" /><br />
<br>Text:<br>
<textarea name="text" rows="7" cols="30"></textarea><br>
<form method=post onsubmit="window.location='index.php' action="mailto:registracia@vavslovakia.sk">
<input name="submit" type="submit" value="Odoslať" />
</fieldset></form>
<br>
<font color="red">Všetky údaje sú povinné!</font>
But i dont know where i need get PHP code /i have it on validation option at the bottom of menu //i suppose there ///
<?php $prijemca = "registracia@vavslovakia.sk";
if ($meno && $email && $predmet && $text){mail("$prijemca", "$predmet", "$meno $priezvisko Vám posiela tento text $text",
"from: $email");}?>
BUT
there is next big problem http://www.vavslovakia.sk/ftp1/vavslovakia/sk/registracia
just try name, surname, email, subject, text and button is submit...always if i click on submit youll be redirected to
You are not allowed to access this URL ....i get php code to every window i suppose that it will be ok...but still...
So, 1. where i need get data.php to CHF options
2. why isnt mail send and all that you can see is You are not allowed to access this URL /when i want to set email in setup emails - i use to, subject, from name from email, i enable all 4 items and when ill save, Problem :
TableChronoContactEmails::store failed - Unknown column 'replytoname' in 'field list' SQL=INSERT INTO `josvav_chrono_contact_emails` ( `formid`,`to`,`dto`,`subject`,`dsubject`,`cc`,`dcc`,`bcc`,`dbcc`,`fromname`,`dfromname`,`fromemail`,`dfromemail`,`replytoname`,`dreplytoname`,`replytoemail`,`dreplytoemail`,`enabled`,`params`,`template` ) VALUES ( '6','registracia@vavslovakia.sk','','Form','','','','','','Client','','info@vavslovakia.sk','','','','','','1','recordip=1\nemailtype=text\nenabled=1\neditor=1\nenable_attachments=1','\r\n
\r\n\r\n
Kontaktujte nás Meno: {meno}
\r\n\r\nPriezvisko: {priezvisko}
\r\n\r\nE-mail: {email}
\r\n\r\nPredmet: {predmet}
\r\n\r\n
Text:
\r\n\r\n{text}
\r\n\r\n\r\n\r\n
\r\n\r\n\r\n
\r\n\r\nVšetky údaje sú povinné!\r\n\r\n\r\n' )
please help, and sorry about my bad enligsh
Thank you very much
i have problem, i get html / php code from my form that isnt from CHF and i need get it to joomla - i need to collect info by emails and the best would be to explain it to you by basic example:
FORM Html :
<font color="black">
<form action="data.php" method="post">
<fieldset><legend>Kontaktujte nás</legend> Meno: <input
name="meno" type="text"size="32" /><br />
Priezvisko: <input name="priezvisko" type="text" size="28"
/><br />
E-mail: <input name="email" type="text" size="32" /><br />
Predmet: <input name="predmet" type="text" size="30" /><br />
<br>Text:<br>
<textarea name="text" rows="7" cols="30"></textarea><br>
<form method=post onsubmit="window.location='index.php' action="mailto:registracia@vavslovakia.sk">
<input name="submit" type="submit" value="Odoslať" />
</fieldset></form>
<br>
<font color="red">Všetky údaje sú povinné!</font>
But i dont know where i need get PHP code /i have it on validation option at the bottom of menu //i suppose there ///
<?php $prijemca = "registracia@vavslovakia.sk";
if ($meno && $email && $predmet && $text){mail("$prijemca", "$predmet", "$meno $priezvisko Vám posiela tento text $text",
"from: $email");}?>
BUT
there is next big problem http://www.vavslovakia.sk/ftp1/vavslovakia/sk/registracia
just try name, surname, email, subject, text and button is submit...always if i click on submit youll be redirected to
You are not allowed to access this URL ....i get php code to every window i suppose that it will be ok...but still...
So, 1. where i need get data.php to CHF options
2. why isnt mail send and all that you can see is You are not allowed to access this URL /when i want to set email in setup emails - i use to, subject, from name from email, i enable all 4 items and when ill save, Problem :
TableChronoContactEmails::store failed - Unknown column 'replytoname' in 'field list' SQL=INSERT INTO `josvav_chrono_contact_emails` ( `formid`,`to`,`dto`,`subject`,`dsubject`,`cc`,`dcc`,`bcc`,`dbcc`,`fromname`,`dfromname`,`fromemail`,`dfromemail`,`replytoname`,`dreplytoname`,`replytoemail`,`dreplytoemail`,`enabled`,`params`,`template` ) VALUES ( '6','registracia@vavslovakia.sk','','Form','','','','','','Client','','info@vavslovakia.sk','','','','','','1','recordip=1\nemailtype=text\nenabled=1\neditor=1\nenable_attachments=1','\r\n
\r\n\r\n
Kontaktujte nás Meno: {meno}
\r\n\r\nPriezvisko: {priezvisko}
\r\n\r\nE-mail: {email}
\r\n\r\nPredmet: {predmet}
\r\n\r\n
Text:
\r\n\r\n{text}
\r\n\r\n\r\n\r\n
\r\n\r\n\r\n
\r\n\r\nVšetky údaje sú povinné!\r\n\r\n\r\n' )
please help, and sorry about my bad enligsh
Thank you very much
Hi anvil,
if your php is to send emails then I suggest you don't use it and build an email using Chronoforms, please read the email setup tutorial from our tutorial page!
Please upgrade to V3.1 RC5.2 and open the "Upgrade SQL" page and it will fix the error you get!
Regards,
Max
if your php is to send emails then I suggest you don't use it and build an email using Chronoforms, please read the email setup tutorial from our tutorial page!
Please upgrade to V3.1 RC5.2 and open the "Upgrade SQL" page and it will fix the error you get!
Regards,
Max
ok, now it is without problem with emails, i can see enabled : 1, disabled : 0...but try http://www.vavslovakia.sk/ftp1/vavslovakia/sk/registracia...there is still-You are not allowed to access this URL can somebody chech the source code ?
I am in the end
I am in the end
Hi, I think that you have form tags inside your form code, this is wrong and will break it!
Regards
Max
Regards
Max
This topic is locked and no more replies can be posted.