Theme Integration
The Visual CMS shortcode widgets currently supplied are compatible with the APEX theme. For other themes, minor adjustments may be necessary.
The following information refers to the Twig template engine.
Theme Extensions
Visual CMS extends the default shop theme via Twig template extensions located in views/twig/extensions/themes/default/.
base.html.twig extends the shop’s base layout to inject Bootstrap CSS and jQuery/Bootstrap JS. Both can be disabled through module settings — if the theme already provides jQuery or a custom grid framework is used, the corresponding assets can be turned off to avoid conflicts.
page/info/content.html.twig handles CMS page rendering and supports several content-level options:
Full-width layout — removes the surrounding container, allowing the entire page to span the full viewport width.
Hide title — suppresses the page heading.
Landing page mode — injects the content into
oxidBlock_pageBodyinstead ofoxidBlock_contentand uses the bare base layout, bypassing the standard page wrapper entirely.
More information about Twig in modules can be found here in the developer documentation.