Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: dca_mailto_form (simple email form)
> obeewan wrote:
It should state <code>From: $sender_name <$sender_email></code>, not the other way around.
You’re right, obeewan.
Offline
Re: dca_mailto_form (simple email form)
indent wrote,
<em>“What happens on the backend with this plug-in? After I hit submit, is it plugin or native code that takes the form input and sends the email? The reason I ask is that the forms seems to have an action of just ‘index.php’.”</em>
If you have not yet got a reply to your question regarding native/non-native code that the plugin uses, after disecting it as I did, the code is non-native and part of the plugin, not of TXP.
Last edited by obeewan (2004-09-14 22:16:33)
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)
I’m getting very agitated that I can’t get this plugin to work, I created a test section to see how well it works but everytime I hit submit I get a 404 error. I tried some of the things mentioned in this thread but they haven’t worked. I fiddled around in my htaccess file to see if the problem was the info put in there when I created the “test” section but I did it the same way as I did in creating my other sections so that looks right. Help?
Offline
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="maildomain.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