Reputation: 493
Sorry if it's so obvious, but can I put an admin class in the menu as a simple button instead of a dropdown, without hardcoding it in the overwritten template?
To put a dropdown, I put in config.yml:
sonata_admin:
dashboard:
groups:
xxx.admin.product:
label: xxx.admin.product
label_catalogue: XxxBundle
item: sonata.admin.product
I see "item" and "items" does the same, so I have no idea how to do it. Thx.
Upvotes: 1
Views: 850
Reputation: 1746
I do not know if it is possible in this way, but instead of overriding template, you can use Sonata Block Bundle to create you custom block and configure it then from config. Check this question for detailed information
Upvotes: 2