Foros de discusión

Slider to Liferay

Dinisha Tennakoon, modificado hace 10 años.

Slider to Liferay

New Member Mensajes: 22 Fecha de incorporación: 6/06/13 Mensajes recientes
I have already created a slider using DDSlider. But I don't know how to add it to a particular page in the Liferay Portal. Could anyone tell me the way to get this done??

The slider is fully working. Also have some texts in it.

Also I don't want it to be a portlet.
thumbnail
Vishal Panchal, modificado hace 10 años.

RE: Slider to Liferay

Expert Mensajes: 289 Fecha de incorporación: 20/05/12 Mensajes recientes
Hi Dinisha,

You can create a liferay web-content and place your slider code.

Then you should add web content display portlet on page and select the created web content to display.

Hope it helps.!

Thanks,
Vishal
Dinisha Tennakoon, modificado hace 10 años.

RE: Slider to Liferay

New Member Mensajes: 22 Fecha de incorporación: 6/06/13 Mensajes recientes
Vishal Panchal:
Hi Dinisha,

You can create a liferay web-content and place your slider code.

Then you should add web content display portlet on page and select the created web content to display.

Hope it helps.!

Thanks,
Vishal


Hi Thank you for the reply. I am new to Liferay. IF you can please can you tell me how to do it? I know how to create a web-content. Can you tell me what do to from there??

Thank you.
thumbnail
chirag @ India, modificado hace 10 años.

RE: Slider to Liferay

Regular Member Mensajes: 129 Fecha de incorporación: 21/12/11 Mensajes recientes
hi Dinisha ,

After Add web-content open in edit mode & paste Your slide Code ,In liferay bundle Webapps is root directory in that you can add folder ex. "slide" and in that put all related js, css & image .So in your code set path from your slide folder for js,css,or image ..

For advance webcontent You can try with structure & template .

HTH
Chirag @ india
Dinisha Tennakoon, modificado hace 10 años.

RE: Slider to Liferay

New Member Mensajes: 22 Fecha de incorporación: 6/06/13 Mensajes recientes
chirag @ India:
hi Dinisha ,

After Add web-content open in edit mode & paste Your slide Code ,In liferay bundle Webapps is root directory in that you can add folder ex. "slide" and in that put all related js, css & image .So in your code set path from your slide folder for js,css,or image ..

For advance webcontent You can try with structure & template .

HTH
Chirag @ india


Can you tell me how to do it exactly? I am new to Liferay. If u can show me the steps that would be helpful. thnx..

you can find my slider below.. please tell me how to add it.. emoticon

Archivos adjuntos:

thumbnail
chirag @ India, modificado hace 10 años.

RE: Slider to Liferay

Regular Member Mensajes: 129 Fecha de incorporación: 21/12/11 Mensajes recientes
hi Dinisha ,

I can give you syntax below how to do it...

Suppose I have Folder Jquery In my webapps folder in liferay bundle . I put all the jquery In this folder .Right now in that folder contain slide-tab folder .

For css : <link href="/Jquery/slide-tab/css/style.css" rel="stylesheet" type="text/css">

For image <div class="info_image">/Jquery/slide-tab/images/1.jpg</div>


For All You do this & For testing you can hit url like localhost:8080/web/Jquery/slid-tab/index.html

if it is works then simply paste all code in web content .

HTH
Chirag @ India
Dinisha Tennakoon, modificado hace 10 años.

RE: Slider to Liferay

New Member Mensajes: 22 Fecha de incorporación: 6/06/13 Mensajes recientes
chirag @ India:
hi Dinisha ,

I can give you syntax below how to do it...

Suppose I have Folder Jquery In my webapps folder in liferay bundle . I put all the jquery In this folder .Right now in that folder contain slide-tab folder .

For css : <link href="/Jquery/slide-tab/css/style.css" rel="stylesheet" type="text/css">

For image <div class="info_image">/Jquery/slide-tab/images/1.jpg</div>


For All You do this & For testing you can hit url like localhost:8080/web/Jquery/slid-tab/index.html

if it is works then simply paste all code in web content .

HTH
Chirag @ India


How to paste the code in the web content. I am NEW to Liferay. You can find my slider below. can you tell me what to do on my slider to show in liferay. thnx.. I am bit stuck here..

Archivos adjuntos:

thumbnail
chirag @ India, modificado hace 10 años.

RE: Slider to Liferay

Regular Member Mensajes: 129 Fecha de incorporación: 21/12/11 Mensajes recientes
hi ,

You are making me confused, i don't know how much you have knowledge in liferay ? Add me in gtalk [ chiragmsc007it@gmail.com ]

Chirag @ India
Dinisha Tennakoon, modificado hace 10 años.

RE: Slider to Liferay

New Member Mensajes: 22 Fecha de incorporación: 6/06/13 Mensajes recientes
please
thumbnail
Muradali Hasan, modificado hace 10 años.

RE: Slider to Liferay

Junior Member Mensajes: 84 Fecha de incorporación: 27/07/10 Mensajes recientes
Hi Dinisha Tennakoon,


Adding to Chirag post.
Dependent javacript file you can include in custom theme as well so when you deploy that theme it will become available for use.

Thanks-
Muradali
Dinisha Tennakoon, modificado hace 10 años.

RE: Slider to Liferay

New Member Mensajes: 22 Fecha de incorporación: 6/06/13 Mensajes recientes
Muradali Hasan:
Hi Dinisha Tennakoon,


Adding to Chirag post.
Dependent javacript file you can include in custom theme as well so when you deploy that theme it will become available for use.

Thanks-
Muradali



Can you tell me how to do it exactly? I am new to Liferay. If u can show me the steps that would be helpful. thnx..

you can find my slider below.. please tell me how to add it..

Archivos adjuntos: