You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 03-07-2014 12:24:37

alvoholic
Member
Registered: 03-07-2014
Posts: 2

how to build Slidefx, Slideshow, Flip tile?

Can you tell me how to build Slidefx, Slideshow and Flip tile? please

Offline

#2 03-07-2014 14:02:42

chrismaliszewski
Contributors
From: Torun, Poland
Registered: 06-05-2013
Posts: 246
Website

Re: how to build Slidefx, Slideshow, Flip tile?

You can find examples in config/tiles.php and config/sidebar.php files.

Code taken from there:
Slidefx

$tile[] = array("type"=>"slidefx","group"=>1,"x"=>0,"y"=>0,'width'=>2,'height'=>1,"background"=>"#333","url"=>"external:img/metro_slide.png","text"=>"Click to see in full","img"=>"img/metro_slide_300x150.png","classes"=>"lightbox");

Slideshow

$tile[] = array("type"=>"slideshow","group"=>1,"x"=>2,"y"=>0,"width"=>1,"height"=>1,"background"=>"#6950ab","url"=>"newtab:http://google.com","images"=>array("img/chars/a.png","img/chars/b.png","img/chars/c.png","img/chars/d.png","img/chars/e.png","img/chars/f.png","img/chars/g.png"),"effect"=>"slide-right, slide-left, slide-down, slide-up, flip-vertical, flip-horizontal, fade",	"speed"=>1500,"arrows"=>false,"labelText"=>"Random fx", "labelColor"=>"#453B5E", "labelPosition"=>"top");

Flip

array("type"=>"flip","group"=>0,"x"=>1,"y"=>0,'width'=>1,'height'=>1,"background"=>"#C82345","url"=>"","img"=>"img/metro_150x150.png",	"text"=>"<h4 style='color:#FFF;margin-top:10px;' >Even plugins can work in sidebars!</h4>", "classes"=>"noClick")

If you want to use them in sidebar remember to set "load_plugins" array in the same way like it is shown in example file (sidebar.php), i.e.

"load_plugins"=>array("tileflip","tileslide")

Next time try harder to find answers by yourself, because in this way you'll learn everything faster!

Last edited by chrismaliszewski (03-07-2014 14:03:22)

Offline

#3 03-07-2014 20:29:49

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: how to build Slidefx, Slideshow, Flip tile?

Only available in the "donator" version, sorry wink

Offline

Board footer

Powered by FluxBB