The toolbar

When you are logged in to your site, the django CMS toolbar appears at the top of the browser window. It is your control centre for everything you will do in this tutorial: creating pages, editing content, and publishing. In this lesson you take a quick tour of its menus.

The django CMS toolbar

Which elements appear depends on the modules installed on your site, your permissions, and the page you are viewing. For example, the “Language” menu only appears on multilingual sites, and a “Blog” menu only appears if that module is installed and you are viewing a blog page.

One element is constantly present in your toolbar: the django CMS logo on the very left. Click on it now — it simply takes you back to your home page.

Tip

This lesson introduces each menu briefly. The complete list of all menu entries and buttons is in the toolbar reference — you don’t need to memorise them now.

The project menu

The first menu carries the name of your site (“example.com” on the screenshots here). It gives you access to everything that concerns the site as a whole. Open it and have a look:

The Project menu

The entries you will use most are “Pages…”, which opens the page tree of your site in a sidebar (we explore it in lesson 5), and “Administration…”, which opens the management interface (lesson 3). Close the sidebar again with the cross at its top right.

Note

You might not see all of the elements described here, or even more elements. This strongly depends on your django CMS setup.

Note

If you choose “Disable toolbar”, you can only make the toolbar reappear by adding ?toolbar_on to the end of the URL in your browser window.

The page menu

The “Page” menu collects all actions that concern the page you are currently viewing.

The Page menu

From here you can create new pages (a new page next to this one, a sub-page below it, or a duplicate), switch to editing the page, and open the page settings. We will use all of these in lesson 6 when we create a page.

Open “Page settings…” now and look at the two most important fields, then close the dialog again without saving:

  • Title: the title of your page that you enter when creating it.

  • Slug: generated automatically from the title; it is what appears at the end of the page’s URL.

The page settings dialogue

The page settings are available separately for each language of the page — note the language tabs at the top of the dialog. All other fields are described in the page settings reference.

The version menu

The version menu

On sites using djangocms-versioning, pages are managed as a series of versions. Your edits remain in a draft until you publish them, and earlier published versions remain available in the version history. The version menu shows the number and status of the version you are looking at — for example “Draft” while you are editing. We will work with versions in lesson 8; the states are listed in the version states reference.

The language menu

The language menu

On multilingual sites, the “Language” menu switches between the language versions of the page you are viewing. It also lets you add, delete or copy translations — see Translating a page for the details. The language menu will be missing in single-language configurations.

The right-hand side

On the right-hand side of the toolbar you find:

  • The colour scheme toggle, which switches the django CMS interface elements between light and dark. Try it — it does not affect what your visitors see.

  • The action buttons, which change with the state of the page: Create, Edit, New Draft, Preview, View published and Publish. These buttons drive the editing workflow you will follow in the rest of this tutorial.

  • The structure board toggle in the far corner, which is central to editing content — it gets its own lesson (lesson 7).

All buttons are described in the toolbar reference.