| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Junkie[scum]
Join Date: Oct 2006
Location: location, location
Posts: 1,716
|
embeded contact form cmsms
hey guys, i have embeded a contact form in CMS made simple however it doesn't send the mail, and it redirects to the home page whether you enter any details or not. i use this script on a few sites so i know it works , but this is my 1st time with CMSMS. here is the script Code:
|
|
|
|
|
|
#2 (permalink) |
|
i'm done, son
Join Date: Jan 2005
Posts: 12,262
|
Yeah, use the plugin that already exists - read about it under "Extensions -> Tags". You include it via: {contact_form email="yourname@yourdomain.com"} If you want to edit the markup, check out "/plugins/function.contact_form.php" There's often a custom plugin/tag for things. So check before you build something! I would guess the reason yours isn't working is the action. This is the code the built-in contact form plugin uses to generate a form action... PHP Code:
|
|
|
|
#3 (permalink) | |
|
Junkie[scum]
Join Date: Oct 2006
Location: location, location
Posts: 1,716
|
Quote:
cheers mate, will do. been a rush job so never had time to read too much (possible the worst way to do things, but times are busy |
|
|
|
|
#4 (permalink) | |
|
i'm done, son
Join Date: Jan 2005
Posts: 12,262
|
Quote:
I have to re-engineer an entire site in CMSms before the New Year. All I've had time to do is set up the stylesheets and templates. Next up: pasting all the content from the old flat-file site to the new one! It's gonna be an awesome 26th-28th. I don't use the built-in CSS stuff, though (except to feed styles to TinyMCE). I prefer hard files for CSS and JS. |
|
|
![]() |