Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2007-02-28 20:17:48

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

beztak, if you think about it, that would be a poor semantic choice, even if your name=”“ attribute is defined. You can achieve the look you are going for by simply wrapping the form inputs in block level tags (list or paragraph for instance). Then give your labels a specific width and your form input fields will all left-align vertically to the right.


Offline

#38 2007-02-28 21:23:24

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

ma_smith wrote:

You can achieve the look you are going for by simply wrapping the form inputs in block level tags (list or paragraph for instance). Then give your labels a specific width and your form input fields will all left-align vertically to the right.

Maybe you’re right. I think I tried this many ways but result never was what I want… But I will try it again ;)

Offline

#39 2007-03-02 14:14:02

guiguibonbon
Member
Registered: 2006-02-20
Posts: 296

Re: zem_contact_reborn 4.0.3.19 (old version)

Please tell me if i’m doing something wrong here. What I want is the email to be sent to the person filling the form. Here’s how i’ve set it up:

<txp:zem_contact copysender="1" to_form="to" from="my@own.email" copysender="1">

and the “to” form looks like this :

<txp:php>
  global $zem_contact_form;
  echo $zem_contact_form['Email'];
</txp:php>

But when i fill in the form it says “Sorry, unable to send email.” I know the mail function is enabled, so what am I doing wrong?

Offline

#40 2007-03-02 15:39:09

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

What happens when you submit the form in this more simple setup:

<txp:zem_contact to="my@own.email" from="my@own.email">

And if that still gives errors, make sure that “own.email” is your own domain (same as the website where this form lives).

Offline

#41 2007-03-02 16:18:22

guiguibonbon
Member
Registered: 2006-02-20
Posts: 296

Re: zem_contact_reborn 4.0.3.19 (old version)

It works then. It’s really only due to the to_form.

Offline

#42 2007-03-02 19:00:47

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Which version of this plugin are you using?

——-
If you want to send a copy of the mail to the person filling out the form, you don’t need a to_form.

<txp:zem_contact copysender="1" to="your@email" from="my@own.email">

——-
If you don’t want to get email yourself, but do want the submitter to get an email, then you’d do:

<txp:zem_contact to_form="to" from="my@own.email">

With a “to” form like this (to make sure that it is a valid looking email address). Note that it says zem_contact_*from*:

<txp:php>
  global $zem_contact_from;
  echo $zem_contact_from;
</txp:php>

Or for testing, try putting nothing but an email address in the “to” form (no linebreaks or php tags!)

Offline

#43 2007-03-02 20:25:00

guiguibonbon
Member
Registered: 2006-02-20
Posts: 296

Re: zem_contact_reborn 4.0.3.19 (old version)

Ok, thanks. I was being stupid and thought copysender was sending it to the email adress in the from attribute.

Offline

#44 2007-03-03 10:09:42

ramblingwebgirl
Member
From: Melbourne, Australia
Registered: 2005-04-24
Posts: 15
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Hi. This may be a very silly question / simple fix, but is anyone else having a problem with the break for <txp:zem_contact_text />? I’m using break='', but no matter what I do I can’t get the label and the input field on the same line even though the break='' tag is working for all the other tags. You can see what I’m talking about at the bottom of the page here

Am I missing something? Thanks in advance.

Offline

#45 2007-03-03 10:50:58

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

In your style sheet, look for “.entry input”. You have “float:left” set there which makes ‘input’ a block level element, so it moves to a new line.

Offline

#46 2007-03-03 10:55:11

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,643
GitHub Twitter

Re: zem_contact_reborn 4.0.3.19 (old version)

@ruud

Hi ruud, how r you?
Just (another) question : is there a way to send the entire content of a page (xhtml one, render by our TXP’s prefered CMS) with ZCR ?
Tks lot.

Cheers,


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#47 2007-03-03 12:43:33

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

I m fine :)
The email itself is sent as text/plain, so if you’d find a way to grab the XHTML contents of a page then that would show up as raw XHTML to the recipient of the email. Support for displaying XHTML is often less advanced in mail clients (much less, in Outlook 2007) than in the modern browser, so it’s likely that it wouldn’t show up as intended anyway even if ZCR did send in text/html format.

Last edited by ruud (2007-03-03 12:44:32)

Offline

#48 2007-03-03 15:07:31

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Case in point : Microsoft rolled back their css support for outlook to 2005.


Offline

Board footer

Powered by FluxBB