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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment