Download the PHP package lbr-media/typo3-extension-bootstrap without Composer

On this page you can find all versions of the php package lbr-media/typo3-extension-bootstrap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package typo3-extension-bootstrap

typo3 extension: bootstrap

Typo3 template extension with Twitter Bootstrap 5 package.

Provides page templates and many content elements modified or build for Bootstrap 5.
The basis of the content elements is fluid_styled_content (many are copied from this extension).

Table of contents

Install

There is a basic package at https://github.com/lbr-media/typo3-bootstrap-base which also loads a distribution extension. Maybe use it to get an example page with content or follow these steps to get a fresh and empty installation:

1. Install typo3 as usual with composer.

Use composer create-project "typo3/cms-base-distribution:^11.5" my-new-project or check the composer helper at https://get.typo3.org/misc/composer/helper.

After the backend is running you maybe have to setup the sites configuration.

2. Install this package.

composer require lbr-media/typo3-extension-bootstrap

3. Run the command to copy some assets to fileadmin.

php vendor/bin/typo3 bootstrap:updatefileadmin

4. Clear the cache

Clear the cache in Install-Tool or with php vendor/bin/typo3 cache:flush.

5. Go to the backend, create a new template and include static files from extension

Include the following static templates:

Remove the default TypoScript config in setup field.

Now you should be able to call the frontend of the page.

Content elements

All content elements

All content elements have extra or modified fields.

Fields

Example:

The defaults of space_before_class and space_after_class will be replaced with Bootstrap space classes. So you don't need extra classes for the space between content elements.

Adjust to your needs:


All headers

All headers of all content elements have extra or modified fields.

Fields

Example:

Example:

TypoScript constants

Key Default Desription
header_pattern ###TAG_START######HEADER######TAG_END### Header pattern
header_subheader_pattern ###TAG_START######HEADER###<small class="d-block">###SUBHEADER###</small>###TAG_END### Header subheader pattern
header_date_pattern <span class="d-block" datetime="###DATE_DATETIME###">###DATE###</span>###TAG_START######HEADER######TAG_END### Header date pattern
header_subheader_date_pattern <span class="d-block" datetime="###DATE_DATETIME###">###DATE###</span>###TAG_START######HEADER###<small class="d-block">###SUBHEADER###</small>###TAG_END### Header subheader date pattern
header_date_datetype FULL Header date format
See: https://www.php.net/manual/de/class.intldateformatter.php
header_date_timetype NONE Header time format
header_icon_wrap outside Header icon wrap.
Should the icons be 'outside' the h-tag or 'inside'?

Accordion

Bootstrap styled Accordion component.
CType: bootstrap_accordion

One accordion content element has one or many accordion items.
Each accordion item may have one or many Text & media (grid) content elements.

Settings for all items:

Settings each item:


Carousel

Bootstrap styled Carousel component with images.
CType: bootstrap_carousel

Settings:

Image properties:


Cards

Bootstrap styled Cards component in a grid system.
CType: bootstrap_cards

Settings

Card-item properties


Media grid

Images and videos in an adjustable grid system. Masonry is also provided.
CType: bootstrap_mediagrid

Settings


Tabulator

Bootstrap styled Tabulator component.
CType: bootstrap_tabs

One tabulator content element has one or many tabulator items.
Each tabulator item may have one or many Text & media (grid) content elements.

Settings for all items

Settings each item


Text + Image

A content element to create fast a grid with one image and text. Positions, space and alignment is adjustable.
CType: bootstrap_textimage

Settings


Text & Media (float)

A text which floats a media grid. Full adjustable grid and floating settings. Some presets are available to the editor.
CType: bootstrap_textmediafloat

Settings


Text & Media (grid)

A text column and a media grid column. The most flexible content element.
CType: bootstrap_textmediagrid

Settings


Two columns text

Create fast two columns text.
CType: bootstrap_twocolumnstext

TypoScript constants

Key Default Desription
ce_bootstrap_twocolumnstext_row_classes row g-0 g-sm-3 g-md-4 CSS-classes GRID-ROW
ce_bootstrap_twocolumnstext_col_classes col-sm-6 CSS-classes GRID-COL

Alert

Bootstrap alert boxes.
CType: bootstrap_alert

Settings


Markdown

Just like the regular text content element - but instead using a rich text editor you use Markdown markup. In frontend it will be transformed to HTML.
CType: bootstrap_markdown


Bullets

A list in Bootstrap-style.
CType: bullets

Settings (like Typo3)


Div

Just a line.
CType: div

TypoScript Constants

Key Default Desription
ce_div_hr_classes bg-dark opacity-75 my-3 my-md-4 CSS-classes HR-tag

