Configure KnpPaginator to work with Twitter Bootstrap

Shade picture Shade · Apr 12, 2014 · Viewed 9.8k times · Source

Vendor folder
i'm trying to apply twitter bootstrap css style to my knp pagination without modifying the vendor.
Is there a way to configure KnpPaginator so to detect existing bootstrap css style sheets?because as the screenshot shows, it is build to work with bootstrap.

Answer

Shade picture Shade · Apr 12, 2014

@Derick F: thank you a lot, i found an other way :
i just replaced:

pagination: KnpPaginatorBundle:Pagination:sliding.html.twig

with

pagination: KnpPaginatorBundle:Pagination:twitter_bootstrap_v3_pagination.html.twig

its the default template included in knp bundle.