Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1309 2013-06-14 22:25:23

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 335
Website

Re: zem_contact_reborn 4.0.3.20

Hi Guys, had mentioned I’d done some html5 friendly stuff to the plugin from version 4.0.3.20, I’ve just uploaded the downloadable plugin file to my web site which you can grab at http://www.proximowebdesign.ie/file_download/19/zem_contact_reborn_v4.0.3.20_zip.txt

Basically just gives html5 friendly code with no errors, and also a new tag for the placeholder attribute like:

<txp:zem_contact_text label="Name:*" required="1" placeholder="Full name..." />

I did try to get an autofocus attribute working but just couldn’t pick out a field for it so it would cycle through each one, as there’s no ‘yes’ ‘no’ value for placeholder, ideally you would just output the single word if it applied but if I figure that out will come back! I did read disabled users actually don’t like autofocus as it takes the control they have of their cursor and where it is on the page away from them disturbing their ease of browsing so maybe it’s not a bad thing not to use it.. anyway small reference to autofocus left in the code if anyone wants to try and figure that out ;)

Very simple code updates nothing major at all but do feel free to use or incorporate or anything you like!

Last edited by hilaryaq (2013-06-15 14:15:07)


…………………
I <3 txp
…………………

Offline

#1310 2013-06-14 23:59:43

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: zem_contact_reborn 4.0.3.20

hilary – you are a gem :)

haven’t tried this yet, but will be this weekend

Thanks

Offline

#1311 2013-06-15 12:56:22

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 335
Website

Re: zem_contact_reborn 4.0.3.20

Awesome :) You might want to re-name the txt file just not to override any existing install you have but it all works fine here!


…………………
I <3 txp
…………………

Offline

#1312 2013-06-15 13:52:30

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 335
Website

Re: zem_contact_reborn 4.0.3.20

Would be great to have a type=date attribute, mostly defaults to text, could do a tag like the zem_contact_email, to have zem_contact_type, and then have an attribute type=date, or whatever other types html5 will offer, that way it would keep it away from the rest of the code too..


…………………
I <3 txp
…………………

Offline

#1313 2013-06-15 15:20:02

etc
Developer
Registered: 2010-11-11
Posts: 5,057
Website GitHub

Re: zem_contact_reborn 4.0.3.20

hilaryaq wrote:

Would be great to have a type=date attribute, mostly defaults to text, could do a tag like the zem_contact_email, to have zem_contact_type, and then have an attribute type=date, or whatever other types html5 will offer, that way it would keep it away from the rest of the code too..

Any attribute of any tag can be altered with etc_query:

<txp:etc_query data='<txp:zem_contact_text />'
	replace="input@@type=date@autofocus=autofocus" />

Offline

#1314 2013-06-15 15:34:15

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 335
Website

Re: zem_contact_reborn 4.0.3.20

Oh cool thanks etc hadn’t come across that :) And I just edited to include another tag.. will check your one out!


…………………
I <3 txp
…………………

Offline

#1315 2013-06-20 14:11:00

zainul.dss
New Member
Registered: 2013-03-18
Posts: 9

Re: zem_contact_reborn 4.0.3.20

Hi,

I am getting an error upon using of zem_contact_select tag.When I am adding this tag on my contact form it gives me the below error:
“Tag error: <txp:zem_contact_select label=“How did you find us?” name=“findus” list=“Google,Yahoo,MSN,Others” /> -> : Function split() is deprecated while parsing form “None” on page “Contact Us””

Can anyone help me how we could sort out this issue.

Many thanks
Zain…

Offline

#1316 2013-06-20 14:17:24

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 335
Website

Re: zem_contact_reborn 4.0.3.20

Hi Zain, if the admin-preferences-production status isn’t set to live, try setting to live and hard refresh the page.. might work!


…………………
I <3 txp
…………………

Offline

#1317 2013-06-20 14:34:21

zainul.dss
New Member
Registered: 2013-03-18
Posts: 9

Re: zem_contact_reborn 4.0.3.20

Hi hilaryaq,

Many thanks for you,
it worked for me.

Offline

#1318 2013-06-20 14:39:46

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 335
Website

Re: zem_contact_reborn 4.0.3.20

Glad it worked, welcome! :)


…………………
I <3 txp
…………………

Offline

#1319 2013-06-20 15:09:47

zainul.dss
New Member
Registered: 2013-03-18
Posts: 9

Re: zem_contact_reborn 4.0.3.20

Hi All,

I am integrating some external font in textpattern but it is not getting it, can any body help me why it is not getting the external fonts.

Many thanks
Zain…

Offline

#1320 2013-06-20 15:40:09

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: zem_contact_reborn 4.0.3.20

Zain, is this website online? If not: what code are you using for integrating the font?

(Finally: this should actually be asked in a new topic in the General Discussions forum.)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB