Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Configuration/Sets/Flexslider/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: wapplersystems/ws-slider-flexslider
label: WS Slider Flexslider
dependencies:
- wapplersystems/ws-slider
1 change: 1 addition & 0 deletions Configuration/Sets/Flexslider/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Renderer/Flexslider/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/Flexslider/page.tsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TsConfig/Page/Renderer/Flexslider.tsconfig'
1 change: 1 addition & 0 deletions Configuration/Sets/Flexslider/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Renderer/Flexslider/setup.typoscript'
4 changes: 4 additions & 0 deletions Configuration/Sets/FlexsliderAssets/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: wapplersystems/ws-slider-flexslider-assets
label: WS Slider Flexslider Assets
dependencies:
- wapplersystems/ws-slider-flexslider
1 change: 1 addition & 0 deletions Configuration/Sets/FlexsliderAssets/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Assets/Flexslider/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/FlexsliderAssets/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Assets/Flexslider/setup.typoscript'
2 changes: 2 additions & 0 deletions Configuration/Sets/General/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name: wapplersystems/ws-slider
label: WS Slider General Settings
1 change: 1 addition & 0 deletions Configuration/Sets/General/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/General/page.tsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TsConfig/Page/General.tsconfig'
1 change: 1 addition & 0 deletions Configuration/Sets/General/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/setup.typoscript'
4 changes: 4 additions & 0 deletions Configuration/Sets/Owl/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: wapplersystems/ws-slider-owl
label: WS Slider Owl
dependencies:
- wapplersystems/ws-slider
1 change: 1 addition & 0 deletions Configuration/Sets/Owl/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Renderer/Owl/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/Owl/page.tsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TsConfig/Page/Renderer/Owl.tsconfig'
1 change: 1 addition & 0 deletions Configuration/Sets/Owl/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Renderer/Owl/setup.typoscript'
4 changes: 4 additions & 0 deletions Configuration/Sets/OwlAssets/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: wapplersystems/ws-slider-owl-assets
label: WS Slider Owl Assets
dependencies:
- wapplersystems/ws-slider-owl
1 change: 1 addition & 0 deletions Configuration/Sets/OwlAssets/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Assets/Owl/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/OwlAssets/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Assets/Owl/setup.typoscript'
4 changes: 4 additions & 0 deletions Configuration/Sets/Slick/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: wapplersystems/ws-slider-slick
label: WS Slider Slick Slider
dependencies:
- wapplersystems/ws-slider
1 change: 1 addition & 0 deletions Configuration/Sets/Slick/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Renderer/Slick/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/Slick/page.tsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TsConfig/Page/RendererSlick.tsconfig'
1 change: 1 addition & 0 deletions Configuration/Sets/Slick/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Renderer/Slick/setup.typoscript'
4 changes: 4 additions & 0 deletions Configuration/Sets/SlickAssets/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: wapplersystems/ws-slider-slick-assets
label: WS Slider Slick Slider Assets
dependencies:
- wapplersystems/ws-slider-slick
1 change: 1 addition & 0 deletions Configuration/Sets/SlickAssets/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Assets/Slick/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/SlickAssets/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Assets/Slick/setup.typoscript'
4 changes: 4 additions & 0 deletions Configuration/Sets/TinySlider/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: wapplersystems/ws-slider-tiny-slider
label: WS Slider Tiny Slider
dependencies:
- wapplersystems/ws-slider
1 change: 1 addition & 0 deletions Configuration/Sets/TinySlider/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Renderer/TinySlider/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/TinySlider/page.tsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TsConfig/Page/TinySlider.tsconfig'
1 change: 1 addition & 0 deletions Configuration/Sets/TinySlider/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Renderer/TinySlider/setup.typoscript'
4 changes: 4 additions & 0 deletions Configuration/Sets/TinySliderAssets/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: wapplersystems/ws-slider-tiny-slider-assets
label: WS Slider Tiny Slider Assets
dependencies:
- wapplersystems/ws-slider-tiny-slider
1 change: 1 addition & 0 deletions Configuration/Sets/TinySliderAssets/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Assets/TinySlider/constants.typoscript'
1 change: 1 addition & 0 deletions Configuration/Sets/TinySliderAssets/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import 'EXT:ws_slider/Configuration/TypoScript/Assets/TinySlider/setup.typoscript'
3 changes: 1 addition & 2 deletions Configuration/TypoScript/setup.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ plugin.tx_wsslider {
}
[global]


<INCLUDE_TYPOSCRIPT: source="DIR:EXT:ws_slider/Configuration/TypoScript/ContentElement/" extensions="typoscript">
@import 'EXT:ws_slider/Configuration/TypoScript/ContentElement/'
Binary file added Documentation/Images/SiteSets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 0 additions & 19 deletions Documentation/Installation/Images.txt

This file was deleted.

