Hide

YetaWF Documentation

Display
Print

Module Reference

Some modules offer the ability to inject content into pages. These specialized modules perform functions that apply to entire pages. For example the Sharing Sidebar (Skin) Module can be used to add social media sharing links to pages.

Modules that can be injected into pages are also called Skin Modules because they aren't part of a page's panes. These can be injected or even directly added to a skin by a skin designer. A module can be defined as a skin module by setting the Invokable property to true (YetaWF.Core.Modules.ModuleDefinition). This is done when the module is developed. It is not a design-time feature.

Site-Wide Module References

Skin modules can be added to all pages of a site using Admin > Settings > Site Settings (standard YetaWF site), References tab.

Site Settings - Module References

Selecting any of the modules will add their functionality to all pages of a site.

Module References For A Page

Skin modules can be added to individual pages using the page's Page Settings, References tab.

Page Settings - Module References

Selecting any of the modules will add their functionality to that specific page.

Module References For A Module

Skin modules can be added to modules using the modules's Module Settings, References tab. When a reference is added to a module, the skin module will be injected on all pages that contain the module.

Module Settings - Module References

Selecting any of the modules will add their functionality to any page that contains the specific module that references the skin module.