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 33 matches
Smarty Forum Index
Author Message
  Topic: SmartyPaginate function syntax configurable via PHP?
kabatak

Replies: 7
Views: 13506

PostForum: Plugins   Posted: Wed Jul 20, 2005 1:35 pm   Subject: SmartyPaginate function syntax configurable via PHP?
yup i actually thought about doing that. however if you have many pages that uses pagination. its a little faster to just use {paginate_middle} alone without defining its attributes in the template. a ...
  Topic: SmartyPaginate function syntax configurable via PHP?
kabatak

Replies: 7
Views: 13506

PostForum: Plugins   Posted: Wed Jul 20, 2005 1:54 am   Subject: SmartyPaginate function syntax configurable via PHP?
Thanks! though it;s not quite necessary but it would be nice if the other attributes where also configurable via PHP like:

format="page"
prefix="("
suffix=")"
link_prefix="[["
link_suffix="]]" ...
  Topic: SmartyPaginate function syntax configurable via PHP?
kabatak

Replies: 7
Views: 13506

PostForum: Plugins   Posted: Tue Jul 19, 2005 8:02 am   Subject: SmartyPaginate function syntax configurable via PHP?
so I guess this is not possible with the current version. can we just have this in the next release?

Thanks a lot.
  Topic: SmartyPaginate function syntax configurable via PHP?
kabatak

Replies: 7
Views: 13506

PostForum: Plugins   Posted: Sun Jul 17, 2005 10:29 pm   Subject: SmartyPaginate function syntax configurable via PHP?
SmartyPaginate::setLimit(10); sets the number of items displayed per page right? but what I meant was the attribute like page_limit="5" which sets the maximum number of page groupings/links to display ...
  Topic: SmartyPaginate function syntax configurable via PHP?
kabatak

Replies: 7
Views: 13506

PostForum: Plugins   Posted: Sun Jul 17, 2005 2:51 am   Subject: SmartyPaginate function syntax configurable via PHP?
Hello, is it possible to set the function syntax attributes inside PHP instead of template?

For example: Is it possible to do this {paginate_middle page_limit="5"}
in PHP in to ...
  Topic: SmartyValidate 2.4 released
kabatak

Replies: 22
Views: 41208

PostForum: Add-ons   Posted: Wed Apr 20, 2005 12:39 pm   Subject: SmartyValidate 2.4 released
man i hope i didnt piss you off. you did a good job on this and i am just sharing my opinion. Smile
i also thought that since this is a major change, perhaps you could make the version to 3.0 Cool
  Topic: SmartyValidate 2.4 released
kabatak

Replies: 22
Views: 41208

PostForum: Add-ons   Posted: Mon Apr 18, 2005 6:10 pm   Subject: SmartyValidate 2.4 released
btw, do you still have a copy of the old docs? thanks.
  Topic: SmartyValidate 2.4 released
kabatak

Replies: 22
Views: 41208

PostForum: Add-ons   Posted: Mon Apr 18, 2005 5:49 pm   Subject: Re: SmartyValidate 2.4 released
Although the old method is still backward compatible, it is no longer documented. A lot of things in the README have been marked as "deprecated", and may be fully removed in future versions.
Please ...
  Topic: user-defined timezone opinion and smarty date_format
kabatak

Replies: 0
Views: 4438

PostForum: General   Posted: Mon Apr 04, 2005 9:37 pm   Subject: user-defined timezone opinion and smarty date_format
Hi, I am trying to create a user-defined timezone script and I need your opinions about it. My idea is:

1. Convert the timestamp to GMT before storing data, using my custom function gmtime().
2. A ...
  Topic: SmartyValidate
kabatak

Replies: 6
Views: 13987

PostForum: Add-ons   Posted: Fri Apr 01, 2005 2:39 pm   Subject: SmartyValidate
I see, thanks.
  Topic: SmartyValidate
kabatak

Replies: 6
Views: 13987

PostForum: Add-ons   Posted: Fri Apr 01, 2005 12:34 pm   Subject: SmartyValidate
Hi, is it possible for a validation to only occur when another field is not empty?
For example: If field 1 is not empty, the validation for field 2 must occur.
Else, if field 1 is empty, the validat ...
  Topic: SmartyValidate error on PHP 4
kabatak

Replies: 2
Views: 9836

PostForum: Add-ons   Posted: Sun Feb 20, 2005 11:50 am   Subject: SmartyValidate error on PHP 4
now my question: Is function calls within SmartyValidate case sensitive?

Or maybe, is it possible for SmartyValidate to recognize a criteria in a case-insensitive manner?
  Topic: SmartyValidate error on PHP 4
kabatak

Replies: 2
Views: 9836

PostForum: Add-ons   Posted: Sun Feb 20, 2005 11:46 am   Subject: SmartyValidate error on PHP 4
Nevermind, I figured it was PHP's fault because I am using get_class_methods() and loop out register_criteria. It was a matter of case sensitivity.
get_class_methods()

Warning
As of PHP 5, this ...
  Topic: SmartyValidate error on PHP 4
kabatak

Replies: 2
Views: 9836

PostForum: Add-ons   Posted: Sun Feb 20, 2005 11:05 am   Subject: SmartyValidate error on PHP 4
Hi, I am using SmartyValidate on PHP 5 and everything is working great however when I transfered to PHP 4. I get the error:

Notice: SmartyValidate:
I have this error because I am using my own cus ...
  Topic: SmartyValidate: empty="yes" not working on custom
kabatak

Replies: 2
Views: 11164

PostForum: Add-ons   Posted: Mon Dec 06, 2004 3:31 pm   Subject: SmartyValidate: empty="yes" not working on custom
ok thanks
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


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