Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: dca_mailto_form (simple email form)
Tom,
Umm .. Your form action looks like this “â€
Last edited by obeewan (2004-09-14 22:31:37)
Plugins:
ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
Re: dca_mailto_form (simple email form)
Ok, fixed that problem (wrong default charset) but now it still throws a 404 error up whenever I hit Submit.
Offline
Re: dca_mailto_form (simple email form)
Tried the change to request uri in the plugin code? That should do it actually.
Plugins:
ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
Re: dca_mailto_form (simple email form)
This is PHP code, it has to be entered like this:
action="'.$_SERVER['REQUEST_URI'].'"
Remember to actually type in the code, not copy and paste, as this forum sometimes changes normal quotes and doublequotes into their nice forms (which do not work in PHP of course).
Who’s gonna textdrive you home tonight?
Offline
Re: dca_mailto_form (simple email form)
> mamash wrote:
> This is PHP code, it has to be entered like this:
action="'.$_SERVER['REQUEST_URI'].'"
Remember to actually type in the code, not copy and paste, as this forum sometimes changes normal quotes and doublequotes into their nice forms (which do not work in PHP of course).
alright then, that worked :)
thanks mamash
Offline
#54 2004-09-26 21:02:28
- hafnius
- Archived Plugin Author
- From: DK
- Registered: 2004-09-02
- Posts: 47
Re: dca_mailto_form (simple email form)
Have a look at Obeewans article on editing the comment form to labels to them. Maybe that could be a help on the way.
/Hafnius
– Nobody puts Baby in the corner !
Johnny Castle, Dirty Dancing
Offline
Re: dca_mailto_form (simple email form)
I have actually done some alterations to this plugin aswell making it XHTML compliant aswell as fixing the sent from bug and request_uri bug.
And now I have an article about it. =)
Last edited by obeewan (2004-09-27 06:52:01)
Plugins:
ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
Re: dca_mailto_form (simple email form)
Good one! Now I’m trying to tweak it to change your divs into definition lists.
But I got a question: when I put < txp:dca_mailto_form email="mail
domain.com” / >@ into article body, the form is wrapped with a paragraph < p >
tag. How to get rid of it? Do I have to make an extra page template for my contact section?
Offline
Offline
Re: dca_mailto_form (simple email form)
Will this take a form tag?
I would like to use this with the great plugin imm_encrypt. I have not quite figured out how to get the two to cooperate.
Jamie
Offline
#59 2004-10-01 20:03:33
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: dca_mailto_form (simple email form)
Nope, its a straight plugin (a tag) itself. What is it that you’re trying to accomplish?
Offline