Loading...
 

Introduction 

Plugin Swiper is a new plugin to create a Slider in any Tiki page using a shortcode. You can create multiple types of sliders and can place them on different locations on a page such as above header or inside the content body. It is mobile friendly and works great on handheld devices. Plugin Swiper is based on opensource Swiper The most modern mobile touch slider.

Built on: http://idangero.us/swiper/

Key Features 

  • Integrated with Tiki File Galleries
  • Responsive & Mobile Touch Enabled
  • Multiple Transition Styles
  • Full Screen or Define the size of Slider
  • Add text on top of slides including HTML and Wiki Syntax
  • Multiple Slider Placement Positions on a Page

Parameters 

Introduced in Tiki 19.
Preferences required: wikiplugin_swiper
Parameters Accepted Values Description Default Since
(body of plugin) Enter custom slides data separated by "|". Wiki Syntax / HTML supported in slide text, to include wiki page in slide text use pluginInclude.title:Slide 1 title;text:HTML/Wiki Syntax Supported Slide 1 text;image:Slide Image URL;bgcolor:#colorcode;color: #color code for text | title:Slide 2 title;text:Slide 2 text;image:Slide Image URL;bgcolor:#colorcode
background Slider background color, enter color code for example #000 19.0
fileIds any string except for HTML and PHP tags List of IDs of images from the File Galleries separated by commas.
autoPlayDelay digits Time interval to pause before moving to next slide in seconds. 5 19.0
fgalId
separator: :
Enter file gallery id for slider 19
height word Enter height of slider in px, default min height 100px, max height will adjust with content 100px 19.0
slideContentBg text Enter a valid CSS color code, or an rgba value if opacity is desired; for example: #000 or rgba(00, 00, 00, 0.5). 19.0
slideContentPostion text Enter position for example top:20No value assigned or bottom:20No value assigned top:20No value assigned 19.0
descriptionColor text Enter text color code of slide description, for example #ccc 19.0
titleColor text Enter text color code of slide title, for example #ccc 19.0
slidesPerView digits Slides visible at the same time on slider's container. Coverflow transition works best with 3 slides per view 1 19.0
width word Enter width of slider in px, default 100No value assigned 19.0
descriptionSize word For example 24px, default 16 px 16px 19.0
displayThumbnails n
y
Show thumbnails under main slider n 19.0
loop y
n
Set to true to enable continuous loop mode (If you use it along with slidesperView: 'auto' then you need to specify loopedslides parameter with amount of slides to loop (duplicate)). n 19.0
navigation y
n
Display navigation arrows y 19.0
parallaxBgImg text Enter image url for parallax background behind swiper 1 19.0
sliderPosition (blank)
(blank)
abovetopbar
undertopbar
Placement of slider, above topbar, below topbar, above menus and content or inside content 19.0
slidesOffsetAfter digits Add (in px) additional slide offset in the end of the container (after all slides) 0 19.0
slidesOffsetBefore digits Add (in px) additional slide offset in the beginning of the container (before all slides) 0 19.0
slidesPerColumn digits Number of slides per column, for multirow layout 1 19.0
slidesPerViewMobile digits Slides visible at the same time on small screens 0 19.0
slidesPerViewTab digits Slides visible at the same time on low resolution tablets 0 19.0
spaceBetween digits Distance between slides in px. 0 19.0
speed digits Duration of transition between slides (in seconds) 300 19.0
titleSize word For example 42px, default 32 px 32px 19.0
effect slide
fade
cube
coverflow
flip
Tranisition effect. Could be "slide", "fade", "cube", "coverflow" or "flip" slide 19.0
autoHeight n
y
Set to true and slider wrapper will adopt its height to the height of the currently active slide n 19.0
autoPlay y
n
Autoplay slider, on by default y 19.0
centeredSlides n
y
If true, then active slide will be centered, not always on the left side. y 19.0
freeMode n
y
If true then slides will not have fixed positions. n 19.0
pagination (blank)
n
bullets
fraction
progressbar
Slider pagination, default bullets bullets 19.0
preloadImages y
n
When enabled Swiper will force to load all images. y 19.0
slideToClickedSlide n
y
Set to true and click on any slide will produce transition to this slide. n 19.0
slidesPerColumnFill column
row
Could be 'column' or 'row'. Defines how slides should fill rows, by column or by row column 19.0
updateOnImagesReady y
n
When enabled Swiper will be reinitialized after all inner images ( tags) are loaded. Required preloadimages: true. y 19.0


