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

exp:expwtmigratefromezwt

Replace ezwt (the website toolbar) by expwt (the website sidebar): settings, policies, activation, schedule (dry run unless --apply).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/expwtmigratefromezwt.md

On this page

exp:expwtmigratefromezwt

Replace ezwt (the website toolbar) by expwt (the website sidebar): settings, policies, activation, schedule (dry run unless --apply).

Script bin/php/expwtmigratefromezwt.php, code in kernel/private/classes/commands/expwtmigratefromezwt.php. Run it from the installation root, as the user the web server runs as:

./console exp:expwtmigratefromezwt --help
./console exp:wt:migrate-from-ezwt --help
php bin/php/expwtmigratefromezwt.php --help

Help text

Replaces ezwt, the website toolbar, by expwt, the website sidebar: copies ezwt's hidden classes
(websitetoolbar.ini) to expwt.ini in settings/override and every siteaccess, gives every
websitetoolbar/use policy as expwt/use, edit, create and structure with the same limitations, the
Editor role those four and the Administrator role expwt/*, and puts expwt in ezwt's place in
ActiveExtensions[] and ActiveAccessExtensions[]. A changed file is kept as <file>.before-expwt.
The sidebar itself stays off until switched on (expwt.ini [ExpwtSettings] Enabled).
It also moves the schedule of earlier expwt versions (publish later, take down) to the kernel's
schedule: the wait-until-date workflow and the hide cronjob. An entry whose class has no date field
the kernel reads stays and is listed as a note; run the command again once it has one.
Without --apply nothing is written. The upgrade step 6.0.15-expwt-enable does the same.

Example: php bin/php/expwtmigratefromezwt.php
         php bin/php/expwtmigratefromezwt.php --apply

Options

OptionValueHelp
--applyWrite the changes (the default is a dry run that lists them and changes nothing)
--dry-runThe default: list what would change, change nothing

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/expwtmigratefromezwt.php, kernel/private/classes/commands/expwtmigratefromezwt.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

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