Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

ezwt: the website toolbar

This page is for designers who add editing to a public site design. ezwt ("eZ Website Toolbar LS") is the editing toolbar a logged-in editor sees on the public site: edit, move, remove, create here, sort sub items…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/6.0/extensions/ezwt.md

On this page

ezwt: the website toolbar

This page is for designers who add editing to a public site design. ezwt ("eZ Website Toolbar LS") is the editing toolbar a logged-in editor sees on the public site: edit, move, remove, create here, sort sub items, change the state, upload or export a document. It requires ezjscore. ezwebin, ezflow, ezdemo and the simple theme all build on it.

Replaced by expwt. The website sidebar expwt replaces ezwt. Since 6.0.15 no site package installs the ezwt_extension package, and the site package installers activate expwt in its place (see Site packages no longer install extension packages and Extensions of a new installation). An existing installation moves with ./console exp:wt:migrate-from-ezwt --apply.

Put it in your design

  1. In pagelayout.tpl, wrap the toolbar in a cache block keyed by the user's roles, so it adds no SQL:
{def $user_hash = concat( $current_user.role_id_list|implode( '_' ), '_', $current_user.limited_assignment_value_list|implode( '_' ) )}
{cache-block keys=array( $uri_string, $user_hash )}
    {include uri='design:parts/website_toolbar.tpl' current_node_id=$module_result.node_id}
{/cache-block}
  1. Load stylesheets/websitetoolbar.css with ezdesign.
  2. In content/edit.tpl, include design:parts/website_toolbar_edit.tpl; in the version view template, include the matching part.
  3. Sign in as an editor and open a page: the toolbar shows above the content.

The extension README has the full text.

Settings

FileBlockKeyDefaultMeaning
websitetoolbar.iniWebsiteToolbarSettingsODFDisplayClasses[]documentation_page, blog, blog_post, folder, article, article_mainpage, article_subpage, eventClasses for which the OpenDocument import and export buttons are shown
websitetoolbar.iniWebsiteToolbarSettingsHideODFContainerClasses[]articleContainer classes without the OpenDocument buttons
websitetoolbar.iniWebsiteToolbarSettingsHiddenContentClasses[]banner, common_ini_settingsClasses the toolbar does not offer to create
websitetoolbar.iniCustomTemplateSettingsCustomTemplateList[], IncludeInView[<name>]object_states, link (full view)Extra toolbar templates

What changed in the Exponential 6 releases

VersionChange
6.0.3HTML5 cleanup of the toolbar templates (void tags) and the stylesheet (vendor prefixes for box-shadow, border-radius and transition removed).
6.0.5Every visible text is a translation string, with German.
6.0.7The date and date/time fields of the demo design use Exponential UI's calendar, exp::datepicker; the extension requires se7enxweb/expui ^1.0.0.1.
6.0.8YUI removed. The sort page (websitetoolbar/sort, drag and drop of sub items) runs on jQuery with native drag events: the same priorities, the same automatic update through ezwt::updatepriority (ezjsc::jqueryio). See YUI removal.
6.0.9Command line scripts, cronjob parts and module views are classes the files call; copyright notices name 1998 - 2026 7x & Exponential Foundation first (CLI, cronjob and view abstractions).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x