Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2004-09-14 22:30:30

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

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

#50 2004-09-15 03:04:44

Tom Alday
Member
Registered: 2004-04-27
Posts: 38
Website

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

#51 2004-09-15 04:23:11

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

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

#52 2004-09-15 07:52:11

mamash
Member
From: Prague
Registered: 2004-02-21
Posts: 127
Website

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

#53 2004-09-15 11:18:42

Tom Alday
Member
Registered: 2004-04-27
Posts: 38
Website

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

#55 2004-09-27 06:51:49

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

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

#56 2004-09-28 13:31:19

ChrisJ
Member
From: Vienna, Austria
Registered: 2004-03-30
Posts: 54
Website

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

#57 2004-09-28 18:26:15

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: dca_mailto_form (simple email form)

ChrisJ: check out this post


Johan Nilsson

Offline

#58 2004-10-01 19:50:50

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

Board footer

Powered by FluxBB