Blog Posts
At some point when using Javascript you’ll need to pop open a window.
This is straight-forward for people with only 1 display but I also needed to account for people with 2 displays. Here’s the snippet of code I used.
We can use the Doctrine\ORM\Tools\Pagination\Paginator class in doctrine to paginate results without the use of any additional libraries or bundles, here’s a quick walk through on how to paginate a result set with Symfony, Doctrine & Twig.