108 changes: 92 additions & 16 deletions Documentation/Installation/Index.rst
Original file line number Diff line number Diff line change
@@ -1,22 +1,93 @@
.. ==================================================
.. FOR YOUR INFORMATION
.. --------------------------------------------------
.. -*- coding: utf-8 -*- with BOM.

.. include:: ../Includes.txt
.. include:: Images.txt
.. include:: ../Includes.txt

.. _installation:

============
Installation
============

.. contents:: Table of Contents

.. _installation-composer:

Installation Composer
=====================

Install extension :composer:`wapplersystems/ws-slider` via Composer:

.. code-block:: bash

composer req wapplersystems/ws-slider

.. _installation-classic:

Installation Classic mode
=========================

- Login to the backend of TYPO3 as a user with Administrator privileges

- Download and install the extension EXT:ws\_slider by the **Extension Manager**
- Download and install the extension :t3ext:`ws_slider` by the **Extension Manager**

.. _configuration:

Configuration
-------------
=============

In TYPO3 13 we recommend that you include the settings of this extension via
`Site sets <https://docs.typo3.org/permalink/t3coreapi:site-sets>`_.

You only have to include the set of your choice, it handles all dependencies
itself.

.. _configuration-site-sets:

Configuration with Site Sets (preferred)
----------------------------------------

This extension ships, at the time of writing, 4 different Slider Renderer.
Include the set of the Slider Renderer of you choice in the site configuration
of your site or depend on it in your site package.

.. figure:: /Images/SiteSets.png
:alt: Screenshot of the Site Settings in the TYPO3 Backend, demonstrating choosing WS Slider FlexSlider set for this site.

Chooser the slider type of your choice. If you do not want to supply the
assets yourself chose the version including the assets.

Each site set comes in a version that includes the assets for the slider
(JavaScript, Css) and a plain version without.

To add a slider type to your
`site packages set <https://docs.typo3.org/permalink/t3sitepackage:minimal-extension-siteset>`_,
add it as a dependency as follows:

.. code-block:: diff
:caption: packages/my_site_package/Configuration/Sets/SitePackage/config.yaml

name: my-vendor/my-site-package
label: 'My Site Package'
dependencies:
- typo3/fluid-styled-content
+ - wapplersystems/ws-slider-flexslider-assets

The following sets are available:

`wapplersystems/ws-slider`
General Slider, if you use this you have to provide a custom rendering including
the desired assets.
`wapplersystems/ws-slider-flexslider`, `wapplersystems/ws-slider-flexslider-assets`
FlexSlider `<https://github.com/woocommerce/FlexSlider/wiki/FlexSlider-Properties>`_
`wapplersystems/ws-slider-owl`, `wapplersystems/ws-slider-flexslider-owl`
Owl `<https://owlcarousel2.github.io/OwlCarousel2/docs/api-options.html>`_
`wapplersystems/ws-slider-slick`, `wapplersystems/ws-slider-slick-assets`
Slick `<https://kenwheeler.github.io/slick/>`_
`wapplersystems/ws-slider-tiny-slider`, `wapplersystems/ws-slider-tiny-slider-assets`
TinySlider `<https://ganlanyuan.github.io/tiny-slider/#options>`_

.. _configuration-typoscript-records:

Configuration with TypoScript Records
-------------------------------------

To enable the sliders for editors, you have to add them to the page properties in the TSconfig settings. You can decide which slider or layout you want to add. To do this:

Expand All @@ -26,7 +97,7 @@ To enable the sliders for editors, you have to add them to the page properties i
4. Navigate to the `Resources` tab and add the items for the sliders you need in the `Page TSconfig` section as shown in the image below.


|TSconfigIncludes|
.. image:: ../Images/TSconfigIncludes.png

Add the template of the extension to your main template by:

Expand All @@ -36,27 +107,32 @@ Add the template of the extension to your main template by:
4. Edit the template.
5. Go the `Includes` tab and add the items for the sliders you need ad shown in the image below.

|TemplateIncludes|

.. image:: ../Images/TemplateIncludes.png

.. _adding-content:

Adding Content
--------------
==============

Select which slider you want to use and add slider elements. In each slider element you can set an image source.

|Elements|
.. image:: ../Images/Elements.png

.. _slider-settings:

Slider Settings
---------------
===============

Within the `Settings` tab when editing your content element you can find settings for the specific slider you have selected.
Here is an example for the Owl slider. Each setting has a default value, if you want to change a setting you can select the checkbox and set the specific value.

|OwlSettings|
.. image:: ../Images/OwlSettings.png

These settings are built after the respective endpoints the sliders offer.
The respective Documentation that we used can be found here:

* Owl `<https://owlcarousel2.github.io/OwlCarousel2/docs/api-options.html>`_
* FlexSlider `<https://github.com/woocommerce/FlexSlider/wiki/FlexSlider-Properties>`_
* TinySlider `<https://ganlanyuan.github.io/tiny-slider/#options>`_
* Slick `<https://kenwheeler.github.io/slick/>`_
* Slick `<https://kenwheeler.github.io/slick/>`_