Nitish
Nitish

Reputation: 2763

Bootstrap glyphicon symbole not appearing in CakePhp

I am trying to implement the right/left arrow using bootstrap glyphicon in my carousel slider. The project is in CakePhp

I needed to implement this :

<a class="right carousel-control" href="#myCarousel" data-slide="next"><span class="glyphicon` glyphicon-chevron-right"></span></a>

So I wrote :

<?php
      echo $this->Html->link(
      $this->Html->tag('span', '', array('class' => 'glyphicon glyphicon-chevron-right')) . "",
      array('controller' => '#myCarousel'),
      array('class' => 'right carousel-control', 'data-slide'=>'next', 'escape' => false)
  );
  ?>

But the symbol is not appearing, instead some code appears ! Whats wrong ??

Website Link : LINK TO WEBSITE

Upvotes: 0

Views: 905

Answers (1)

Fazal Rasel
Fazal Rasel

Reputation: 4526

The answer of this question is on comments.. Placing here to make that comments as an answer officially-

Icon is not working because the questioner forget to upload fonts folder which contain bootstrap icons.

Upvotes: 4

Related Questions