php - How to make constant part of page using Symfony2? -


i'm making website using (and learning) symfony2. in code, have make 2 queries , display results in sidebar, that:

groups (251) php js java c++ ... users (1542) user1 user2 usern ... 

how make using twig & symfony2? ask place it. thought requesting in template, don't know how it. sorry poor english.

embedding controller seems best fit.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -