Layout, Relationships, Styling, and Metadata
1 2015-05-26T09:38:34-07:00 Curtis Fletcher 3225f3b99ebb95ebd811595627293f68f680673e 3296 3 Layout, Relationships, Styling, and Metadata sections of the page editor plain 2015-05-26T09:40:53-07:00 Curtis Fletcher 3225f3b99ebb95ebd811595627293f68f680673eThis page is referenced by:
-
1
2014-10-01T16:38:34-07:00
Styling a Page
10
Adding custom styling to a page.
plain
2019-07-11T14:51:50-07:00
This section describes functionality in Scalar's page editor, which is accessed by clicking the icon (if creating new content) or the icon (if editing existing content) in your Scalar header bar.
Clicking on "Styling" just below the page editor will reveal a dropdown menu with options for modifying the following:
Thumbnail. You can select any image in your book as the thumbnail image for the page--doing so currently has no visible effect within Scalar, but may in the future.
Key image. You can select any image in your book to serve as the header image when using the "Image header" layout or as the background image when using the "Splash" and "Book Splash" layouts.
Background image. You can select any image in your book to serve as the background image for the page. If the page is a path, the same image will also be applied automatically to all pages in the path.Custom CSS style. Allows custom CSS code to be applied to this page to alter its look and feel. If the page is a path, the same CSS will also be applied automatically to all pages in the path. Learn more about custom CSS.
Custom Javascript. Allows custom Javascript code to be added to the page. If the page is a path, the same code will also be applied automatically to all pages in the path.
Background audio. You can select any audio file in your book to be played as background audio while the user is on the page (an audio player will be embedded at the bottom of the page so the audio can be turned off by the user).
-
1
2014-10-01T16:38:30-07:00
Adding Additional Metadata
9
How to append additional data to a page.
plain
2015-05-28T13:26:48-07:00
This section describes functionality in Scalar's page editor, which is accessed by clicking the icon (if creating new content) or the icon (if editing existing content) in your Scalar header bar.
Clicking on "Metadata" just below the page editor will reveal options for modifying the following:
Scalar URL. By default, the URL for your page is derived from the title you gave it when it was first created. You can enter a new URL in this text field to make changes after the fact.
Page visibility. This option determines whether the page is visible to the book's readers (whether visible or not, it will remain accessible to the book's authors).
Content type. Scalar books can contain pages which are flagged as "reviews" or "commentary" as a way of allowing third parties to contribute or respond to the content of the book within the book itself, while still being flagged as distinct from the primary authored material. In general you will want to leave this set to "Book content".
Add additional metadata. Sometimes it can be useful to add additional data to a given page. This data is only visible within Scalar via the Metadata view, but it is fully accessible to third party applications via Scalar's API. Clicking the "Add additional metadata" button opens a pop-up window with a selection of Dublin Core and ArtStor standardized metadata fields which can be added as needed to the page.
Saving Your Changes
Once you're done editing the page, click "Save" to commit your changes. As with any web-based authoring tool, you should save your edits frequently to reduce the chances of losing any work should your web browser crash or your editing window be closed accidentally.
Scalar treats every edit to a page as a new version of that page, and all versions are preserved and publicly accessible by default. If you wish to access or delete specific versions of a page, visit the "Pages" tab in your dashboard and click on "View" next to the page in question.