We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Css include + bootstrap3

I'm trying to include my css but I think {{ stylesheet_link }} is not working

I made base.volt and wrote links there but my sublime text is not recognize as a tag

https://prntscr.com/9t4k7j



58.4k
edited Jan '16

Hey

You need to add the agrument "false" for it, you can an example below:

{{ stylesheet_link("//cdn.jsdelivr.net/bootstrap/3.1.1/css/bootstrap.min.css", false) }}

I changed my base.volt and it's look like this: https://prntscr.com/9tn1gr

It's same like my website without phalconphp and bootstrap is working but not properly. When I expand my navbar I cant return it like it was and dropdowns not working. I think that's the problem about js but I tryied a lot of js and jquery links and still not working

I can't click your link because it is blocked where I am at but I also use Bootstrap in many of my projects. I've been having a lot of success when I started using the asset manager. https://docs.phalcon.io/en/latest/reference/assets.html .