For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > September 2004 > Smarty function as default value









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Smarty function as default value
Jiri Nemec

2004-09-30, 11:38 am

Hello,

is there some way how to pass as default value to "default" modifier
own smarty function? I need something like this, but it clearly
doesn't work.

{$smarty.request.return|default:{insert name=url}}

Thank you for replies.

--
Jiří Němec, ICQ: 114651500
www.menea.cz - www stránky a aplikace
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com