Just leave the url parameter blank and you won't get a link:

<?php $html->addCrumb('Gestión de usuarios'); ?>

Note that if you do this, html is allowed [the input is not h()-ed],
so if you have any < or > characters you'll have to escape them
manually.

On Mar 26, 9:55 am, ygneo <[EMAIL PROTECTED]> wrote:
> Hi everybody!
>
> I'm learning to use crumbs with cake 1.2, but I don't find out how to
> show the first crumb out of an anchor link (a) to avoid the user
> clicks and reload of the page. This is my code:
>
> <?php $html->addCrumb('Gestión de usuarios', '/usuarios/nuevo/',
> array('id'=>'seleccionada')); ?>
>
> <h3><?php echo $html->getCrumbs(); ?> </h3>
>
> I'll like to show
>
> Gestión de usuarios
>
> and not
>
> <a id ="seleccionada" href="/usuarios/nuevo">Gestión de usuarios</a>
>
> If that is possible?
>
> Excuse me if my english is poor, I'm spanish.
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to