Awesome. That did the magic. Thank you very much.
-BC
On Oct 26, 5:43 pm, Thiago Belem <cont...@thiagobelem.net> wrote:
> You can do this:
>
> <?php echo $this->Html->link($this->Html->image("resetpasswd.png",
> array("alt" => "ResetPassword")) . ' YOUR TEXT HERE', "users/reset",
> array('class'
> =>'regular', 'escape' => false)); ?>
>
> Regards,
> --
> ***Thiago Belem*
> Desenvolvedor
> Rio de Janeiro - RJ - Brasil
>
> +55 (21) 8865.9250
> thiagobelem.net
> cont...@thiagobelem.net
>
> *Skype / gTalk **»* thiago.belem.web
> *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt*
> Assando Sites*, curso de CakePHP *»* assando-sites.com.br
>
>
>
> On Wed, Oct 26, 2011 at 18:29, Blues Clues <bluesclu...@gmail.com> wrote:
> > Hi:
> > I am stuck. Can you help with this?
> > I would like to generate a <a> link that should like this...
>
> > <a href="/users/reset" class="regular"> <img src="/img/
> > resetpasswd.png" alt="ResetPassword" />Forgot Password</a>
>
> > My $html->link looks like this...
>
> > <?php echo $this->Html->link($this->Html->image("resetpasswd.png",
> > array("alt" => "ResetPassword")), "users/reset", array('class'
> > =>'regular', 'escape' => false));
> > ?>
>
> > The result looks like this...
> > <a href="/users/reset" class="regular"> <img src="/img/
> > resetpasswd.png" alt="ResetPassword" /></a>
>
> > When I use Image, I can't seem to add body for <a> tag "Forgot
> > Password" as shown above. Can you help me with this? I am really
> > lost...
>
> > Blues Clues
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php- Hide quoted text -
>
> - Show quoted text -
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment