Fórum
using javascript in web content display portlet
amani kh, modificado 11 Anos atrás.
using javascript in web content display portlet
Junior Member Postagens: 43 Data de Entrada: 17/11/12 Postagens Recentes
hello, is it possible to include javascript code in web content display portlet (not web content template)?
Anil Sunkari, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
Expert Postagens: 427 Data de Entrada: 12/08/09 Postagens Recentes
You mean you want to Customize/Extend Web Content Display Portlet? Then also its possible.
amani kh, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
Junior Member Postagens: 43 Data de Entrada: 17/11/12 Postagens Recentes
actualy I want to use a jQuery with a web contnet display portlet, is it possible?
Anil Sunkari, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
Expert Postagens: 427 Data de Entrada: 12/08/09 Postagens Recentes
Yes its possible.Only thing is how you handle the way you were expecting matters on your requirement base.
amani kh, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
Junior Member Postagens: 43 Data de Entrada: 17/11/12 Postagens Recentes
thank you Anil Sunkari, plz can you tell me the steps how to do this?
Anil Sunkari, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
Expert Postagens: 427 Data de Entrada: 12/08/09 Postagens Recentes
Refer Below URL:
http://www.liferay.com/zh/web/nathan.cavanaugh/blog/-/blogs/5363997
Hope it surely meets your requirement and still need any assitance.Welcome.
Regards,
Anil Sunkari
http://www.liferay.com/zh/web/nathan.cavanaugh/blog/-/blogs/5363997
Hope it surely meets your requirement and still need any assitance.Welcome.
Regards,
Anil Sunkari
amani kh, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
Junior Member Postagens: 43 Data de Entrada: 17/11/12 Postagens Recentes
hi, thank you one more time Anil Sunkari
I tried this, it dosnt work with a "web content display portlet", actulay I have only HTML code in my web content display portlet (I am using it to put some content in my page) and I wanna use a jQuery plugin with it (popup jQuery) but I dont know how to integrate them together!
I hope this clarifies the issue to you.thanks
I tried this, it dosnt work with a "web content display portlet", actulay I have only HTML code in my web content display portlet (I am using it to put some content in my page) and I wanna use a jQuery plugin with it (popup jQuery) but I dont know how to integrate them together!
I hope this clarifies the issue to you.thanks
Anil Sunkari, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
Expert Postagens: 427 Data de Entrada: 12/08/09 Postagens Recentes
If i'm correct you are working out to display someting in Pop-Up whcih you have to achieve it with JQuery.
Jquery itself has so many user friendly methods to make it as simple as possible. For Example. I have a div
<div id="xxx">
Here My COntent Goes.........
</div>
JQuery("#xxxx").popup{}
I'm not sure about tyour Jquery Knowledge Existance. ... you will geta lot.
Correct me if i'm wrong with your understanding
Regards,
Anil Sunkari
Jquery itself has so many user friendly methods to make it as simple as possible. For Example. I have a div
<div id="xxx">
Here My COntent Goes.........
</div>
JQuery("#xxxx").popup{}
I'm not sure about tyour Jquery Knowledge Existance. ... you will geta lot.
Correct me if i'm wrong with your understanding
Regards,
Anil Sunkari
amani kh, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
Junior Member Postagens: 43 Data de Entrada: 17/11/12 Postagens Recentes
hi Anil Sunkari, my pb is not with the jQuery, all the pb is that I dont know how to integrate jQuery (javascript files) with the web content display portlet, is there a way??
thank you.
thank you.
Ramesh Mandri, modificado 11 Anos atrás.
RE: using javascript in web content display portlet
New Member Postagens: 8 Data de Entrada: 23/05/11 Postagens Recentes
Dear amani,
You can keep your java script code at manage page --> java script
You can keep your java script code at manage page --> java script
Anexos:
Dan Cotton, modificado 10 Anos atrás.
RE: using javascript in web content display portlet
New Member Postagens: 11 Data de Entrada: 22/11/07 Postagens Recentes
I have tried using the "javascript" section noted i the image above but once I save it the page is escaping the JS I entered with the [CDATA...] and the script does not load or run.
Suggestions?
Suggestions?