Browse files

docs: advanced customization expanded with use-cases

The docs now address the specific situation how the dashboard and menu
can be replaced.
  • Loading branch information...
1 parent 9206575 commit 98b9a515d38b8781b8474bec777feb6c086f1fde @vdboor vdboor committed Nov 16, 2011
Showing with 22 additions and 6 deletions.
  1. +22 −6 docs/advanced.rst
@@ -3,22 +3,38 @@
Advanced customization
-For advanced dashboard or menu layouts, the classes
-provided by `django-admin-tools` and `fluent-dashboard` can be overwritten.
-These custom classes can be used in the setings:
+For advanced dashboard or menu layouts bejond the normal :doc:`settings <configuration>`,
+the classes provided by this package (and additionally `django-admin-tools`) can be overwritten.
+Changing the dashboard layout
+To change the widget layout, extend the :class:`~fluent_dashboard.dashboard.FluentIndexDashboard` class
+and create the new module layout in the :func:`~fluent_dashboard.dashboard.FluentIndexDashboard.__init__`
+or :func:`~fluent_dashboard.dashboard.FluentIndexDashboard.init_with_context` function.
+The custom dashboard class can be loaded by referencing them in either one of these settings:
-The existing modules in ``fluent_dashboard.modules`` could be reused off course.
+Any existing classes from the ``fluent_dashboard.modules`` package could be reused off course.
.. seealso::
When customizing the dashboard module layout, dont forget to look at the `django-admin-tools <>`_
package and :ref:`other applications <otherapps>` for additional modules to use. These packages have modules for RSS feeds,
Varnish/Memcache status, and even tabbing/grouping items.
+Changing the menu layout
+The menu layout can be changed by extending the :class:`` class,
+and overwriting the :func:`` function.
+The custom menu class can be loaded by referencing it in the setting:
Available classes

0 comments on commit 98b9a51

Please sign in to comment.