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

Search found 9 matches
Smarty Forum Index
Author Message
  Topic: SmartyPaginate broken after upgrade to PHP5.1.6
Dieter

Replies: 1
Views: 11196

PostForum: Add-ons   Posted: Sat Sep 09, 2006 5:49 pm   Subject: SmartyPaginate broken after upgrade to PHP5.1.6
I've upgraded my PHP to version 5.1.6 today. However, SmartyPaginate (1.5) seems to be broken now.

I've got tons of errors like:
Fatal error in line [...] Unkown error type: [2048] Non-static met ...
  Topic: smartypaginate - back to list
Dieter

Replies: 7
Views: 9909

PostForum: Add-ons   Posted: Sat May 13, 2006 12:18 am   Subject: smartypaginate - back to list
de rien
  Topic: smartypaginate - back to list
Dieter

Replies: 7
Views: 9909

PostForum: Add-ons   Posted: Fri May 12, 2006 10:13 am   Subject: smartypaginate - back to list
can't you use $_SERVER['QUERY_STRING'] and SmartyPaginate::setUrl('yourscript.php')?

[/php]
  Topic: smartypaginate - back to list
Dieter

Replies: 7
Views: 9909

PostForum: Add-ons   Posted: Thu May 11, 2006 11:47 pm   Subject: smartypaginate - back to list
you're mixing $_GET
//do we have a number specified in the URL?
if ($_GET
  Topic: smartypaginate - back to list
Dieter

Replies: 7
Views: 9909

PostForum: Add-ons   Posted: Sun May 07, 2006 12:20 pm   Subject: smartypaginate - back to list
set your form method to GET instead of POST?
  Topic: SmartyValidate & SmartyPaginate - 2 minor bugs
Dieter

Replies: 2
Views: 6192

PostForum: Add-ons   Posted: Sat Apr 15, 2006 3:16 pm   Subject: SmartyValidate & SmartyPaginate - 2 minor bugs
I think I have made a quick'n'dirty solution to this:
When a validator is registered, an empty string is assigned to the corresponding value.

In SmartyValidate.class.php find:

$_validator = ...
  Topic: SmartyValidate & SmartyPaginate - 2 minor bugs
Dieter

Replies: 2
Views: 6192

PostForum: Add-ons   Posted: Sat Apr 15, 2006 12:30 pm   Subject: SmartyValidate & SmartyPaginate - 2 minor bugs
has this been fixed since then?

Because I have the same problem. On the first run of my form, I'll always get "Undefined Index: ..." errors...
  Topic: validate multiple fields
Dieter

Replies: 3
Views: 8844

PostForum: Add-ons   Posted: Thu Jul 29, 2004 2:51 pm   Subject: validate multiple fields
There isn't an easy way to do this yet. You could create a custom criteria for it:

{validate field="f1,f2,f3" critieria="oneIsGtZero" message="..."}

I figured that out, but how can you validate ...
  Topic: validate multiple fields
Dieter

Replies: 3
Views: 8844

PostForum: Add-ons   Posted: Thu Jul 29, 2004 2:23 pm   Subject: validate multiple fields
I'm trying to build some forms for my website and I'm using SmartyValidate but I've come across some problems:

I have a few fields that should be INTs, but at least 1 of these fields should be > ...
 
Page 1 of 1
All times are GMT
Jump to:  


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