Header

Just a header.
CType: header


Table

Adjustable with all the Bootstrap table classes.
CType: table


Uploads

Realized with Bootstrap card component.
The default Typo3-fields are available.
CType: uploads

TypoScript Constants

Key Default Desription
ce_uploads_row_classes list-unstyled row g-3 row-cols-1 row-cols-sm-2 row-cols-lg-3 align-items-stretch CSS-classes GRID-ROW
ce_uploads_col_classes col CSS-classes GRID-COL
ce_uploads_card_classes card h-100 CSS-classes CARD

Copied fluid_styled_content content elements

Navigation

TypoScript Constants

PID

Key Default Desription
nav_dropdown_excludeUidList Page-UIDs to exclude (excludeUidList)

Regular nav

Key Default Desription
nav_ul_classes list-unstyled CSS-classes UL
nav_li_classes nav-item CSS-classes LI
nav_link_spacer_classes nav-link spacer CSS-classes LINK: Spacer
nav_link_current_classes nav-link active CSS-classes LINK: Current
nav_link_active_classes nav-link active CSS-classes LINK: Active
nav_link_inactive_classes nav-link inactive CSS-classes LINK: Inactive

Dropdown main

Key Default Desription
nav_dropdown_ul_classes navbar-nav me-auto mb-2 mb-lg-0 w-100 justify-content-end CSS-classes UL in level 0
nav_dropdown_ul_target_classes dropdown-menu dropdown-menu-dark dropdown-menu-end CSS-classes UL target in level 1 containing the children
nav_dropdown_li_dropdown_classes nav-item CSS-classes LI regular (which has no children and it is not in a dropdown)
nav_dropdown_li_dropdown_toggle_classes nav-item dropdown CSS-classes LI toggle (which has children)
nav_dropdown_li_dropdown_target_classes CSS-classes LI target (which is a child in dropdown)

Dropdown link regular

Key Default Desription
nav_dropdown_spacer_classes nav-link text-nowrap CSS-classes LINK REGULAR: Spacer
nav_dropdown_current_classes nav-link text-nowrap active CSS-classes LINK REGULAR: Current
nav_dropdown_active_classes nav-link text-nowrap active CSS-classes LINK REGULAR: Active
nav_dropdown_inactive_classes nav-link text-nowrap CSS-classes LINK REGULAR: Inactive

Dropdown toggle link/button

Key Default Desription
nav_dropdown_toggle_spacer_classes nav-link text-nowrap dropdown-toggle CSS-classes LINK TOGGLE: Spacer in level 0 with children
nav_dropdown_toggle_current_classes nav-link text-nowrap active dropdown-toggle CSS-classes LINK TOGGLE: Current in level 0 with children
nav_dropdown_toggle_active_classes nav-link text-nowrap active dropdown-toggle CSS-classes LINK TOGGLE: Active in level 0 with children
nav_dropdown_toggle_inactive_classes nav-link text-nowrap dropdown-toggle CSS-classes LINK TOGGLE: Inactive in level 0 with children

Dropdown link in dropdown

Key Default Desription
nav_dropdown_child_spacer_classes dropdown-divider CSS-classes LINK CHILD: Spacer in level 1 in dropdown
nav_dropdown_child_current_classes dropdown-item text-nowrap active CSS-classes LINK CHILD: Current in level 1 in dropdown
nav_dropdown_child_active_classes dropdown-item text-nowrap active CSS-classes LINK CHILD: Active in level 1 in dropdown
nav_dropdown_child_inactive_classes dropdown-item text-nowrap CSS-classes LINK CHILD: Inactive in level 1 in dropdown

Credits

Many thanks to the people of:

The world would be a sadder place without them.


All versions of typo3-extension-bootstrap with dependencies

PHP Build Version
Package Version
Requires erusev/parsedown Version ^1.7
php Version >=8.1.0
twbs/bootstrap Version ^5.1
twbs/bootstrap-icons Version ^1.8
typo3/cms-backend Version ^12.0
typo3/cms-belog Version ^12.0
typo3/cms-core Version ^12.0
typo3/cms-extbase Version ^12.0
typo3/cms-filemetadata Version ^12.0
typo3/cms-frontend Version ^12.0
typo3/cms-recordlist Version ^12.0
typo3/cms-rte-ckeditor Version ^12.0
typo3/cms-seo Version ^12.0
typo3/cms-setup Version ^12.0
typo3/cms-tstemplate Version ^12.0
typo3/cms-viewpage Version ^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lbr-media/typo3-extension-bootstrap contains the following files

Loading the files please wait ....