1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- Dashboard
- =========
- The dashboard is the main landing page. By default the dashboard lists the
- different admin areas available.
- If you want to custom the dashbord, add the following code to your
- application's config file:
- .. code-block:: yaml
- # app/config/config.yml
- sonata_admin:
- dashboard:
- ... your config ...
- Some examples of config file:
- 1 - Set the label group & add all the default items
- .. code-block:: yaml
- # app/config/config.yml
- sonata_admin:
- dashboard:
- sonata_page:
- label: Page
- items: ~
- 2 - Set items group
- .. code-block:: yaml
- # app/config/config.yml
- sonata_admin:
- dashboard:
- sonata_page:
- items:
- - sonata.page.admin.page
- 3 - Add a group with all the default items
- .. code-block:: yaml
- # app/config/config.yml
- sonata_admin:
- dashboard:
- sonata_page: ~
- 4 - Add some items in a group
- .. code-block:: yaml
- # app/config/config.yml
- sonata_admin:
- dashboard:
- sonata_page:
- item_adds:
- - sonata.page.admin.myitem1
- - sonata.page.admin.myitem2
- .. image:: ../images/dashboard.png
- :alt: Dashboard
- :width: 200
|