What is the slot system ?

Undraw Website Builder Re Ii6e

Slot System

About

slots are normal pages that replaces the content of layout elements if found.

ComboStrap supports the following slots.

Name Location
Sidebar slot at the left side of the content
Page header slot at the top of a page
Page footer slot at the bottom of a page
Main header slot at the top of the content
Main footer slot at the bottom of the content

Layout Element

Usage

You can list, edit or create secondary slots with the slot manager.

The slots work like that:

The slot manager shows you where you can create these slots.

Features

  • A slot can be defined for every namespace (directory). If there is no slot page for a namespace, a slot page is searched in the ascendant namespace (parent, grandparent,…)
  • A slot is automatically hidden and not searchable.
  • Side slots (side slots) are rendered for every namespace and regenerated for each namespace change (page creation, modification, deletion)

Glossary

Bar vs Slot

In ComboStrap, a slot is a place in the template where content can be added while a bar is a UI component such as the menu bar.




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Related HowTo's
Combostrap Default Theme File Explorer
How to create your own theme?

This page shows you how to create your own theme. You can then apply advanced design and logic to your whole website application. Combostrap uses a theme system where: each page has its own template...
Undraw Stepping Up
Top menubar

The theme system supports the creation of a slot page called header slot in order to create a menu bar at the top location of the page. * Create a page called :slot_header (at the root directory...


Recommended Pages
Undraw My Documents
Automatic Canonical Path

This feature provides a default value to the router for the canonical path based on the last parts of the page path. It allows therefore a named permalink redirect based on the canonical. slots For...
Cache
Automatic Slot Cache Management

Thanks to the automatic slot cache management, the secondary slots cache is managed automatically and are re-rendered in the background
Layout Element
ComboStrap - Page Header Slot

The page header slot is a slot that replaces the page header. The how-to getting started guide explains how to create a header navigational bar: . You can configure the name of the header slot...
Undraw My Documents
ComboStrap - Print

How to handle component on print
Hidepages Extrabar Configuration
ComboStrap Ads - Global Configuration

For all ads module, the ads are located in the namespace (directory) called combostrap Ads page have no content and should then not indexed. To exclude the combostrap location from the search index...
Undraw My Documents
ComboStrap Quality - Automatic Hidden Artifactory

The combo plugin automatically hides: the slots the combostrap private namespace (where icons and other internal component are saved) This page resource are still accessible but should not be advertised...
Combostrap Cache Hit
How the page cache is working ?

This page is talking the cache management of a page. A page is composed of: its content and the slots of its template. Each rendering goes into the cache until: its content has changed its...
Index Layout
Index template

An index template is the default template for the index pages. Because index pages are landing pages for a namespace, this template creates a mini-landing page layout for a namespace slots page header...
Layout Element
Main Footer Slot

The main footer slot is a slot that replaces the content of the main footer The name of the main header slot is slot_main_footer. To add a main footer slot to all your pages: go to ...
Main Header Slot Manager
Main Header Slot

The main header slot is a slot that will replace the default main header of your template. Below is an example of main header. where: breadcrumb is the hiearchical breadcrumb box is a box with...



Task Runner