Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 26 matches
Smarty Forum Index
Author Message
  Topic: SmartyValidate question.
newname

Replies: 5
Views: 10765

PostForum: Add-ons   Posted: Fri Jul 11, 2008 4:16 pm   Subject: SmartyValidate question.
okay, thanks for help.. i sorted it out myself.. er.. I didnt actually.. it just sorted itself...anyway, thanks for help Smile
  Topic: SmartyValidate question.
newname

Replies: 5
Views: 10765

PostForum: Add-ons   Posted: Fri Jul 11, 2008 4:13 pm   Subject: SmartyValidate question.
yep, I knew that error can be called using {$name_error} , Its setting variable.. but the class="error_field" isnt showing up..the whole point of this thread was to show class="error_fi ...
  Topic: SmartyValidate question.
newname

Replies: 5
Views: 10765

PostForum: Add-ons   Posted: Fri Jul 11, 2008 2:17 pm   Subject: SmartyValidate question.
nope it doesnt work.
BUt, it makes something else to not work
it doesnt show any kind of error message anymore !
my validator was working fine, gave me error message "Please enter your Full Na ...
  Topic: SmartyValidate question.
newname

Replies: 5
Views: 10765

PostForum: Add-ons   Posted: Wed Jul 09, 2008 7:24 pm   Subject: SmartyValidate question.
how do we find which field is not valid?
like:

Name : ||||||||||||||||
Email: |||||||||||||||||
Password: ||||||||||||||

suppose email field sent out the error message.
and smarty printed it ...
  Topic: How to loop within a loop (php + SMARTY)
newname

Replies: 5
Views: 5757

PostForum: General   Posted: Thu Jul 03, 2008 11:57 am   Subject: How to loop within a loop (php + SMARTY)
hey, can you please remove the coding(which u posted on my thread, and on other threads in which u posted my coding(which u/I wrote for me)) from all your posts please??
I am developing a script, and ...
  Topic: How to loop within a loop (php + SMARTY)
newname

Replies: 5
Views: 5757

PostForum: General   Posted: Thu Jul 03, 2008 11:52 am   Subject: How to loop within a loop (php + SMARTY)
hey.. thats my code Confused
It was supposed to be unique code, supposed to be used only on the script I am developing Confused
  Topic: Snoopy problem, Cookies not working
newname

Replies: 0
Views: 2682

PostForum: General   Posted: Thu Jun 19, 2008 6:36 pm   Subject: Snoopy problem, Cookies not working
Snoopy problem, Cookies not working

I tried a login form using snoopy, it says logged it with $snoopy->results, but on member area, it says not logged it.
I tried :
print_r($snoopy->cookies ...
  Topic: SmartyPaginate Issue
newname

Replies: 1
Views: 4599

PostForum: Plugins   Posted: Tue Jun 17, 2008 6:17 pm   Subject: SmartyPaginate Issue
correct, its not a problem with plugin, its problem with your CSS
you are using % for width, use px
for example:
<div id="content">
smarty paginate stuff
</div>

#content ...
  Topic: Notice: SmartyValidate: [is_valid] method 'Validate' is not
newname

Replies: 26
Views: 37328

PostForum: Add-ons   Posted: Tue Jun 17, 2008 12:59 pm   Subject: Notice: SmartyValidate: [is_valid] method 'Validate' is not
and yeah, i forgot to say sorry to you.
I am really sorry for my rudeness.
I am such a short tempered boy( yeah , Im 15 yrs old)
I apologize for my rudeness, Thank you for your help, please forgiv ...
  Topic: Notice: SmartyValidate: [is_valid] method 'Validate' is not
newname

Replies: 26
Views: 37328

PostForum: Add-ons   Posted: Tue Jun 17, 2008 12:55 pm   Subject: Notice: SmartyValidate: [is_valid] method 'Validate' is not
Ah, I give up Sad
Thanks for the help though..
You were really very helpful, but I used other way to validate the reciprocal, i made some changes in my existing class, so it worked now.
You were rea ...
  Topic: Notice: SmartyValidate: [is_valid] method 'Validate' is not
newname

Replies: 26
Views: 37328

PostForum: Add-ons   Posted: Tue Jun 03, 2008 9:09 am   Subject: Notice: SmartyValidate: [is_valid] method 'Validate' is not
why dont u listen before replying?
didnt I say that second argument is taken from db.
then where did a $_POST['recip'] come from ?
  Topic: Notice: SmartyValidate: [is_valid] method 'Validate' is not
newname

Replies: 26
Views: 37328

PostForum: Add-ons   Posted: Mon Jun 02, 2008 5:54 am   Subject: Notice: SmartyValidate: [is_valid] method 'Validate' is not
I think it should be :

return is_valid_password($params
my bit of code :

$test = new test;
$recip = $test -> recip;
class test {
var $recip = 'http://www.bilalghouri.com/';
fu ...
  Topic: Notice: SmartyValidate: [is_valid] method 'Validate' is not
newname

Replies: 26
Views: 37328

PostForum: Add-ons   Posted: Mon Jun 02, 2008 5:31 am   Subject: Notice: SmartyValidate: [is_valid] method 'Validate' is not
maybe you are forgetting the usage of your own great plugin.

according to your statement above:

$value is the value of the field being validated. In the above example, it would be the value of $ ...
  Topic: Notice: SmartyValidate: [is_valid] method 'Validate' is not
newname

Replies: 26
Views: 37328

PostForum: Add-ons   Posted: Sat May 31, 2008 7:50 am   Subject: Notice: SmartyValidate: [is_valid] method 'Validate' is not
sorry for my rudeness Sad

but you done understand what I am doing.

I said, I done want to compare 2 fields by isequal.
I said above , I have a function, in which, one parameter is taken from for ...
  Topic: Notice: SmartyValidate: [is_valid] method 'Validate' is not
newname

Replies: 26
Views: 37328

PostForum: Add-ons   Posted: Fri May 30, 2008 2:54 pm   Subject: Notice: SmartyValidate: [is_valid] method 'Validate' is not
And forgot to say, your documentation is full of mistakes !

The basic syntax of the {validate ...} function is as follows:

{validate field="foo" criteria="isNumber&quo ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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