Monday, November 10, 2014

Re: custumize $this->Html->link()

thats great thanks a lot, i will use url().

Segunda-feira, 10 de Novembro de 2014 14:08:23 UTC-1, Yannick Nascimento escreveu:





hi there ppl, i have this!

<li>
   <a href="#">
    <i class="fa fa-angle-double-right"></i>
   Morris
  </a>

</li>


and i want to make ot like this!

<li>
<?php echo $this->Html->link(__('list'),
              array(
                'controller'=>'transactions',
                'action'=>'index'
              )
                            
           ); ?>
</li>

but am having problem with this, where and how i will put this
<i class="fa fa-angle-double-right"></i>

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: