Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-06-26 06:48:34

blazin6543
Member
From: Toronto, Canada
Registered: 2006-06-19
Posts: 103
Website

Re: adding a contact page (resolved)

im not sure what the problem is the contact form just dont come up

Offline

#14 2006-06-26 08:57:27

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: adding a contact page (resolved)

It doesn’t show up at all? If you go to your preferences and turn your “production status” to “debugging” and then load the page, do you get any errors?

Offline

#15 2006-06-26 12:03:02

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: adding a contact page (resolved)

this ma sound like a dumb question blazin but did you implement the zem contact tags because the <code><txp:zem_contact to=“admin@endcruelty.ca” /></code> Is just the invisible field that sends the form to your address you will need at least <code><txp:zem_contact_text required=“yes” label=“Name” /><br />
<txp:zem_contact_text required=“no” label=“Phone” min=“7” /><br />
<txp:zem_contact_email /><br />
<txp:zem_contact_textarea cols=“50” label=“sample text block” />
<txp:zem_contact_submit label=”“/></code> This is an example with other fields where required is either yes or no and label is the name of box that will be displayed. I apologize if you were already implementing this, also check to see if the plug in is turned on. I know i had the same problem when I first tried to use zem_contact. I forgot to hit the on button :X

I hope that is of some help


Grrr RRR nnndth grrr Skeek!

Offline

#16 2006-06-26 14:50:14

blazin6543
Member
From: Toronto, Canada
Registered: 2006-06-19
Posts: 103
Website

Re: adding a contact page (resolved)

http://endcruelty.ca/contact this is the page in case you dont believe me that it doesnt work ;)

when i put it to debugging i get a couple errors
tag_error <txp:older> -> Notice: Undefined variable: numPages on line 664

tag_error <txp:newer> -> Notice: Undefined variable: numPages on line 622

Offline

#17 2006-06-26 15:04:23

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: adding a contact page (resolved)

hmm that is odd, now if it were php I could easily help you define the variables,

Is this a Microsoft or linux based server the site is on?


Grrr RRR nnndth grrr Skeek!

Offline

#18 2006-06-26 21:19:52

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: adding a contact page (resolved)

WhiteDog wrote:

because the <code><txp:zem_contact to=“admin@endcruelty.ca” /></code> Is just the invisible field that sends the form to your address

I don’t think so WhiteDog, this tag should create a basic but complete email form (see Stuart’s article).

@blazin6543:
Just to make sure: you did activate the plugin didn’t you?

Edit: Oh and you need both zem_contact_reborn and zem_contact_lang.

Last edited by els (2006-06-26 21:25:09)

Offline

#19 2006-06-27 03:39:45

blazin6543
Member
From: Toronto, Canada
Registered: 2006-06-19
Posts: 103
Website

Re: adding a contact page (resolved)

ok you wanna know how stupid i am at textpattern??? i put my “contact” page to the same as default and tried to see if adding a damn article with “<txp:zem_contact to=“admin@endcruelty.ca” />” instead would make it work….. lo’ and behold it works now……. i officially i have no brain when it comes to textpattern…. why didnt anyone tell me to start a sticky article??? thats the only thing i didnt do ;)

but……… the form seems to be sticking out really far and i cant seem to find where to edit the width :(

Last edited by blazin6543 (2006-06-27 04:01:39)

Offline

#20 2006-06-27 12:00:11

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: adding a contact page (resolved)

edit the following in css
<code>
input{
width:120px;
}
textarea{
width:150px;
}
</code>

set your width accordingly


Grrr RRR nnndth grrr Skeek!

Offline

#21 2006-06-27 16:28:21

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: adding a contact page (resolved)

A sticky article? I have no article content on my contact page and it works fine. I’m using the old zem_contact with a minor hack to let me dynamically add the email subject.

I still haven’t figured out how to do zem_contact_secret :/


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#22 2006-06-27 18:35:46

blazin6543
Member
From: Toronto, Canada
Registered: 2006-06-19
Posts: 103
Website

Re: adding a contact page (resolved)

well i have it all worked out now :) but how do you have the form without a sticky??? you just have the code in the page that is using the section? because i tried that and it wasnt work at all

Offline

#23 2006-06-27 18:40:12

WhiteDog
Member
From: Maine
Registered: 2005-09-07
Posts: 174

Re: adding a contact page (resolved)

i just hard coded the form in a new section with a new page specified as contact. Rather than doing the form as a sticky article…? It actually seems more complex to have it that way. Or did I misunderstand.


Grrr RRR nnndth grrr Skeek!

Offline

Board footer

Powered by FluxBB