the problem is that it put the code in the middle of page... This can be a suggestion for next release? 1-> to allow to helper JS to insert not only js page... (for example with ctp it can trasformed in to code coming from php)
The scope is to put code js mixed with php , and put them into the head... Aniway Now i am using yes element method... Anyone suggests better? On 28 Ago, 17:18, brian <[email protected]> wrote: > $this->element(...)? > > http://api.cakephp.org/class/view#method-Viewelement > > > > On Fri, Aug 28, 2009 at 4:44 AM, Alessio<[email protected]> wrote: > > > I need link a file ctp with javascript and php inside... > > What can I do? > > If i link a ctp, the helper adds the extension js... > > I want to render a ctp file, if I render It put in the same point > > where I link. > > I want to put inside the head section. > > How Can I do this ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
