I'm having some problems customizing edit and delete links in Symfony's admin generator. I don't want to have my edit and delete links as <LI>
, but all methods available (linkToDelete
and getLinkToAction
) return the <LI>
no matter what.
How can i get around this? Symfony is pretty effed up due to this orphan HTML i开发者_运维知识库ssue. Terrible framework to work with when customizing beyond what has been already done.
Depending on how many modules you have in your backend, you could either override the partial that renders these links in each of the modules (yes, you will have duplicate code then) or create a new theme (based on your default) and fix it there.
(And yes, the out of the box Symfony Admin Generator works fine if it's 'good enough'. If you need anything more then you're screwed :-) )
精彩评论