Download the PHP package its-bessner/conditional-container without Composer
On this page you can find all versions of the php package its-bessner/conditional-container. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package conditional-container
ItsBessner Conditional Container Bundle
Custom Contao CMS bundle that provides a conditional container element to display content based on specific events or conditions.
Features
- Conditional Content Display: Allows content to be displayed before or on specific occasions.
- Day Offset: Configure how many days before the event the content should be visible.
- Customizable Settings: Easily define conditions and display logic.
Installation
-
Install the bundle via Composer:
-
Add the bundle to your Contao CMS project if not automatically registered.
- Perform the database update through Contao's Install Tool to apply the necessary changes.
Configuration
The following settings and translations are included in the bundle:
Content Element Translations (Example)
CTE
Definition:
Backend Field Translations
Selection Field:
Days Offset:
Usage
- Add the Conditional Container content element in the Contao CMS backend.
- Configure the following:
- Condition - Selection: Select the events or conditions for displaying content.
- Lead Time in Days: Define how many days before the event the content should be visible.
- Save and publish the content element.
Your content will now be shown based on the specified conditions.
License
This bundle is licensed under the MIT License.
Feel free to use, modify, and distribute it as needed.
Contributing
We welcome contributions to improve this bundle.
To contribute, please fork the repository, make your changes, and submit a pull request.
Support
If you encounter issues or have questions, feel free to open an issue on GitHub or reach out to us.