jquery - Kentico V8 custom slider web part -
i don't have strong dotnet background, i'm primary js/css guy.
i want use slick.js slider plugin, i'm lost 1 how. i'm wondering if i'm on right track here.
ideally, editor able create new page based on slider template create each. each page new slide. these pages in specific folder in site tree.
my web part pull these pages in , render correctly formatted code , include needed js.
am on right tract here? , if how start.
you're absolutely on right track. i've used slick on couple of sites , followed pattern:
- setup repeater webpart
- set repeater's html envelope slider's wrapper
- set repeater's transformation repeat content of documents want repeat slides
- setup slider script in javascript webpart or (my preferred method) on page template's markup
here's example implementation in kentico uses slick's documentation. i'm using version 7, things little bit different , in different places, shouldn't hard figure out go googling
first off, you'll need css slick. here i've added css file applied site in kentico.:
next need setup page template:
then add repeater in design tab:
and setup repeater's html envelope so:
finally, create transformation:
edit: you'll need make sure you've setup content properly, , made sure repeater's content settings pointed right path. here i've set repeater pull underneath current path ./% slick document.
it's pulling in test documents see here:







Comments
Post a Comment