Monday, November 10, 2014

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

hi Yannick

like this:

<li>
<?php echo $this->Html->link('<i class="fa fa-angle-double-right"></i> '.__('list'),
              array(
                'controller'=>'transactions',
                'action'=>'index'
              )
                             
           ); ?>
</li>



On 10 Nov 2014, at 15:05, Yannick Nascimento <yannicknascimento@gmail.com> wrote:


hi there ppl, i have this!
<li>
   <a href="xxxxxxxxxxx">
    <i class="fa fa-angle-double-right"></i>
    sssssssss
  </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.

....................................
Mike Karthäuser
Director, Brightstorm Ltd.

1, Brewery Court
North Street
Bristol
BS3 1JS

mikek@brightstorm.co.uk
www.brightstorm.co.uk
+44(0) 7939252144
....................................

No comments: