thelia / carousel-module
Installs: 34 002
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 5
Type:thelia-module
Requires
- thelia/installer: ~1.1
- dev-main
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.5.0-alpha2
- 2.5.0-alpha1
- 2.4.x-dev
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.4.0-alpha1
- 2.3.x-dev
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.3.0-beta2
- 2.3.0-beta1
- 2.3.0-alpha2
- 2.3.0-alpha1
- 2.2.x-dev
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0-beta3
- 2.2.0-beta2
- 2.2.0-beta1
- 2.2.0-alpha2
- 2.2.0-alpha1
- 2.1.x-dev
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.1.0-beta2
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.3-beta2
- 2.0.3-beta
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-RC1
- 2.0.0-beta4
- 2.0.0-beta3
- 2.0.0-beta2
- 2.0.0-beta1
- 1.0
- dev-api
- dev-master
- dev-dependabot/npm_and_yarn/templates/frontOffice/modern/async-2.6.4
- dev-dependabot/npm_and_yarn/templates/frontOffice/modern/minimist-1.2.6
This package is auto-updated.
Last update: 2024-10-28 15:32:18 UTC
README
This module for Thelia add a customizable carousel on your home page. You can upload you own image and overload the default template in your template for using the carousel.
Installation
- Copy the module into
<thelia_root>/local/modules/
directory and be sure that the name of the module is Carousel. - Activate it in your thelia administration panel
Usage
In the configuration panel of this module, you can upload as many images as you want.
Hook
The carousel is installed in the "Home page - main area" (home.body) hook.
Loop
Customize images with the carousel
loop, which has the same arguments as the image
loop. You can define a width, a height, and many other parameters
Input arguments
Ouput arguments
Exemple
{loop type="carousel" name="carousel.front" width="1200" height="390" resize_mode="borders"}
<img src="{$IMAGE_URL}" alt="{$ALT}">
{/loop}
How to override ?
If you want your own carousel in your tempalte, create the directory modules/Carousel
then create the template carousel.html
in this directory. Here you can create your own carousel and the replace the default template provided in the module.