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.:

slick.css added kentico stylesheet


next need setup page template:

enter image description here

then add repeater in design tab:

enter image description here

and setup repeater's html envelope so:

enter image description here

finally, create transformation:

enter image description here

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.

enter image description here

it's pulling in test documents see here:

enter image description here


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -