Skip to content

cgkineo/adapt-navigationTitle

Repository files navigation

adapt-navigationTitle

Navigation Title is an extension for displaying a title in the course navigation bar.

Settings overview

Navigation Title attributes include a text field for the title, an option to hide for mobile view, and an option to use the course title instead of custom text. The title can be shown on the menu, on specific pages, or everywhere as default.

Screenshot

Attributes

The following attributes are set within course.json.

_navigationTitle (object): The object that defines the content to render. It contains values for _isEnabled, _isHiddenOnMenu, _hideForMobile, _useCourseTitle, and title.

_isEnabled (boolean): Turns on and off the Navigation Title extension.

_isHiddenOnMenu (boolean): When true, hides the logo on the main menu. Default: false

_hideForMobile (boolean): Optional, hide the title for mobile view. Useful to declutter the navigation bar where limited space is available.

_useCourseTitle (boolean): Optional, use the course title as the navigation title. Will override anything in the title property of the _navigationTitle object.

title (string): The title text to display should _useCourseTitle be set to false.

The following attributes are set within contentObjects.json.

_navigationTitle (object): The object that defines the content to render. It contains the value for _isEnabled.

_isEnabled (boolean): When false, hides the title on a specific page or sub menu. Default: true


Author / maintainer: CGKineo
AAT support: Yes
Accessibility support: WAI AA
RTL support: Yes
Cross-platform coverage: Chrome, Chrome for Android, Firefox (ESR + latest version), Edge, Safari 14 for macOS/iOS/iPadOS, Opera