Examples 

Following are some slider example with Plugin Swiper.

Example 1: Basic Slider Images 

Following slider is built using Tiki File Gallery and flip transition effect.

Example 1 Code
{swiper fgalId="8" effect="flip" pagination="fraction" }


Example 2: Basic Slider Images Fade Transition 

Following slider is built using Tiki File Gallery and fade transition effect.

Example 2 Code
{swiper fgalId="8" effect="flip" pagination="fraction" }

Example 3: Demo with Slide transition 

Example 4: Slider with Text on Top 

The body component is powerful and can include text, HTML or Wiki Syntax.

Slide 1 with Link

Demo of slides with different backgrounds, plain colors and images Read More

Slide 2

Demo of slides with different backgrounds, plain colors and images

Slide 3

Demo of slides with different backgrounds, plain colors and images

Slide 4

Demo of slides with different backgrounds, plain colors and images

Example 4 Slider Code
{SWIPER(effect="slide" pagination="fraction" navigation="n" direction="horizontal" autoPlay="y" displayThumbnails="n" autoHeight="n" slidesPerColumnFill="column" centeredSlides="n" slideToClickedSlide="n" freeMode="n" preloadImages="y" updateOnImagesReady="y" loop="n" titleColor="#fff" descriptionColor="#aaa" slideContentBg="rgba(00, 00, 00, 1)" slideContentPostion="top:20%;left:20%")}|title:Slide 1 with Link;text:Demo of slides with different backgrounds, plain colors and images <a href="http://tiki.org">Read More</a>;image:tiki-download_file.php?fileId=33&display;color:#fff|title:Slide 2;text:Demo of slides with different backgrounds, plain colors and images;image:tiki-download_file.php?fileId=35&display;color:#fff|title:Slide 3;text:Demo of slides with different backgrounds, plain colors and images;image:tiki-download_file.php?fileId=36&display;color:#fff|title:Slide 4;text:Demo of slides with different backgrounds, plain colors and images;bgcolor:#000;color:#fff|{SWIPER}



Custom Slide Code Explaination
Enter custom slides data separated by using "|". Wiki Syntax / HTML supported in slide text, to include wiki page in slide text use pluginInclude.

Example Custom Slide Code
title:Slide 1 title; text:HTML/Wiki Syntax Supported Slide 1 text; image:Slide Image URL; bgcolor:#colorcode; color: #color code for text

Example 5: Coverflow Style with Multiple Slides per View 

Example 5 Coverflow Slider Code
{swiper fgalId="8" effect="coverflow" navigation="y" direction="horizontal" autoPlay="y" displayThumbnails="n" autoHeight="n" slidesPerView="2" slidesPerColumnFill="column" centeredSlides="n" slideToClickedSlide="n" freeMode="n" preloadImages="y" updateOnImagesReady="y" loop="n" autoheight="false" centeredslides="true" preloadimages="true" autoplay="on"}


Tip*
To build an impressive image slide we must resize or choose images of the same size. Images having different sizes and dimensions will not look appropriate in the slider.

Slider Placement on a Page 

Swiper Plugin has the option to choose the placement of the slider at the following three locations

  1. In the body (where ever in a page body you place the slider)
  2. Above top bar / Top of the page (Above your page logo header)
  3. Above content page / under top bar (Above the page body but under the logo header)


See the screenshot of Tiki Swiper Plugin
Slider Placement

Switch Theme

websearch

Emulate Groups

Your Groups
    Switch to Groups