You can also do it by adding 'escape' =>'false' in you link array

Mike Karthauser
Brightstorm limited
Tel: 07939252144

On 27 Jul 2009, at 12:27, Günther Theilen <thei...@eqi.de> wrote:

>
> Hi,
>
> you should add the fifth parameter to switch off escaping.
> http://api.cakephp.org/class/html-helper#method-HtmlHelperlink
>
> Something like this:
> e($html->link($html->tag('b','Home'),array
> ('controller'=>'controlls','action'=>'index'), null, null, false));
>
> Regards
> Guenther
>
> DatacenterHellas wrote:
>> Hello all.
>>
>> I try to create an Html / Css based menu with CakePHP
>>
>> What I'm doing to create the menu elements is that :
>>
>> <?php e($html->link($html->tag('b','Home'),array
>> ('controller'=>'controlls','action'=>'index'))); ?>
>>
>> And what I get is that
>>
>> <b>Home</b>
>>
>> instead of
>>
>> Home with bold
>>
>> What can I do ? ? ?
>>
>> Kind regards
>> Merianos Nikos
>>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to