Forums

no subject problem fixed

h8blades 19 Apr, 2007
I was having problems with all emails coming through w/ no subject, I tried everything even switched to "custom" but nothing worked. I then did the below and now it works fine pulling the "email subject".

below edits made in "chronocontact.php":

on line 144 delete the following lines of code:
-----------------------------------------------

if(trim($paramsvalues->subjectfield) != ""){
$subject = $_POST[$paramsvalues->subjectfield];
}

on line 174 delete the following lines of code:
-----------------------------------------------

if(trim($paramsvalues->subjectfield) != ""){
$subject = $_POST[$paramsvalues->subjectfield];
}<br><br>Post edited by: h8blades, at: 2007/04/19 03:23
Max_admin 19 Apr, 2007
Hi,

Thank you, I just want to explain this :

I made a feature which is that you can control the email subject using one of ur form fields, for example, when u use my demo here and put ur real email, you will get an email its subject is the same text you have entered at my subject field... do u know how ? this is by entering at the form subjectfield the field name which will contain the subject text, hard to understand ?

I guess your problem may be you had some non existing or not always filled field name there or may be a space!!!

Thanks,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.