Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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