Download the PHP package heimrichhannot/contao-tiny-slider-bundle without Composer

On this page you can find all versions of the php package heimrichhannot/contao-tiny-slider-bundle. 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 contao-tiny-slider-bundle

Tiny slider bundle

A slider bundle for contao based on Tiny Slider.

Features

Usage

Install

  1. install bundle with composer or contao manager

  2. Call contao install tool and update the database

Setup

  1. Create a tiny slider config (System -> Tiny-Slider). Please consider the tiny slider documentation for more informations about the different config options.
  2. Select the created config in a content element, an reader config element or in an list config after activating "Render as Tiny slider".

Usage as config element type (list and reader bundle)

This bundle comes with an config element type, already registered for list and reader bundle.

  1. Add 'Slider (Tiny Slider)' as list or reader config element to your configuration
  2. your defined template variable has two keys, html and images. html contains the complete slider, images just the prepared images if you want to define your own wrapper. So your typical template code to output a slider would be:

Twig usage

Tiny slider comes with an tiny_slider_wrapper.html.twig that can be embedded inside your custom twig template like the following:

There are also two twig extension available:

tiny_slider_wrapper_class

Returns the tiny slider wrapper css classes.

tiny_slider_container_attributes

Returns the tiny slider data-tiny-slider-config attribute for the container inside the wrapper. The parameter selector is optional and should point to the slides wrapper container.

Custom transition effects

In order to use custom transitions for example using animate.css choose from the following effects.

Fade effect

Assets

NPM/Yarn Package

The assets for this bundle are provided as NPM/Yarn package @hundh/contao-tiny-slider-bundle.

npm version

You will find the sources under src/Resources/npm-package.

Known Issues

Lazyload

If you use tiny-slider together with https://github.com/heimrichhannot/contao-speed-bundle and its lazyload compoment enabled in page layout, ensure that you enabled Lazy load in tiny slider configuration as well and keep the Lazy load selector default value to .tns-lazy-img.

If you use the TwigExtension image that you must provide proper lazyload information in data attributes:


All versions of contao-tiny-slider-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1|^8.0
contao/core-bundle Version ^4.9
heimrichhannot/contao-multi-column-editor-bundle Version ^2.0
matthiasmullie/minify Version ~1.3
heimrichhannot/contao-utils-bundle Version ^2.3
heimrichhannot/contao-encore-contracts Version ^1.0
symfony/event-dispatcher-contracts Version ^1.0 || ^2.0 || ^3.0
symfony/service-contracts Version ^1.0 || ^2.0 || ^3.0
terminal42/service-annotation-bundle Version ^1.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 heimrichhannot/contao-tiny-slider-bundle contains the following files

Loading the files please wait ....