Textpattern Forum

You are not logged in. Register | Login | Help

#1041 2011-06-23 13:30:11

[Axel]
Member
From: Switzerland/Denmark
Registered: 2007-07-26
Posts: 65
Website

Re: zem_contact_reborn 4.0.3.20

Hi Ruud,

I looked for some zem_contct_language files, and couldn’t find any except a German translation. Wouldn’t it be a good idea to link them all under the zem_contact_lang plugin?

I have a Danish translation that I would like to share.

Sunny Greetz

[Axel]


Greetz [Axel]

Offline

#1042 2011-06-23 17:16:23

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,502
Website

Re: zem_contact_reborn 4.0.3.20

The idea behind the ZRC_lang plugin is that anyone can easily modify the plugin to his own language (and it’s really easy to do that), using error messages in a way they like best (people tend to disagree on what the right translation is).

Online

#1043 2011-06-23 19:55:31

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,384
Website

Re: zem_contact_reborn 4.0.3.20

You will find a couple of translations here. They were made for use with MLP, but you can of course just copy them for any non-MLP site.


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#1044 2011-07-01 01:14:33

Dorian Graph
New Member
From: Australia
Registered: 2010-10-26
Posts: 8
Website

Re: zem_contact_reborn 4.0.3.20

Where is the most appropriate place for me to file an update for the plugin?

Case: With Textpattern 4.4.0 (?) split() was deprecated and explode() is to be used instead (Here is an example in classTextile.php where it was updated) and currently the the plugin has one line which uses split() throwing an error—I have just fixed this on my own though when searching about this problem I found a few sites that currently have the same problem (And I plan on emailing them soon too to let them know):

http://skywatchersmusic.com/contact
http://brownhilltreeco.com/request-info

I fixed this by simply editing line 538 in the plugin from:
$list = array_map('trim', split($delimiter, preg_replace('/[\r\n\t\s]+/', '
To..
$list = array_map('trim', explode($delimiter, preg_replace('/[\r\n\t\s]+/', '

Last edited by Dorian Graph (2011-07-01 01:26:05)

Offline

#1045 2011-07-01 09:25:22

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,502
Website

Re: zem_contact_reborn 4.0.3.20

It only throws that warning if the website is in debug or testing mode. Plugin will be fixed (soon). A live website shouldn’t run in testing/debug mode.

LOL… I happen to be involved in maintaining one of the websites you mention (fixed).

Online

#1046 2011-08-20 08:54:31

Destry
Moderator
From: Strasbourg, France
Registered: 2004-08-04
Posts: 2,361
Website

Re: zem_contact_reborn 4.0.3.20

Side: The in-thread search function is a game changer! – thanks Ruud.

To topic…

ruud wrote:

Christian, edit the plugin code or use javascript (a variation on this script could easily do it. Instead of filling the value attribute with the placeholder attribute, you can do it the other way around. Same effect)

There’s no chance the HTML 5 placeholder attribute will ever be added?

It’s something that can be used more and more frequently to improve design possibilities as well form usability. For example, I’m fond of this idea used by Insite, where required fields are not marked, rather the optional fields are by using an “Optional” placeholder to clearly show the distinction without need for silly asterisks or whatever on labels.

To be clear, plugin mods are not a problem for me with my own sites. But for clients sites, which I rarely maintain after hand-over (it’s a losing money game against time), I don’t want to have to add that level of detail (plugin modifications) to client documentation. Just the idea of having to update Txp’s install, let alone plugins in relation, is a bit of a space bender for some clients who don’t have web staff on hand.

Just a thought.

Offline

#1047 2011-08-20 09:40:40

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,502
Website

Re: zem_contact_reborn 4.0.3.20

@destry, that will definitely be part of a new plugin version (still working on TXP server migration issues though).

Online

#1048 2011-08-20 10:02:44

Destry
Moderator
From: Strasbourg, France
Registered: 2004-08-04
Posts: 2,361
Website

Re: zem_contact_reborn 4.0.3.20

Sounds good. Thanks.

Offline

#1049 2011-08-20 14:13:40

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 1,898
Website

Re: zem_contact_reborn 4.0.3.20

I have made an own modded version of zcr with the placeholder attribute and a few other things, although it doesn’t yet have full support for all html5 form elements. I’ll send you both a copy…


TXP Builders – finely-crafted code, design and txp

Offline

#1050 2011-08-20 20:03:20

net-carver
Admin
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: zem_contact_reborn 4.0.3.20

jakob wrote:

I have made an own modded version of zcr with the placeholder attribute and a few other things, although it doesn’t yet have full support for all html5 form elements. I’ll send you both a copy…

Hi Jakob, could I ask for a copy too, please.


Steve
Textile | My plugins on GitHub | @netcarver

Offline

Board footer

Powered by FluxBB