Thank you euromark! I read it but I didn't find anythig about it. I try with $this->Html->link(...)
but give this error: Fatal error: Using $this when not in object context in /home/gege/www/ app/views/elements/menu.ctp on line 101 I thing because I isn't in a Class... Thank you On 28 Apr, 11:47, euromark <dereurom...@googlemail.com> wrote: > read the manuel for 1.3 > > $this->Html->link() > > On 28 Apr., 11:40, Carachi <carach...@gmail.com> wrote: > > > > > > > > > Hello, > > I have this problem. > > I want create a menu for my website, so I use an element that I set in > > my layout.ctp so: > > > <div class="menu"><?php echo $this->element('menu',array(),true);?></ > > div> > > > I need use link for my menu but the helper doesn't work! > > I try with : > > $this->html->link(..) //but doesn't reconize $this because there > > isn't an object > > $html->link(..) // but is not set.. > > > How can I use Html Helper? > > > Thank you > > Bye -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php