twitter-bootstrapsymfonyknppaginator

Configure KnpPaginator to work with Twitter Bootstrap


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.


Solution

  • @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.