Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
adding a contact page (resolved)
is there a plugin or code that i can use for adding contact pages? meaning a contact page that has a form where you put name, email, message and such
Last edited by blazin6543 (2006-06-27 21:55:37)
Offline
Re: adding a contact page (resolved)
Search the forum for zem_contact. It’s a very simple (and secure) plugin for making an email form. Should be just what you want. I use it at my site.
Offline
Re: adding a contact page (resolved)
excellent :) ok so i installed the plugin, but im kind of unsure how to actually use the plugins. like do i put some code in a form or something?
Offline
#4 2006-06-22 21:51:00
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: adding a contact page (resolved)
Normally I’d say, read the plugin thread. Of course you can do that but it has 21 pages by now… You’d better start with looking at Stuart’s article on The Bomb Site.
Offline
Re: adding a contact page (resolved)
If you just want a simple form like I have, then this is the code I use. It’s very simple. The defaults in zem_contact work well enough.
Last edited by ramanan (2006-06-22 23:29:39)
Offline
#6 2006-06-23 01:34:32
- NyteOwl
- Member

- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: adding a contact page (resolved)
On a related note, has anyone got cgiemail playing nice with Textpattern?
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
Re: adding a contact page (resolved)
You should read the docs for zem_contact. If you read them, you’ll see you can use <txp:zem_contact_text /> to add a text field, <txp:zem_contact_textarea /> for a text area, etc.
Offline
#8 2006-06-23 15:24:15
- WhiteDog
- Member

- From: Maine
- Registered: 2005-09-07
- Posts: 174
Re: adding a contact page (resolved)
thanks, i realized most of my problems came from not turning ont he plug in
Grrr RRR nnndth grrr Skeek!
Offline
Re: adding a contact page (resolved)
ok im having some trouble…… i added a section….. copied a page and on that page added <txp:zem_contact to="adminendcruelty.ca” />@ i went to sections and made it use that contact page….. am i missing something?
(edited to show the code. -Els)
Last edited by els (2006-06-26 06:33:02)
Offline
#10 2006-06-26 06:22:23
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: adding a contact page (resolved)
Er, back up a bit and start again? State exactly what steps you took, what you’re getting and what you were expecting to get back. :)
Offline
Re: adding a contact page (resolved)
im a n00b at textpattern sorry :(
all i want is a contact page (maybe add some extra fields later) …… ok i created a page called “contact” and replaced <txp:article /> with <txp:output_form form="zem_contact" /> then added a section called “contact” and made “contact” the page that the section uses….. and i also made a form with the code <txp:zem_contact to="adminendcruelty.ca” />@ ……. i’ve never used a plugin before so i’m probably way off :)
(edited to show the code. -Els)
Last edited by els (2006-06-26 06:32:23)
Offline
#12 2006-06-26 06:39:26
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: adding a contact page (resolved)
Okay. So, what’s the problem, exactly? Don’t forget to read the “help” that accompanies a plugin.
You don’t need to use an intermediary form, by the way. Just put:
<txp:zem_contact to="admin@endcruelty.ca" />
right on your page. :)
Last edited by Mary (2006-06-26 06:39:39)
Offline