Re: Html Link in the elements

2011-04-28 Thread Carachi
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  wrote:
> read the manuel for 1.3
>
> $this->Html->link()
>
> On 28 Apr., 11:40, Carachi  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:
>
> > 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


Re: Html Link in the elements

2011-04-28 Thread euromark
read the manuel for 1.3

$this->Html->link()

On 28 Apr., 11:40, Carachi  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:
>
> 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


Html Link in the elements

2011-04-28 Thread Carachi
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:

element('menu',array(),true);?>

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