Skip to the content
Documentation

Adding, editing and removing content

No ratings yet

With the website sidebar you create, edit, move, sort and remove pages on the public site, while you look at them. This page also holds what the former chapters Managing content, Editing existing content, Moving content, Sorting content and Removing content described for the old website toolbar.

Who can do this

Editors whose role has expwt/edit (editing), expwt/create (creating) and expwt/structure (moving, sorting, hiding and removing), together with the content policies for what they change: content/edit, content/create below the parent, content/hide, content/remove. The sidebar offers only the types of pages you may create in a place, and only the actions you may take on this page.

Create a page

  1. Open the page below which (or beside which) the new page belongs, and open the sidebar.
  2. Click Create (the plus button).
  3. Under Where, choose Below this page or Beside this page.
  4. Choose the Type, for example NG Article, and type a Title.
  5. Click Create draft. The draft opens in the Page panel.
  6. Fill in the fields, then click Publish.
The Create panel of the website sidebar with the place, the type and the title of a new page

The Create panel: choose below or beside this page, the type and a title, then Create draft. The new page opens in the Page panel to be filled in.

Edit a page

  1. Open the page and the sidebar. The Page panel shows the page's name, its type and its state, and below them its fields.
  2. Change the fields in the panel. Each field has the editor the administration has for it: text inputs, the rich text editor of your site, the image upload with its alternative text, the relations browser, the tags picker.
  3. Or click Edit on the page: the fields the page shows are outlined, text can be typed in place, and a click on rich text or an image opens its editor. Hovering a field in the panel outlines it on the page.
  4. Click Save draft to keep your changes without publishing, or Publish. With an approval workflow the answer is "Sent for approval".
  5. To throw your changes away, click Discard draft.
The Page panel of the website sidebar with the fields of an article

The Page panel edits the page's fields on a draft, each with the editor the administration has for it. Full editor opens the whole edit form of the administration.

What you type is also saved to your draft automatically every few seconds, and kept in the browser until the server has it, so a closed window or a lost connection does not lose it. Fields of another category, such as Meta with the page's SEO data, are in a closed group at the end of the panel. Full editor opens the same draft in the administration's edit form.

Move, copy, hide, sort and remove

  1. Open the page and the sidebar, and click Structure.
  2. Choose the action:
    • Hide (or Reveal): visitors no longer see the page or the pages below it;
    • Move ...: choose the new place in a tree of the site;
    • Copy ...: a copy in another place;
    • Add location ...: show the same page in another place as well (see Publishing at multiple locations);
    • Move to trash: the page and the pages below it go to the trash, from where an administrator can restore them.
  3. Under Pages below this one, drag a page, or use its up and down buttons, to change the order of the sub pages.
The Structure panel of the website sidebar with Hide, Move, Copy, Add location and Move to trash, and the pages below

The Structure panel: hide the page, move or copy it, add a location, move it to the trash, and sort the pages below it.

What can go wrong

  • A type is missing in Create. Your role may not create it here, or the site hides that class from the sidebar (expwt.ini [CreateSettings] HiddenClassList[]).
  • "Anna is editing this page since 10:42". Someone else holds the page's soft lock. You may take it over; if both of you save, fields only one of you changed are merged, and for a field both changed you choose which text to keep.
  • Sorting does not work. The page sorts its sub pages by something else than their priority, for example by date. Change the sort order in the administration: Managing sub items.
  • A page went to the trash by mistake. Restore it in the administration: Restoring content.
  • The page is still on the site after Move to trash. It has several locations: only the location you were on is removed, and the page stays at its other places. Its locations are listed in the administration, on the item's Locations tab.

Read more

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.