O'Reilly logo

Learning Phalcon PHP by Calin Rada

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hashtag CRUD

The reason we leave articles at the end is that when we implement it, we will need to assign hashtags, categories, and users to it. Before going further, we will make a slight modification to layout.volt and BaseController. We will remove this line from BaseController.php:

->addCss($assets_dir.'default/bower_components/bootstrap/dist/css/bootstrap.min.css')

Also, we will add this line to layout.volt, right before {{ assets.outputCss('headerCss') }}:

{{stylesheetLink('../assets/default/bower_components/bootstrap/dist/css/bootstrap.min.css') }}

We are doing this because the CSS for bootstrap is already minified, and if we do it again, the bootstrap fonts will not be rendered correctly. Remember to apply the same modification to layout_simple.volt ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required