kentico slider

hassan kalach asked on August 9, 2017 09:55

okay so i am trying to make a basic slider in my master page , i have created a folder and uploaded 3 images inside of it , then i added a page data source and selected the path to the images folder , and finally i created a new web part basic repeater and adding the data source id in it , and i selected a custom transformation , so what am i doing wrong ?

Correct Answer

Rui Wang answered on August 9, 2017 16:04

Hassan, the repeater with transformation will generate the HTML like <ul><li>...</li></ul> for you, in order to make it a slider, you will need some JS to go with it.

I created this short video a while ago, hopefully you can learn from it. https://www.youtube.com/watch?v=MmG25341IQA

0 votesVote for this answer Unmark Correct answer

Recent Answers


Dawid Jachnik answered on August 9, 2017 10:21

The basic repeater is displaying your data through the transformation? Is this problem related to retrieving data from Kentico or strictly slider (js, etc.)?

0 votesVote for this answer Mark as a Correct answer

hassan kalach answered on August 9, 2017 10:52 (last edited on August 9, 2017 10:52)

@dawid jachnik ,

the first problem is that the basic repeater is not displaying the data ( images ), the second problem is that i dont know how to make the basic repeater act like a slider, and thank you for your response

0 votesVote for this answer Mark as a Correct answer

hassan kalach answered on August 9, 2017 19:37

@rui wang thank you for your answer its what i needed my only question now is where to add the needed files , in the video you made a slider folder that contained the css and themes and js , where di you add that folder

0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on August 9, 2017 19:50 (last edited on August 9, 2017 19:52)

You can either upload CSS and JS to physical location on file system then reference them or manage those through CSS App and JavaScript App.

To reference CSS, you can use the HTML Head web part which you can insert the reference to the head of the page which the CSS is needed. To reference JS, there is a JavaScript web part which you can select the JS managed in CMS or reference the URL path to an physical JS file.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.