Skip to content

Commit

Permalink
Merge pull request #932 from fivethreeo/develop
Browse files Browse the repository at this point in the history
mention cms_toolbar in templatetags docs
  • Loading branch information
ojii committed Aug 8, 2011
2 parents bb9dee6 + f85247e commit 82cf455
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/advanced/templatetags.rst
Expand Up @@ -411,4 +411,20 @@ If the current url has no cms-page and is handled by a navigation extender and
the url changes based on the language: You will need to set a language_changer
function with the set_language_changer function in cms.utils.

For more information, see :doc:`i18n`.
For more information, see :doc:`i18n`.

.. templatetag:: cms_toolbar

***********
cms_toolbar
***********

The ``cms_toolbar`` templatetag will add the needed css and javascript to the
sekizai blocks in the base template. The templatetag should be placed somewhere
within the body of the HTML (within ``<body>...</body>``).

Example::

<body>
{% cms_toolbar %}
...

0 comments on commit 82cf455

Please sign in to comment.