Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#685 2009-11-08 18:33:04

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

Re: zem_contact_reborn 4.0.3.20

Getting this error when I place a tag down:

Fatal error: Call to undefined function zem_contact_gTxt() in /Library/WebServer/Documents/ohope/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 464

When I place this tag in a content form
<txp:zem_contact_email />

I got the error.

I tried both compressed and uncompressed versions.
Plugin is activated as well.

Last edited by richtestani (2009-11-08 18:40:35)

Offline

#686 2009-11-08 20:14:57

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: zem_contact_reborn 4.0.3.20

Did you also install zem_contact_lang?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#687 2009-11-09 00:31:22

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

Re: zem_contact_reborn 4.0.3.20

No I did not.
Just did and that took care of it.

Thanks!

Offline

#688 2009-11-12 10:23:44

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: zem_contact_reborn 4.0.3.20

On this page I’m using ZCR and it works great > www.redfoxwebdesign.nl/new/contact

I’ve put input[type="text"]:focus {background-color: #f4f4f4;} in the stylesheet and it works fine too … but when the form is coming back say because there is something wrong in a textfield … entering that field again makes the input disappear … and that is somewhat annoying. What can I do about it? Thanks for some help.

Last edited by RedFox (2009-11-12 10:30:09)

Offline

#689 2009-11-12 16:42:40

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

Re: zem_contact_reborn 4.0.3.20

You’re using a bit of javascript that removes the default value from the input field when that input field receives focus. If a user fails to fill out the form correctly, the default values of the form are the already filled out fields.

Example:
By default you have all input fields empty (default=”“).
If you enter the name “Ruud” and fill out an incorrect email address (fake@address) and submit the form, you’ll get a new form with default values “Ruud” and “fake@address” for the name/email fields.

I think it’s caused by this bit of javascript:

       		$('input[type="text"]').focus(function() {
       			$(this).removeClass("idleField").addClass("focusField");
    		    if (this.value == this.defaultValue){ 
    		    	this.value = '';
				}
				if(this.value != this.defaultValue){
	    			this.select();
	    		}
    		});

If you leave out the line that says this.value = ''; the problem will be fixed I think.

Offline

#690 2009-11-12 19:52:58

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: zem_contact_reborn 4.0.3.20

Yep … it’s ok now … thanks Ruud!

[edit]
It’s a ‘trick’ I found on http://buildinternet.com … a lot of code to get IE6 on board. I don’t know if I’ll use it when the site I’m building goes online!

Last edited by RedFox (2009-11-12 19:58:23)

Offline

#691 2009-11-23 10:36:13

MrLongbaugh
Member
From: Hamburg - Germany
Registered: 2004-10-11
Posts: 116

Re: zem_contact_reborn 4.0.3.20

Hi,
I use this plugin for years now and never had a problem.

For a new project I have to set the return-path.

How can I do that?

Offline

#692 2009-11-23 11:26:28

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: zem_contact_reborn 4.0.3.20

@MrLongbaugh In my inbox your comment was aimed at ‘tru_tags: A tagging plugin based off ran_tags’. Which one is right?


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#693 2009-11-23 12:02:22

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

Re: zem_contact_reborn 4.0.3.20

MrLongbaugh wrote:

Hi,
I use this plugin for years now and never had a problem.

For a new project I have to set the return-path.

How can I do that?

You shouldn’t, because according to RFC 5321 the return-path is added by the final delivering SMTP server, not by the sending SMTP server.
Consider using the ‘reply-to’ header instead?

Offline

#694 2009-11-23 12:39:45

MrLongbaugh
Member
From: Hamburg - Germany
Registered: 2004-10-11
Posts: 116

Re: zem_contact_reborn 4.0.3.20

merz1
My mistake. That was the wrong thread. So I deleted there. Sorry.

ruud
The Return-Path and the envelope-from is set to: anonymous@oberon.kreativmedia.xx
Some mailprovider don’t accept the mails.
Now I habe to find a way to change the anonymous@oberon.kreativmedia.xx entry.

Last edited by MrLongbaugh (2009-11-23 12:40:41)

Offline

#695 2009-11-23 12:53:26

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

Re: zem_contact_reborn 4.0.3.20

Edit the plugin, search for the two lines that look like mail($to, $subject, $msg, $headers) (second one is slightly different) and add an extra parameter like this:

mail($to, $subject, $msg, $headers, '-fsender@example.com')

Last edited by ruud (2009-11-23 12:53:41)

Offline

#696 2009-11-23 12:59:06

MrLongbaugh
Member
From: Hamburg - Germany
Registered: 2004-10-11
Posts: 116

Re: zem_contact_reborn 4.0.3.20

Hi Ruud,

thanks for your suggestion. I did that already.
It seems the 5th parameter is not permitted.

Offline

Board footer

Powered by FluxBB