True! Thanks a lot!

On 14 Lip, 03:28, "Humble Groups" <[EMAIL PROTECTED]> wrote:
> You should use like this
>
> {$view->renderElement()} or {$view->element()}
>
> renderElement is a method in View Class, if you access $this in smarty
> template it will be pointing to Smarty object.
>
> On 7/13/07, poncjusz <[EMAIL PROTECTED]> wrote:
>
>
>
> > Does anyone know how to use method renderElement in smarty templates?
> > I'm using SmartyView described in Bakery (http://bakery.cakephp.org/
> > articles/view/how-to-use-smarty-with-cake-smartyview) but when I try
> > to call: {php} $this->renderElement('element'); {/php} I get Fatal
> > error: Call to undefined method Smarty::renderElement() :/
>
> > thanks in advance for help
> > tomek


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to