You'd probably be best off putting your code in an element and loading that in your layout.
On Fri, May 30, 2008 at 2:47 PM, Marcelo Ruiz <[EMAIL PROTECTED]> wrote: > > 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! > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
