O'Reilly logo

Liferay Portal 6 Enterprise Intranets by Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How do you share portlets within a portal page?

Within the portal, especially the portlet Sharing with the portlet ID 133, you can share as many portlets as you want. All portlets will have the tab Sharing at More | Configuration. As shown in the following screenshot, you can share any portlet (for example, Sign In) with any website: Facebook, Google Gadget, Netvibes, and Friends.

It's possible to use any portlet in any website, including these built-in scripts with static HTML pages. For example, to share the application Sign In with any website, just copy the following code, paste it into your web page, and this application will show up.

<script src="http://www.bookpub.com:8080/html/js/liferay/widget.js" type="text/javascript"> </script> <script ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required