For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > April 2005 > Re: [SMARTY] in my.tpl : { $somevar } should -according to the docs- output the v









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 Re: [SMARTY] in my.tpl : { $somevar } should -according to the docs- output the v
Messju Mohr

2005-04-25, 8:59 am

On Sun, Apr 24, 2005 at 09:37:43PM +0200, Kevin Coyne wrote:
> but it doesn't.


it does, if you assigned a value to the smarty-variable 'somevar'.

> Did i get this wrong?


it seems you did.

> Do i have to use $mySmarty->assign?


yes, you have to!!
Sponsored Links







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

Copyright 2008 codecomments.com