I'm having a little trouble with mailform:
When pressing the send button, the site reload the home page, without sending anything and even if the required form are empty...
Any idea?
This is the code:
IT|band_name|0|Project/Band Name: |30,100||200
IT|first_name|0|First Name: |30,100||200
IT|last_name|0|Last Name: |30,100||200
IT|city|0|City: |30,100||200
SC|country|0|Country: |30,100|IT|200
IT|email|1|Email: |30,100||200
SM|production_type|0|Production type: |20,100|demo#album#pre-production#multimedia#other|200
SM|work_type|0|Work type: |20,100|complete#recording#mixing#mastering#other|200
IC|rental|0|Need to rent the studio?: |30,50|yes#no|200
IN|days|0|Number of days: |30,100||200
SM|from_DAY|0|From.Day: |1,1|none#1%1#2%2#3%3#4%4#5%5#6%6#7%7#8%8#9%9#10%10#11%11#12%12#13%13#14%14#15%15#16%16#17%17#18%18#19%19#20%20#21%21#22%22#23%23#24%24#25%25#26%26#27%27#28%28#29%29#30%30#31%31|200
SM|from_MONTH|0|From.Month: |1,1|none#1%Jan#2%Feb#3%Mar#4%Apr#5%May#6%Jun#7%Jul#8%Aug#9%Sep#10%Oct#11%Nov#12%Dec|200
SM|from_YEAR|0|From.Year: |1,1|none#2004%2004#2005%2005#2006%2006#2007%2007#2008%2008#2009%2009#2010%2010|200
SM|to_DAY|0|To.Day: |1,1|none#1%1#2%2#3%3#4%4#5%5#6%6#7%7#8%8#9%9#10%10#11%11#12%12#13%13#14%14#15%15#16%16#17%17#18%18#19%19#20%20#21%21#22%22#23%23#24%24#25%25#26%26#27%27#28%28#29%29#30%30#31%31|200
SM|to_MONTH|0|To.Month: |1,1|none#1%Jan#2%Feb#3%Mar#4%Apr#5%May#6%Jun#7%Jul#8%Aug#9%Sep#10%Oct#11%Nov#12%Dec|200
SM|to_YEAR|0|To.Year: |2,1|none#2004%2004#2005%2005#2006%2006#2007%2007#2008%2008#2009%2009#2010%2010|200
TA|info|0|Comments/Other: |30,10||200
Thanks!
K.
Mail form doesn't send!
Try the following :
Create a structure Level called : Mailform
Front-End Menue Status: nothing is checked
Status : not visible and not public
Below this structure level create 2 new structures with the fololwing settings:
1. level
Name : success
front-end status : change nothing
Status : visible and public
2. level
Name: failed
front-end status : change nothing
Status : visible and public
You should now have a structure like this :
Now switch to your article center and create a new article in the "success" level, just saying : " Your mail has been send". and make it visible
then create a new article in the "failed" level, saying "The mail has not been send"
It shoould look like this :
Get both web adresses and notice them (for example index.php?id= 43,35,0,0,1,0 and index.php?id= 44,36,0,0,1,0)
inside your mail formular add those 2 lines at the end of all fields :
Please don't ask me why, but I also had some problems with emails, bot beeing send. But after doing this steps everything works fine.
If this all does not work, pls create a simple PHP Script that does nothing else then sending you an email with testcontent, using the mail-function, when its called in the browser.
Create a structure Level called : Mailform
Front-End Menue Status: nothing is checked
Status : not visible and not public
Below this structure level create 2 new structures with the fololwing settings:
1. level
Name : success
front-end status : change nothing
Status : visible and public
2. level
Name: failed
front-end status : change nothing
Status : visible and public
You should now have a structure like this :
Code: Select all
+root
|
+-+mailform
| +--success
| +--failed
|
...
then create a new article in the "failed" level, saying "The mail has not been send"
It shoould look like this :
Code: Select all
+root
|
+-+mailform
| +-+success
| | +--success-message (article)
| |
| +-+failed
| | +--failure-message (article)
|
...
inside your mail formular add those 2 lines at the end of all fields :
Code: Select all
IH|redirect|0||10,100|http://www.yourpage.com/index.php?id= 43,35,0,0,1,0|0
IH|redirect_error|0||10,100|http://www.yourpage.com/index.php?id= 44,36,0,0,1,0|0
If this all does not work, pls create a simple PHP Script that does nothing else then sending you an email with testcontent, using the mail-function, when its called in the browser.