Free Sample
+ Collection

Liferay Beginner’s Guide

Beginner's Guide
Robert Chen, Sandeep Nair, Samir Bhatt, Mahipalsinh Rana, Gaurav Barot

Quick and easy techniques to build, deploy, and maintain your own Liferay portal with this book and ebook
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849517003
Paperback396 pages

About This Book

  • Detailed steps for installing Liferay portal and getting it running, for people with no prior experience of building portals
  • Follow the example of building a neighbourhood site with pre-installed portlets and custom portlets
  • Create your own communities, organizations and user groups, and learn how to add users to them

Who This Book Is For

All you need in order to benefit from the Liferay Beginner’s Guide is programming experience. No prior knowledge of Liferay is required, although experienced Liferay portal programmers who need to get up to speed with its latest features will also find this book useful.

Table of Contents

Chapter 1: Planning Your Portal
What is Liferay Portal?
Time for action – browsing sites based on Liferay Portal
Time for action – comparing Yahoo! and YouTube
Time for action – finding the source code of Liferay Portal
Liferay Portal architecture
Main Liferay Portal features
Time for action – watching Liferay Portal portlets in action
Preparation for Liferay Portal installation
Time for action – finding RAM information
Time for action – installing JDK
Time for action – installing MySQL database server
Time for action – installing OpenOffice
Time for action – starting OpenOffice service
Time for action – checking the OpenOffice service
Chapter 2: Installing a Liferay Portal Instance
Getting started
Liferay with Apache Tomcat
Time for action – deploying on Tomcat
Liferay with JBoss Application Server
Time for action – deploying on JBoss AS
Liferay with GlassFish
Time for action – deploying in GlassFish
Liferay with Oracle WebLogic
Time for action – configuring Weblogic
Configuring Oracle WebLogic
Deploying Liferay on WebLogic
Liferay on existing Tomcat
Time for action – deploying Liferay
Database configuration
Time for action – creating the database
Time for action – changing the file
Chapter 3: Understanding Portal Basics and Theming
Understanding a portal
Navigating Liferay
Time for action – signing in to Liferay Portal
Time for action – creating a new page and adding a portlet
Time for action – accessing a portal with a normal user account
Getting an overview of Liferay Portal Architecture
Basics of the Control Panel
Time for action – creating a new user
Changing Portal's look and feel with themes
Time for action – installing a new theme and applying it to the portal
Chapter 4: Tips and Tricks-Advanced Configuration
Renaming our portal
Time for action – changing our portal name
SSO with OpenID
Time for action – using OpenID for authentication
Ask users to accept terms before accessing Liferay
Time for action – enabling Terms of Use
Time for action – changing Terms of Use
E-mail notifications
Time for action – enable notification for account creation
Adding custom attributes for User
Time for action – giving the option to add a user's favorite sport
OpenOffice integration
Time for action – enabling OpenOffice integration
Changing the hostname
Time for action – changing our portal name
Mail server
Time for action – enabling the mail server
Chapter 5: Building your First Liferay Site
Designing the site – painting the full picture
Knowing the portal requirements
Organizing users in an organization and a community
Time for action – creating organization for CIGNEX Neighborhood
Time for action – understanding actions associated with the organization
Time for action – creating a community for CIGNEX Neighborhood
Time for action – understanding actions associated with the community
User groups—arbitrary collection of users
Time for action – adding a user group to CIGNEX Neighborhood
Time for action – understanding the actions associated with the group
Time for action – creating a page template for the Bowlers user group
Chapter 6: Managing Pages, Users, and Permissions
Creating pages for the Neighborhood site
Time for action – creating pages for Neighborhood communities
Time for action – providing a HTML title and friendly URL for a page
Exploring the User section
Time for action – creating a user and assigning an administrator role
Time for action – modifying user details
Time for action – assigning a user to communities and organizations
Disabling the option to register for the site for guest users
Time for action – disabling the Register option for a guest user
Exploring role/permission management in Liferay
Time for action – creating a role to manage pages
Time for action – assigning community/organization Administrator role
Time for action – defining permissions for a bookmark entry
Chapter 7: Creating and Publishing Content
Content management preview
Uploading images
Time for action – uploading an image file
Creating web content
Time for action –adding content to the welcome page
Time for action – creating a structure
Time for action – creating a template
Time for action – creating template-based content
Time for action –migrating static content from an existing site using the web content portlet
Displaying web content
Time for action – adding content to the Welcome page
Time for action – selling houses online
Time for action – populating the registration page
Uploading documents
Time for action – uploading a video file
Time for action – uploading a PDF file
Showing a PDF file link in web content
Time for action – embedding a link for a PDF file
Enabling comments for web content
Time for action – enabling comments for content
Disclosing decrypted Congress documents
Time for action – displaying documents
Managing content
Time for action – using the web content list portlet
Time for action – adding the asset publisher portlet
Converting web content to formatted files
Time for action – adding a file conversion feature
Chapter 8: Exploring Communities
Setting up an online game using Flash Portlet
Time for action – setting up an online game using Flash Portlet
Adding Web Content Display to announce a cricket match
Time for action – announcing a cricket match
Using Video Portlet to share Neighborhood videos
Time for action – sharing Neighborhood videos
Sharing Neighborhood photos using Image Gallery
Time for action – sharing Neighborhood photos
Exploring chat functionality to enable chat between Neighborhood members
Time for action – exploring chat functionality
Integrating Open Social Gadgets in Neighborhood site
Time for action – integrating Open Social Gadgets
Creating bookmark of useful links using Bookmark Portlet
Time for action – creating bookmarks of useful links
Conducting polls in the Neighborhood site using Polls Portlet
Time for action – creating bookmarks of useful links
Changing language of Neighborhood site using Language Portlet
Time for action – changing language using Language Portlet
Displaying breaking news as a carousel on the Neighborhood site
Time for action – displaying breaking news as a carousel
Defining a search on the Neighborhood site
Time for action – searching all content
Time for action – searching for Web Content
Chapter 9: Setting up an Online Shop
Getting started with online store setup
Online shop configuration
Time for action – configuring an online shop page
Time for action – configuring tax rate and currency
Time for action – configuring payment through PayPal
Time for action – installing a plugin to provide PayPal Sandbox environment support
Time for action – configuring the shipping cost
Time for action – configuring the insurance cost
Time for action – configuring the e-mail templates
Shopping items
Time for action – item category creation
Time for action – item creation
Shopping cart
Time for action – adding items to the shopping cart
Checkout process
Time for action – making a payment
Order management
Time for action – processing the order
Promotion offers
Time for action – promoting offers
Chapter 10: Liferay Server Administration
Getting started with server administration
Monitoring and managing server resources
Time for action – monitoring and controlling Liferay resources
Managing log levels
Time for action – configuring the log levels
Time for action – changing log levels permanently
Managing file upload size and types
Time for action – configuring document library file settings
Monitoring portal sessions
Time for action – monitoring live user sessions
Configuring multiple portals on the same Liferay server
Time for action – configuring another portal instance
Virtual hosting of communities and organizations
Time for action – virtual host configuration
Implementing the staging environment
Time for action – configuring staging environments
Time for action – scheduling publication of portal changes

What You Will Learn

  • Set up and run Liferay portal in an application server of your choice and configure with MySQL Database
  • Apply a theme to portal pages and change their layouts
  • Create communities, organizations and User groups
  • Add users, create portal pages and apply permissions
  • Create web content and publish content on portal pages
  • Build community pages using out of box and custom portlets
  • Set up social collaboration applications in the portal
  • Configure and run an online store

In Detail

Liferay portal is a leading horizontal portal product, written in Java. It has the power to provide the intranets and extranets of large corporations. Liferay will allow you to build your company’s portal quickly, efficiently, and in a custom way to suit the needs of your corporation.

Liferay Beginner’s Guide will show you how to set up your own site from scratch. Most books assume that you have knowledge of portals before working with Liferay and so include more theory than practice. However, only enthusiasm is required for reading this book as the step-by-step instructions, which follow the creation of a sample community site, will make it easy to install and configure Liferay, set up a Liferay portal instance, and use the out-of-the-box portlets of Liferay.

By following the logical flow of the chapters and the creation of the sample site, you will set up your Liferay site in several quick and easy stages. You will start by installing Liferay in your application server or servlet container of choice. You will learn how to customize the look and feel of the portal, change the URL of the site and create your own communities and organizations within the portal, then add users to them. By the end of the book, you will have a fully operational Liferay portal and the confidence to maintain and customize it to meet your needs.


Read More

Recommended for You