What's the best way to customize / add pages to the admin generator?
Posted
by Guillaume Flandre
on Stack Overflow
See other posts from Stack Overflow
or by Guillaume Flandre
Published on 2010-03-26T10:01:11Z
Indexed on
2010/03/26
10:03 UTC
Read the original article
Hit count: 370
I'm using Symfony 1.4 and Doctrine.
My application's backend was built using Symfony's admin generator. It works great when I want to display basic stuff.
But tehre's not a lot of documentation on how to enhance it and add new pages.
Let's take an example: I want to list published items on one page and to-be-published items on another one. I've used several ways to that in my application but can't figure out what the best way is:
- playing with filters and then modify templates depending on where you are?
- creating another module calling a different
table_method
? - some other technique I don't know about?
What's the best practice here? How do you guys usually do to customize your admin?
© Stack Overflow or respective owner