开发者

Problems customizing edit and delete links in Symfony's admin generator, any tips?

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 :-) )

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