===== Editing Pages ===== The pages of the [[brandportal|Brand Portal]] are edited directly in AWP. The Fylr permissions on the page item decide what a user may do: ^ Action ^ Offered to ^ |Edit a page, create a subpage, move a page|Users with write permission on the page.| |Delete a page|Users with delete permission on the page.| |Create the first page|Users who may create items of the object type (in the //Pool for pages//, if the object type is pool-managed), as long as no page exists.| Guests never see any of these actions. ==== Editor ==== The edit icon above a page opens the editor. It lists the [[brandportal-blocks|blocks]] of the page, and //Add block// at the end adds a block of the chosen type. {{:awp:brandportal-editor.png?nolink|}} The toolbar of a block sets its width and for most blocks its background colour, shows or hides it, moves it up or down, duplicates or deletes it. A block can also be dragged to another place by the grip at the left of its toolbar. The two icons next to the //Blocks// heading switch between the list of blocks and the layout view, which arranges the blocks like the page. There, a block dropped on the left or right half of a block narrower than the page is placed before or after it. The browser remembers the chosen view. {{:awp:brandportal-editor-layout.png?nolink|}} The disc icon saves all blocks of the page at once and shows the page with the changes, the close icon next to it discards them. ==== Hidden Blocks ==== The eye icon of a block decides whether it is shown. A hidden block is left out of the page and of the [[brandportal-visualnavigation|Visual Navigation]], but keeps its settings and its place; the editor shows it with a dashed border. This way a block can be prepared before it is published, or taken off the page for a while without deleting it. Hiding is no protection: everybody who may read the page in Fylr can still see the content of a hidden block there. ==== Page ==== ^ Setting ^ Description ^ |Title|Title of the page in the page tree and above the page.| |Link name|Last part of the page address. It is taken from the title when empty and must be unique among all pages. Changing it breaks links to the page that were shared before; the editor warns about it.| |Parent page|The page this page is placed below, or //Top level//.| |Position|Place among the pages on the same level.| |Draft|Shows the page only to users who may edit it, see [[#draft_pages|Draft Pages]].| ==== Draft Pages ==== A draft page and all pages below it are only shown to users with write permission on the draft page. All other users, and guests, see neither the pages in the page tree nor their blocks in the [[brandportal-visualnavigation|Visual Navigation]], and a link to such a page opens the first page instead. This way a page can be prepared before it is published. Every new page starts as a draft, also a subpage of a draft. To publish a page, clear //Draft// in the editor and save. A page below a draft stays hidden until the draft above it is published too, so a section of several pages appears all at once when its top page is published last. In the page tree, drafts are marked with a crossed out eye, and the draft and the pages below it are shown in italics. A note below the title of such a page says why it is not shown to everybody. Like a hidden block, a draft is no protection: everybody who may read the page in Fylr can still see it there. ==== Languages ==== Title, headings and texts can be edited in every language enabled in AWP, independent of the language AWP is shown in. The language buttons above the blocks switch all fields at once. A dot marks languages in which texts of the default language are not translated yet. A text that is not translated is shown in the default language of AWP. The editor shows it in italics and marks it as not translated. ==== Creating Pages ==== The new subpage icon right of the edit icon asks for a title and creates the page right away as a [[#draft_pages|draft]], as the last subpage of the current page and in the same pool. The new page opens in the editor. For a further top-level page, create a subpage and then move it to the top level. As long as no page exists, the //Create first page// icon is shown instead. The page is created at the top level, also as a draft. ==== Moving Pages ==== A page is moved with //Parent page// and //Position// in the editor or by dragging it in the page tree. Dropping it on the upper edge of another page places it before that page, on the lower edge after it, and in the middle makes it the last subpage of that page. A page cannot be moved below itself or one of its own subpages. ==== Deleting Pages ==== The trash icon deletes the current page after a confirmation and then shows its parent page, or the first page if it was a top-level page. The page is deleted in Fylr like any other item. The icon is disabled, with the reason as tooltip, for a page with subpages and for a page that a [[brandportal-visualnavigation|Visual Navigation]] item links. Move or delete the subpages, or remove the link, first.