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 8 matches
Smarty Forum Index
Author Message
  Topic: modifier.is_numeric (new)
joscha

Replies: 5
Views: 22955

PostForum: Plugins   Posted: Thu Sep 25, 2003 12:25 pm   Subject: modifier.is_numeric (new)
Why don't you use the built-in is_numeric() function of PHP? Any special reason to preg_* the passed param?

greets,
Joscha
  Topic: utcdate_format
joscha

Replies: 5
Views: 18944

PostForum: Plugins   Posted: Wed Jun 11, 2003 11:29 pm   Subject: utcdate_format
Hi Hinrich,

nice work!

The package should be as small as possible, just add it to the Smarty-wiki so everyone can find it!

greets,
Joscha
  Topic: new version of fsize_format
joscha

Replies: 2
Views: 13370

PostForum: Plugins   Posted: Thu May 15, 2003 1:18 pm   Subject: new version of fsize_format
Hi folks,


there is a new version of the fsize_format modifier (formats a filesize "human-readable") available - get it here:

http://dev.feth.com/PHP/Smarty/modifier.fsize_format.phps

greets ...
  Topic: Increment and decrement
joscha

Replies: 12
Views: 70858

PostForum: Plugins   Posted: Fri May 02, 2003 9:22 am   Subject: Increment and decrement
Nice Idea, only a small plugin, but gets rid of the overhead of the math plugin...however I changed it a bit (I don't like having too much different plugins for the same type of work, it fills the plu ...
  Topic: best way to build a multi-language site with smarty
joscha

Replies: 210
Views: 1195888

PostForum: Tips and Tricks   Posted: Wed Apr 23, 2003 9:58 am   Subject: best way to build a multi-language site with smarty
I have another architecture:


MySQL with language table <-> language data table
|
Smarty template with {lang MESSAGE_WHATEVER} tags in it
|
...
  Topic: Smarty vs PHP Includes
joscha

Replies: 4
Views: 17204

PostForum: General   Posted: Tue Apr 22, 2003 10:29 pm   Subject: Re: Smarty vs PHP Includes

When somebody says, "What is the point of smarty, if you can do it in PHP" what kind of answers do you guys give?


I normally ask them: ever had a graphic guy who begins trembling on hearing th ...
  Topic: strip as an output filter rather than inline
joscha

Replies: 7
Views: 25347

PostForum: Plugins   Posted: Tue Apr 22, 2003 10:20 am   Subject: strip as an output filter rather than inline
It seems like that does not work, the [code] [/code] tags do not affect &
  Topic: strip as an output filter rather than inline
joscha

Replies: 7
Views: 25347

PostForum: Plugins   Posted: Sat Apr 19, 2003 7:35 am   Subject: strip as an output filter rather than inline
A outputfilter handling this seems to be nice, but there could be problems with it, because then you'd have to convert all spaces you want to & nbsp;

for example here:

<a href="foo" ...
 
Page 1 of 1
All times are GMT
Jump to:  


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