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 6 matches
Smarty Forum Index
Author Message
  Topic: SmartyValidate: a simple yet powerful form validation plugin
drizzt

Replies: 268
Views: 1417111

PostForum: Add-ons   Posted: Wed Jan 27, 2010 11:34 am   Subject: SmartyValidate: a simple yet powerful form validation plugin
Finally, i found the mistake :
in the php, the register_validator need a parameter about the registered form.
Line concerned :
SmartyValidate::register_validator('femail', 'email', 'isEmail', fal ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
drizzt

Replies: 268
Views: 1417111

PostForum: Add-ons   Posted: Wed Jan 27, 2010 11:18 am   Subject: problem with another form than "default"
Hello everyone, and thanx monte for this great plugin.
However, I have a problem.
while testing my form (two fields, one validation), i repeatidly have this error:
Warning: Smarty error: validate: ...
  Topic: Smarty ML common lng file.
drizzt

Replies: 1
Views: 5434

PostForum: General   Posted: Fri Sep 19, 2008 8:26 am   Subject: Smarty ML common lng file.
Find a solution :
You put a common lng file in each of your language folder en/common.lng, fr/common.lnf , etc.
And modify the prefilter function :

function smarty_prefilter_i18n($tpl_source, & ...
  Topic: Smarty ML common lng file.
drizzt

Replies: 1
Views: 5434

PostForum: General   Posted: Thu Sep 18, 2008 9:37 am   Subject: Smarty ML common lng file.
Hello,
I would like to know if there is a way to always use a lng file additionnaly to the file that have the name of the tpl.

I have in my footer some text that need translation and i try to find ...
  Topic: [done] Modifiers - variable and string
drizzt

Replies: 3
Views: 8192

PostForum: Plugins   Posted: Wed Sep 03, 2008 7:49 pm   Subject: [done] Modifiers - variable and string
waouw, it works !
thank you a lot Wink
  Topic: [done] Modifiers - variable and string
drizzt

Replies: 3
Views: 8192

PostForum: Plugins   Posted: Wed Sep 03, 2008 6:22 pm   Subject: [done] Modifiers - variable and string
Hello all,
maybe it's something obvious even i don't think so, but i don't find the solution.

I create a modifier, it receive a string , it modify it and it send it back. everything normal for a m ...
 
Page 1 of 1
All times are GMT
Jump to:  


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