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 3 matches
Smarty Forum Index
Author Message
  Topic: Getting messju's defun to work in 3.0 (not so "fun"
sekmun

Replies: 5
Views: 10200

PostForum: Plugins   Posted: Fri Jul 16, 2010 4:18 am   Subject: Getting messju's defun to work in 3.0 (not so "fun"
awesome! that's what I was looking for, you've saved me (and others I'm sure) hours of time!
  Topic: Getting messju's defun to work in 3.0 (not so "fun"
sekmun

Replies: 5
Views: 10200

PostForum: Plugins   Posted: Thu Jul 15, 2010 7:33 am   Subject: Getting messju's defun to work in 3.0 (not so "fun"
hi, I've got a lot of web sites written using defun, and I'd like it to keep working without having to recode those sites... (oh the work!) I guess those will keep using smarty2 and migrate the new on ...
  Topic: object methods and default modifier using "|"
sekmun

Replies: 1
Views: 7610

PostForum: Smarty 3   Posted: Fri Nov 13, 2009 10:56 pm   Subject: object methods and default modifier using "|"
Hi, I've got this kind of syntax in smarty2

php:
$Smarty->register_object('Obj', $Obj);

smarty:

{Obj->method|default:"stuff"}
or
{Obj->method| ...
 
Page 1 of 1
All times are GMT
Jump to:  


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