Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 11 matches
Smarty Forum Index
Author Message
  Topic: [SmartyValidate] - .travel domains not supported by isEmail?
brice

Replies: 1
Views: 8823

PostForum: Add-ons   Posted: Mon Jul 30, 2007 5:26 am   Subject: [SmartyValidate] - .travel domains not supported by isEmail?
It appears the regex in the isEmail validator does not support .travel domains (noticed via; http://bugs.pommo.org/?do=details&id=170)

I'm not quite sure about the developers perspective on th ...
  Topic: [SmartyValidate] Problem with append ?
brice

Replies: 2
Views: 11044

PostForum: Add-ons   Posted: Thu Feb 15, 2007 12:17 am   Subject: [SmartyValidate] Problem with append ?
I was able to accomplish similar behavior using the "key" attribute of {validate} -- e.g.


{validate key="username" field="username" message="invalid userna ...
  Topic: SmartyValidate 2.7 released
brice

Replies: 49
Views: 292658

PostForum: Add-ons   Posted: Thu May 04, 2006 11:23 pm   Subject: Cannot have an option isEqual field?
I've struggled to have an optional isEqual field. For instance;

I have a form listing a user's information, along with two password fields. If the user types the same password in both fields, the p ...
  Topic: SmartyValidate 2.7 released
brice

Replies: 49
Views: 292658

PostForum: Add-ons   Posted: Tue Apr 18, 2006 2:02 am   Subject: documentation type
typo @ documentation:

line 827 -> SmartyValidate::register_validator('v_username','username:!^\w+$!','isLength');

should read
SmartyValidate::register_validator('v_username','username:! ...
  Topic: SmartyValidate 2.7 released
brice

Replies: 49
Views: 292658

PostForum: Add-ons   Posted: Sun Apr 16, 2006 9:28 pm   Subject: SmartyValidate 2.7 released
Monte,

That solution is certainly the most elegant... however, I believe the translators would see "{$error}" as the text to translate rather than "Invalid email address" due to the way gettext / ...
  Topic: SmartyValidate 2.7 released
brice

Replies: 49
Views: 292658

PostForum: Add-ons   Posted: Sun Apr 16, 2006 6:28 pm   Subject: SmartyValidate 2.7 released
can I assign temp vars in the template file (so the error message remains in designer view)? it's too bad because there's no way to around this w/o adding much clutter Sad

~ Brice
  Topic: SmartyValidate 2.7 released
brice

Replies: 49
Views: 292658

PostForum: Add-ons   Posted: Sun Apr 16, 2006 8:40 am   Subject: translation of error messages
I'm using gettext,php gettext, and smarty-gettext to handle i18n of a project...

I've just switched over to Smarty and am learning the ropes. I really like this class & plan on using it (+ perhaps ...
  Topic: Formsess: forms handling with Smarty
brice

Replies: 22
Views: 88146

PostForum: Add-ons   Posted: Sun Apr 16, 2006 2:14 am   Subject: too bad
It's too bad this addon hasn't appeared to go anywhere...

client side validation is a must (IMO).

If I get some freetime I hope to look into adding JS validation to Monte's smartyvalidator ...
  Topic: require_once?
brice

Replies: 5
Views: 16912

PostForum: Smarty Development   Posted: Sat Apr 15, 2006 12:02 am   Subject: require_once?
Boots

Sure. I was just wondering if smarty had instances where require_once() was absolutely necessary (besides, of course, loading simutaneous smarty classes). I agree about not being able to op ...
  Topic: Compiler/Cache directory ... using MySQL?
brice

Replies: 2
Views: 4629

PostForum: General   Posted: Fri Apr 14, 2006 9:37 am   Subject: Compiler/Cache directory ... using MySQL?
I'm including Smarty in a open source web application which so far has focussed on user friendliness -- including the install.

So far, the users have to edit a file to provide MySQL details, & the ...
  Topic: require_once?
brice

Replies: 5
Views: 16912

PostForum: Smarty Development   Posted: Fri Apr 14, 2006 8:10 am   Subject: require_once?
Somewhere down the line I learned to stop using require_once if at all possible [in favor of require()] due to significant performance degredation.

Looking @ smarty's source, I noticed that requir ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP