« Back

Liferay book: Liferay Portal 6 Enterprise Intranets

General Blogs April 19, 2010 By Jonas Yuan

An overview of Liferay Portal 6 Enterprise Intranets

  • Install, set up, and build a corporate intranet with Liferay's complete guide
  • Configure, customize, and integrate with other applications and also implement portals and plugins within Liferay
  • Discussions, Wiki, blogs, collaboration, CMS & WCM, Social Office, federated search, clustering and more
  • Clear, step-by-step instructions, practical examples, and straightforward explanation

Sample chapter, Table of contents, Download the code

Liferay Portal is the world's leading open-source portal platform built on Java and Web 2.0 technologies. Corporations use it to provide a unified web interface to data and tools scattered across many sources.

Liferay Portal uses the latest in Java, J2EE, and Web 2.0 technologies to deliver solutions for enterprises across both public and private sectors. Liferay Portal's flexibility allows it to be deployed in a number of different scenarios to meet key business needs. 

What this book covers

Chapter 1: Introducing Liferay for Your Intranet introduces Liferay portal, CMS and WCM, collaboration, social networking, and Social Office.

Chapter 2: Set up Home Page and Navigation Structure for the Intranet discusses how to implement a portal page with portlets. It also shows how to customize the look and feel of pages and portlets through themes and look and feel preferences. It helps us understand the portal, portlet container, and portlet according to the JSR-286 specification—how to set up the portal, including installation options and deployment matrix, how to configure the home page and all the other pages of the intranet website. Then it introduces us to building basic pages, as well as setting up the portal pages. It, going further, discusses how to navigate the structure of the intranet via portlets, for example, Site Map, Breadcrumb, and Navigation. It also shows how to configure the portal, how to customize the Dock bar menu, and how to configure database and mail. Finally, it provides guidance to bring pages together in action, to share any portlet within a portal page, and to customize the Control Panel.

Chapter 3: Bringing in Users first introduces how to create and manage organizations and locations and teams; how to add users and manage (for example,e.g. view, search, update, deactivate, restore, delete and impersonate) users; how to add user groups and manage (for example,e.g., view, search, update, delete and assign) user groups. Then it introduces how to integrate with different authentication servers: LDAP, LDAP, CAS, NTLM, OpenID, OpenSSO (renamed as OpenAM), SiteMinder. Furthermore, it introduces how to manage permissions, and how to add roles and manage (for example,e.g., view, search, update, delete and assign) roles.

Chapter 4: Forums, Categorization, and Asset Publishing describes how we can add categories and subcategories in Message Boards. Then it discusses how to add a tag and manage (add, delete, and update) categories and vocabulary, as well as how to tag assets and display tags. Finally, it addresses how to publish assets through the Asset Publisher portlet and how to configure and customize the Asset Publisher portlet.

Chapter 5: Wikis, Web Forms, and Polls introduces how to add and manage (view, update and delete) nodes of Wikis, to add pages at the nodes in Wikis, to manage (view, update, delete and search) pages for a give node in Wikis, to use permissions of Wikis portlet and permissions on nodes, and to publish Wiki articles in the intranet first. Then it introduces how to set up Web Form in order to collect users’ suggestions, to configure polls and to display survey in order to assess public opinions. In addition, it introduces how to integrate OpenOffice, Orbeon forms and Alloy UI forms briefly.

Chapter 6: Blogs, WYSIWYG Editors, and RSS  introduces how to add entries of Blogs; how to manage (e.g., view, update and delete) entries of Blogs; and how to add comments for a given entry of Blogs first. Then it discusses how to assign permissions on the Blogs portlet and entries of Blogs. It also introduces the ways to publish Blogs by Recent Bloggers portlet and Blogs Aggregator portlet and to build Blogs with the WYSIWG editor CKEditor. Finally, it discusses RSS and related portlets like RSS portlet, Weather portlet, Announcements portlet, and Alerts portlet.

Chapter 7: Roll Out to Other Teams introduces communities portlet, involved how to add a community; how to manage (edit, delete, search, join, leave) communities first. Then it discusses how to add and manage the pages, teams and users within a community; to assign permissions on communities, and to show what’s different between organization and community. How to employ community virtual hosting is also introduced. Furthermore, it discusses how to use stage, preview, and publish websites, and manage staging workflow. Scheduling and remote publishing are also addressed in details. Finally, it introduces how to use community tools, e.g., my communities, bookmarks, invitation, directory, etc.

Chapter 8:CMS and WCM introduces how to add folders and sub folders for images; to manage folders and sub folders; to add images in folders and manage images; to set up permission on folders and images first. Then it discusses how to add folders and sub folders for documents; to manage documents, to add comments, to give your rating, to view versions; to set up permission on folders and documents; and to publish documents. Moreover, it introduces structures management, templates management and articles management. It emphasizes on how to build articles based on structures and templates, and how to set up permissions on Web Content Management, articles, templates, structures, and Feeds. Finally, it introduces how to publish articles and to employ other WCM tools. In a word, WCM doesn’t only provide high availability to publish, manage, and maintain web contents and documents, but also does it separate contents from the layout.

Chapter 9: Social Office, Hooks, and Custom Fields introduces how to add a participant for chatting; to manage (view and delete) participants in chat portlet; to start chatting; and to set up chat portlet first. Then it discusses how to manage (check, delete, add, reply, forward, search) emails and furthermore, to set up mail portlet properly. It states how to manage SMS Text Messenger portlet and to send SMS text messages. Then it mainly discusses on how to build social office with so-theme, so-portlet together with hooks and other portlets. Finally it states how to apply custom fields on any assets.

Chapter 10: Search, WAP, CRM, Widgets, Reporting, and Auditing introduces how to employ federated search and how to integrate search against content from plugins first. Then it discusses how to use CSZ search and map search portlets. Especially, it discusses the OpenSearch concept. It also introduces Web Content search and how to configure sitemap and pluggable enterprise search. Finally, it discusses plugins management, WAP sites, reporting, auditing, CRM and Widgets.

Chapter 11: Ongoing Admin Tasks introduces system administration which provides ability to view sever information, to create and manage instances. Moreover, it discusses monitoring portal and portlets operations, dynamic data source (database read-writer), and database sharding. Then it introduces portal administration which doesn’t only allow users with permissions to manage users, organizations, user groups, and roles; but also does it show portal settings information, password policies, and monitors users’ activities. It also addresses how to build clustering environment, how to backup data and to migrate data, and how to speed up the portal. In addition, it discusses full integration with Alfresco by web services, RESTful services like OpenSearch, and moreover, CMIS. Furthermore, it introduces full integration of LDAP, SSO CAS, Liferay and Alfresco. Finally, it discusses Ad server OpenX integration.

Approach

This book is a practical guide with a very user-friendly approach. The author has taken a virtual enterprise as an example and has used the features of Liferay to build a corporate intranet for that enterprise.

Who this book is for

This book is for beginners to Liferay and "Do-It-Yourselfers" who want to develop a simple but powerful corporate Intranet. The book assumes technical confidence but does not require specialist administrator or developer skills.

Acknowledgements

I would like to thank team members at Liferay, especially thanks to Raymond Auge, Brian Chan, Bryan Cheung, Jorge Ferrer, Michael Young, Jerry Niu, Ed Shin, Craig Kaneko, Brian Kim, Bruno Farache, Thiago Moreira, Amos Fong, Scott Lee, David Truong, Alexander Chow, Mika Koivisto, Julio Camarero, Douglas Wong, Ryan Park, Eric Min, John Langkusch, Marco Abamonga, Ryan Park, Eric Min, John Langkusch, Marco Abamonga, Michael Han, Samuel Kong, Nate Cavanaugh, Arcko Duan, Richard Sezov, Joshua Asbury, Shuyang Zhou of Liferay for providing the valuable information and all the support. Thanks to friends in Liferay community for providing comments and suggestions.

Appendix

In addition, two chapters, which are part of this book originally, are not included in this book due to count of pages:

  • Chapter 9 Shared Calendars, WSRP, Business Rules and Workflow (56 pages)
  • Chapter 11 Help Desk, e-Commerce, Social Networking and Knowledge Base (68 pages)

I will post these two chapters as blogs entiries or wiki pages shortly.

