Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-tab-control-bundle
A bundle bringing tabs to contao CMS.
https://github.com/heimrichhannot/contao-tab-control-bundle
Last synced: about 1 month ago
JSON representation
A bundle bringing tabs to contao CMS.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-tab-control-bundle
- Owner: heimrichhannot
- License: gpl-3.0
- Created: 2019-05-08T14:57:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T08:51:58.000Z (about 2 months ago)
- Last Synced: 2024-11-08T09:28:21.435Z (about 2 months ago)
- Language: PHP
- Size: 328 KB
- Stars: 0
- Watchers: 7
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Contao Tab Control Bundle
This Bundle brings Bootstrap 5 Tabs to Contao.
## Features
- adds 3 new content elements: Start, Separator, Stop
- has the option to store last open tab in session (sessionStorage)
- migration command for migration from contao-legacy/fry_accessible_tabs
- [Encore Bundle](https://github.com/heimrichhannot/contao-encore-bundle) support
## Install
1. Install with composer: `composer require heimrichhannot/contao-tab-control-bundle`.
1. Update the database.### Installation with Encore bundle
1. Run the symfony command `encore:prepare` and `yarn encore [dev|prod]` (you don't need to activate the entry manually if you use encore bundle version >= 1.3).
### Installation without Encore bundle
1. **Make sure bootstrap (js and style) is included** in your project setup since it **doesn't come with this bundle** to avoid duplicate code.
## Usage
1. This bundle brings three new content elements. To set up a tab section, choose the tab start element.
1. For each new tab add a tab separator element. The tab names are set in the tab start and the tab separator elements.
1. In the end add the tab stop element to wrap it up.### Commands
`huh:tabcontrol:migrate`: Provide migration from contao-legacy/fry_accessible_tabs and older bundle version. See `huh:tabcontrol:migrate --help` for options.