How to change Random Image to slideshow image for "Banner Rotator" WebPart

Vuthy Sok asked on June 20, 2017 04:44

I am working on Kentico 9 and I want to create the slideshow banner for my site. I want to use Flexslider with "Banner Rotator" WebPart. is there any way to change Random Image to slideshow image?

Please suggest how can I do that?

Thanks

Vuthy

Recent Answers


Brenden Kehren answered on June 20, 2017 15:31

I'd suggest NOT using them together as you will have conflicts. Use a regular repeater webpart and add the flexslider markup for the wrapper in the content before and after, then in the transformation add what's needed to get each item to display. If you have need for bullet list navigation at the bottom of the page slider, then use a pages datasource and connect that to the repeater for the images and add another repeater for the navigation items at the bottom.

0 votesVote for this answer Mark as a Correct answer

Vuthy Sok answered on June 21, 2017 03:21

Thanks Brenden. If I use regular repeater webpart so I need store each banner in Page Tree or custom table and also user can't choose banner for apply every page If I don't create template for each page for apply banner.

Why I choose use "Banner Rotator" WebPart because it easy for user choose banner in Page Tab so i don't need create template for apply each page.

Regards,

Vuthy

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on June 22, 2017 16:13

Yes you are correct you would have to place a banner page under each page. If you have one template you can set it to look below the current page for that page type and return 1 or many of the banners so no need to specify a new template for every page as the path will be dynamic. You can also set it to be "random" by ordering by 'NewID()' if you have multiple and select the TopN.

0 votesVote for this answer Mark as a Correct answer

Vuthy Sok answered on June 23, 2017 10:06

Thanks Brenden. If I use page type for display banner so it have some problem like tree nodes (pages) will have increase more tree level If I have page more 100 page so it hard to control and also I worry about Search Function and SEO.

0 votesVote for this answer Mark as a Correct answer

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