Threaded Replies Author Date
Hi Jonas That's great news. Will a pdf... Hennie de Villiers April 19, 2010 12:27 PM
Hi Hennie, thank you. A PDF download would be... Jonas Yuan April 19, 2010 8:57 PM
Excellent!!! I'm looking forward for it to be... Jaime Israel Ramírez Hernández April 22, 2010 8:04 PM
HI Jaime, thank you. The book was uploaded... Jonas Yuan April 23, 2010 9:00 AM
Sir, Thank you for writing this book :). Thats... Bavithra Rajendran April 25, 2010 10:42 PM
Hi all, please would you tell me when and where... Roberto Javier Aguirre April 30, 2010 11:52 AM
Hi Roberto, thanks. This book is in the stage... Jonas Yuan April 30, 2010 12:09 PM
The publication date of the book: Liferay... Jonas Yuan May 5, 2010 6:47 AM
Hi Jonas, so maybe the next week it will be... Roberto Javier Aguirre May 6, 2010 10:31 AM
Hi Roberto, thanks. The book has been... Jonas Yuan May 7, 2010 7:52 AM
Manu Anonymous May 27, 2010 10:02 AM
Thanks a lot Jonas,Can i get anything related... Anil Sunkari June 9, 2010 4:17 AM
Hi Anil, thanks. you can find the links of book... Jonas Yuan June 9, 2010 7:17 AM
thanks Jonas, where can i get links regarding... Anil Sunkari June 9, 2010 10:05 PM
Hi Anil, you can find links in above blogs... Jonas Yuan June 10, 2010 3:28 PM
Hi, I see in the book that you now provide the... Pablo M Mino June 16, 2010 7:52 AM
Hi Pablo, thanks. As you can see, Alfresco,... Jonas Yuan June 18, 2010 3:51 PM
Hi Jonas, I am going to develop a portlet with... Sven Steudter June 30, 2010 7:24 AM
Hi Sven, thanks. I do have a plan to post... Jonas Yuan July 1, 2010 10:22 AM
Hi Jonas, a few weeks ago I was asked by Packt... Milen Dyankov July 4, 2010 2:48 AM
Hi Milen, Thanks. Good points: "how Liferay... Jonas Yuan July 8, 2010 6:34 AM
Hi Jonas, I two questions about the MySQL... Martin Drescher January 31, 2011 2:57 AM
Hi Martin, thanks for your comments. Jonas Yuan January 31, 2011 1:12 PM

Hi Jonas

That's great news. Will a pdf download also be made available?
Posted on 4/19/10 12:27 PM.
Hi Hennie, thank you. A PDF download would be made available in two weeks.

By the way, final title on the cover image would be updated as "Liferay Portal 6 Enterprise Intranets".
Posted on 4/19/10 8:57 PM in reply to Hennie de Villiers.
Excellent!!! I'm looking forward for it to be released emoticon... and to start studying XD

By the way... does the version 6 of the portal has already release date?

Thanks!!!
Posted on 4/22/10 8:04 PM in reply to Jonas Yuan.
HI Jaime, thank you. The book was uploaded today. It would be available (for both hard copy and PDF download) in a week.

You can download Liferay 6.0.1 RC at
http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.0.1/

Liferay portal 6:
6.0 EE - expected in August, 2010
6.0 GA - expected in May, 2010
6.0 RC - 4/21/2010
6.0 Preview - 3/4/2010
Posted on 4/23/10 9:00 AM in reply to Jaime Israel Ramírez Hernández.
Sir, Thank you for writing this book emoticon. Thats a great news emoticon.A pdf download to be made available adds much more excitement and eagerly waiting to download and read emoticon
Posted on 4/25/10 10:42 PM.
Hi all, please would you tell me when and where (link page) can i buy and download a pdf copy of the book.
Posted on 4/30/10 11:52 AM.
Hi Roberto, thanks. This book is in the stage of print now. It would be ready shortly at https://www.packtpub.com/liferay-portal-6-enterprise-intranets/book or https://www.packtpub.com/authors/profiles/jonas-x-yuan
Posted on 4/30/10 12:09 PM in reply to Roberto Javier Aguirre.
The publication date of the book: Liferay Portal 6 Enterprise Intranets

