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
- 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- Load
stylesheets/websitetoolbar.csswithezdesign. - In
content/edit.tpl, includedesign:parts/website_toolbar_edit.tpl; in the version view template, include the matching part. - Sign in as an editor and open a page: the toolbar shows above the content.
The extension README has the full text.
Settings
| File | Block | Key | Default | Meaning |
|---|---|---|---|---|
websitetoolbar.ini | WebsiteToolbarSettings | ODFDisplayClasses[] | documentation_page, blog, blog_post, folder, article, article_mainpage, article_subpage, event | Classes for which the OpenDocument import and export buttons are shown |
websitetoolbar.ini | WebsiteToolbarSettings | HideODFContainerClasses[] | article | Container classes without the OpenDocument buttons |
websitetoolbar.ini | WebsiteToolbarSettings | HiddenContentClasses[] | banner, common_ini_settings | Classes the toolbar does not offer to create |
websitetoolbar.ini | CustomTemplateSettings | CustomTemplateList[], IncludeInView[<name>] | object_states, link (full view) | Extra toolbar templates |
What changed in the Exponential 6 releases
| Version | Change |
|---|---|
| 6.0.3 | HTML5 cleanup of the toolbar templates (void tags) and the stylesheet (vendor prefixes for box-shadow, border-radius and transition removed). |
| 6.0.5 | Every visible text is a translation string, with German. |
| 6.0.7 | The 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.8 | YUI 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.9 | Command 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). |
Related pages
- ezwebin, ezflow, ezodf, ezmultiupload
- Chronicle and release notes
- Change ledger
- Behaviour changes of the extensions
- Months: 2026-07, 2026-09, 2026-10 (all extensions)
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.