Thank you! I guess a helper is what I needed.
On 30 mayo, 19:16, francky06l <[EMAIL PROTECTED]> wrote:
> > I want to know what is the correct way to add PHP to static pages (the
> > ones that live in views/pages). I want to use a function across many
> > pages.
>
> Probably in an helper.
>
>
>
>
Hi,
I want to know what is the correct way to add PHP to static pages (the
ones that live in views/pages). I want to use a function across many
pages.
I also want to render an element in my home page, but I don't know
where I should put the code to set the element's variables.
Thanks!
--~--~--