Actually, publisher Packt uploaded 4 titles on the 23rd of April and 2 of them were published on the 29th of April. Editors could not get printers, Lightning Source, to publish the remaining 2 titles by the 30th of April, and they slipped to the month of May—Liferay was one of these titles.

Now the book has already been uploaded on Packt printer's website and will be published in a few days.
Posted on 5/5/10 6:47 AM in reply to Jonas Yuan.
Hi Jonas, so maybe the next week it will be available on the Web Site Packt ???
Posted on 5/6/10 10:31 AM in reply to Jonas Yuan.
Hi Roberto, thanks.

The book has been published, finally.

The book is available at

https://www.packtpub.com/liferay-portal-6-enterprise-intranets/book

Table of Contents:
http://www.packtpub.com/toc/liferay-portal-6-enterprise-intranets-table­-contents
Posted on 5/7/10 7:52 AM in reply to Roberto Javier Aguirre.
Posted on 5/27/10 10:02 AM.
Thanks a lot Jonas,Can i get anything related to address book feature in this version.....Thanks in Advance
Posted on 6/9/10 4:17 AM.
Hi Anil, thanks. you can find the links of book description, table of content, etc.
Posted on 6/9/10 7:17 AM in reply to Anil Kumar Sunkari.
thanks Jonas, where can i get links regarding all those??
Posted on 6/9/10 10:05 PM in reply to Jonas X. Yuan.
Hi Anil, you can find links in above blogs post, like: Sample chapter, Table of contents, Download the code.

Hope that it helps.
Posted on 6/10/10 3:28 PM in reply to Anil Kumar Sunkari.
Hi, I see in the book that you now provide the explanation for the authentication configuration on alfresco for CAS that was missing on wiki all this time

I was wondering that now that Alfresco is encouraging users to stick to its authentication chain and use of modules, which is a better approach? What you think of chaining?
Posted on 6/16/10 7:52 AM.
Hi Pablo, thanks. As you can see, Alfresco, CAS, and Liferay support LDAP chaining. In my option, we could use LDAP chaining for both CAS and Alfresco.

Authentication chain in Lafresco, CAS and Liferay is configurable. It is easy-to-use. Thus you can integrate CAS, Alfresco and Liferay seamlessly.

Hope that it helps.
Posted on 6/18/10 3:51 PM in reply to Pablo M Mino.
Hi Jonas,

I am going to develop a portlet with social networking features for Liferay. So I am interested Chapter 11. Are you still planing to publish the Chapter?
Posted on 6/30/10 7:24 AM.
Hi Sven, thanks. I do have a plan to post chapter 11 and chapter 9 as blogs entries and wiki pages. Hope that I would be able to do it as early as possible.
Posted on 7/1/10 10:22 AM in reply to Sven Steudter.
Hi Jonas,
a few weeks ago I was asked by Packt publishing to review the Liferay Portal 6 Enterprise Intranets book. In case you are interested the review can be found here http://milen.commsen.com/2010/07/liferay-portal-6-enterprise-intranets-review.ht­ml
Posted on 7/4/10 2:48 AM.
Hi Milen, Thanks. Good points:

"how Liferay internal mechanisms work"
"what some of those strange configuration parameters are used for"
"how to tweak portlets' functionality and performance"
etc.

I should cover above topics in coming new Liferay book.
Posted on 7/8/10 6:34 AM in reply to Milen Dyankov.
Hi Jonas,

I two questions about the MySQL setup in chapter 2, page 25.
1. You explained how to add a liferay user to the MySQL DBI using the GRANT-Syntax with 'GRANT OPTION'. The 'GRANT' privilege gives that user the right to alter the privileges for any other user for the designated database. This may not be harmful in a development environment. But unless there is no real to do so, this privilege is far to open in most other cases.
2. The second statement with the 'localhost.localdomain' host name should be obsolete in any case because 127.0.0.1 should expand to 'localhost' in the first. Don't know if the may be some Windows issue with that.

One last remark: MySQL knows on option 'skip-name-resolve' which should be enabled in a well secured production environment. Therefor it is a good idea to use IP addresses as the host entry.

So far, Martin
Posted on 1/31/11 2:57 AM.
Hi Martin, thanks for your comments.
Posted on 1/31/11 1:12 PM in reply to Martin Drescher.