how can I create a full screen slider?

reza gholipour, modified 5 Years ago. New Member Posts: 17 Join Date: 4/9/20 Recent Posts
Hi everyone
I'm so new in Liferay.I want to create a full-screen slider.Please guide me what do I do?
thumbnail
Andrew Jardine, modified 5 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
Hi Reza,

Welcome. There are so many ways to answer this question that it's hard to just pick one. Assuming that you are working with 7.2, probably the simplest way to achieve this goal right now is by leveraging Content Pages and Page Fragments. 
Content Pages: https://help.liferay.com/hc/en-us/articles/360028819392-Creating-Content-Pages
Page Fragments: https://help.liferay.com/hc/en-us/articles/360028726832-Page-Fragments

This is just the tip of the iceberg though. At this point though as you want to start familiarizing yourself with how to build a site (with a low entry point in terms of Liferay Knowledge) I would say this is your best bet. It's basically just HTML/CSS/JS programming with a little bit of configuration. 

Let us know how it goes emoticon
thumbnail
Andrew Jardine, modified 5 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
That's a cool tutorial -- and definitely a good starting point. I think it's important though to also explain how the content of that tutorial can be used in conjunction with Liferay. For example, using that sample code with the Page Fragments functionality.


With that said, I don't think you'll be able to simply copy and paste what you have there into Liferay though as you need to consider the styling that Liferay provides out of the box. Don't forget that the theme that is typically used to control the presentation layer of the site doesn't start with nothing (you could use the _unstyled as a parent, but then you have to provide copious amounts of styling for admin level components).

I would also argue that part of the advantage if leveraging a product like Liferay is the fact that you have so much out of the box functionality at your disposal. Ignoring all the features it provides and simply using it to deliver a flat site is wasteful -- there is no point in using Liferay for such purposes. That'd be like taking a transport truck to the corner store to pick up a bag of chips.