You are previewing Liferay 6.x Portal Enterprise Intranets Cookbook.
O'Reilly logo
Liferay 6.x Portal Enterprise Intranets Cookbook

Book Description

Over 60 hands-on recipes to help you efficiently create complex and highly personalized enterprise intranet solutions with Liferay Portal 6.x CE

In Detail

Packed with easy-to-follow recipes, this practical guide will show you how to unleash the full power of the Liferay Portal. Starting with performing a basic installation and running Liferay, the book will take you all the way through to building intranet structures, managing users, setting permissions, defining workflows, and creating sites that will act as the main communication tool for employees in your company. Furthermore, many recipes will show ready-to-use solutions from real-world case studies. At the end of the book, we will show you how to optimize Liferay's performance and how to use its advanced built-in tools.

After reading this book you will be ready to install, run, and use Liferay as a powerful intranet solution.

What You Will Learn

  • Build a corporate knowledge base for all employees in your organization

  • Configure site and page templates for departments in your company

  • Design and implement roles and permissions to fit your organization

  • Define efficient business processes using XML representation

  • Integrate with LDAP, CAS SSO, and Solr search engine

  • Improve your portal with caching, clustering, indexing, searching, and more

  • Use effective taxonomy and folksonomy to organize documents and articles

  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. Liferay 6.x Portal Enterprise Intranets Cookbook
      1. Table of Contents
      2. Liferay 6.x Portal Enterprise Intranets Cookbook
      3. Credits
      4. About the Authors
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Sections
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        5. Conventions
        6. Reader feedback
        7. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Installation and Basic Configuration
        1. Introduction
        2. Quick running Liferay on a Tomcat bundle
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. Loading the configuration descriptor
            2. Loading system properties and portal properties
            3. Detecting the database and database dialect
            4. Starting the autodeploy scanner and deploying plugins
          4. There's more...
          5. See also
        3. The Liferay setup wizard and first login
          1. How to do it…
          2. How it works…
          3. There's more…
          4. See also
        4. Setting up the developer's environment
          1. Getting ready
          2. How to do it...
            1. Import sources to the Eclipse IDE
            2. Override app.server.properties
            3. Compile and deploy
          3. How it works
            1. Clean process
            2. Start process
            3. Deploy process
          4. There's more...
        5. Creating a custom portlet
          1. Getting ready
          2. How to do it…
            1. Generating a new portlet
            2. Compiling the portlet and deploying it
            3. Importing the portlet to the Eclipse IDE
          3. How it works…
          4. See also
      9. 2. Authentication and Registration Process
        1. Introduction
        2. Changing the default authentication settings
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        3. Setting up e-mail notifications
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        4. Customizing the registration form
          1. How to do it…
          2. How it works…
          3. There's more…
          4. See also
        5. Overriding the default login page with the administrator defined page
          1. How to do it…
          2. How it works…
          3. See also
        6. Setting up a password policy
          1. How to do it…
          2. How it works…
        7. Integration with CAS SSO
          1. How to do it…
            1. Installing the CAS system
            2. Configuring the HTTPS connection
            3. Setting the CAS server
            4. Configuring Liferay Portal
          2. How it works…
          3. See also
        8. CAS and the Liferay user's database
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        9. Liferay and the LDAP integration
          1. Getting ready
          2. How to do it…
          3. How it works…
        10. The magic trio: Liferay, CAS, and LDAP
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
      10. 3. Working with a Liferay User / User Group / Organization
        1. Introduction
        2. Managing an organization structure
          1. How to do it…
          2. How it works…
            1. Creating an organization
            2. Setting attributes
            3. Customizing an organization functionalities
          3. There's more…
          4. See also
        3. Creating a new user group
          1. How to do it…
          2. How it works…
          3. There's more…
          4. See also
        4. Adding a new user
          1. How to do it…
          2. How it works…
            1. User as a member of organizations, user groups, and sites
            2. User attributes
            3. User site
            4. Customizing users
          3. There's more…
          4. See also
        5. Assigning users to organizations
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        6. Assigning users to a user group
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        7. Exporting users
          1. How to do it…
          2. How it works…
          3. See also
      11. 4. Liferay Site Configuration
        1. Introduction
        2. Creating an organization and a standalone site
          1. How to do it…
          2. How it works…
            1. Active and inactive sites
            2. Public and private pages and their membership type
            3. Creating an empty site versus creating a site using site templates
            4. Technical view
          3. There's more…
          4. See also
        3. Site configuration
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        4. Creating and customizing private and public pages for the site
          1. Getting ready
          2. How to do it…
          3. How it works…
            1. Page parameters
            2. Whole-tree parameters
            3. Technical view
          4. There's more…
        5. Using page templates and site templates for quick site and page creation
          1. How to do it…
          2. How it works…
            1. Propagation of changes
            2. Technical view
          3. See also
        6. Enabling local live staging
          1. How to do it…
          2. How it works…
          3. See also
        7. Enabling remote live staging
          1. How to do it…
          2. How it works…
        8. Enabling page versioning
          1. How to do it…
          2. How it works…
          3. See also
      12. 5. Roles and Permissions
        1. Introduction
        2. Creating and configuring roles
          1. How to do it…
          2. How it works…
            1. Role parameters
            2. Control Panel, Site Administration, and My Account permissions
          3. There's more…
          4. See also
        3. Assigning user roles
          1. How to do it…
          2. How it works…
          3. See also
        4. Creating a role-dependent portlet
          1. Getting ready…
          2. How to do it…
          3. How it works…
          4. See also
        5. Checking permissions in a custom portlet
          1. Getting ready…
          2. How to do it…
          3. How it works…
          4. See also
      13. 6. Documents and Media in Liferay
        1. Introduction
        2. Managing files in Liferay using the Documents and Media portlet
          1. How to do it…
            1. Creating a new folder
            2. Editing a folder
            3. Adding a new document
            4. Uploading multiple documents
            5. Editing documents
            6. Removing folders and documents
          2. How it works…
            1. Types of documents
            2. Permissions
            3. Categories and tags
            4. Related assets
            5. Additional information
          3. There's more…
          4. See also
        3. Managing document types and metadata sets
          1. How to do it…
            1. Creating a new document type using metadata sets
            2. Defining metadata sets
          2. How it works…
          3. See also
        4. Integration with the Amazon S3 cloud
          1. How to do it…
          2. How it works…
          3. There's more…
          4. See also
        5. Data migration between storage hooks
          1. How to do it…
          2. How it works…
          3. See also
      14. 7. Working with Content
        1. Introduction
        2. Managing and displaying web contents
          1. How to do it…
            1. Creating a new folder
            2. Editing a folder
            3. Creating a new web content
            4. Displaying web content in the Web Content Display portlet
            5. Editing web content
            6. Adding translation to an existing web content
            7. Expiring web content
            8. Removing folders and web content
          2. How it works…
            1. Permissions
              1. Categorization
              2. Related assets
              3. Placing web content on a page
              4. Display page
          3. See also
        3. Creating a new structure
          1. How to do it…
          2. How it works…
          3. There is more…
        4. Creating a new template
          1. Getting ready…
          2. How to do it…
          3. How it works…
            1. Variables
            2. Fields
            3. Utils
            4. Reserved variables
      15. 8. Search and Content Presentation Tools
        1. Introduction
        2. Tagging and categorizing content
          1. How to do it…
          2. How it works…
            1. Categories
            2. Tags
          3. See also
        3. Asset Publisher as a search-based tool for content presentation
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        4. Defining application display templates for Asset Publisher
          1. How to do it…
          2. How it works…
          3. See also
        5. Search portlet – basic configuration
          1. Getting ready…
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        6. Solr installation and configuration
          1. How to do it…
          2. How it works…
      16. 9. Liferay Workflow Capability
        1. Introduction
        2. The Kaleo Web Installation
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
        3. The Single Approver workflow for the user creation process
          1. How to do it…
          2. How it works…
            1. State
            2. Task
            3. Notification
            4. Action
        4. The web content creation and the fork-join workflow
          1. How to do it…
          2. How it works…
            1. The fork element
            2. The join element
          3. There's more…
            1. Join-xor element
          4. See also
        5. Kaleo conditions in a message board example
          1. How to do it…
          2. How it works…
            1. Condition statement
        6. Kaleo timers
          1. How to do it…
          2. How it works…
      17. 10. Collaboration Tools
        1. Introduction
        2. Setting up a blog for the intranet
          1. How to do it…
          2. How it works…
          3. See also
        3. Setting up a wiki portlet
          1. How to do it…
          2. How it works…
          3. See also
        4. Setting up a forum for an intranet
          1. How to do it…
          2. How it works…
          3. See also
        5. Banning a user for an inappropriate post
          1. How to do it…
          2. How it works…
          3. See also
        6. Setting up the calendar as a personal tasks management tool
          1. How to do it…
          2. How it works…
        7. Using bookmarks as good container to store favorite links
          1. How to do it…
          2. How it works…
          3. See also
        8. Tracking social activities of site members
          1. How to do it…
          2. How it works…
          3. There's more
        9. Using the announcements portlet for group messaging
          1. How to do it…
          2. How it works…
            1. Announcement management
            2. Portlet configuration
      18. 11. Quick Tricks and Advanced Knowledge
        1. Introduction
        2. The language properties hook
          1. How to do it…
          2. How it works…
          3. There's more…
          4. See also
        3. Setting up the portal session time and session policy
          1. How to do it…
          2. How it works…
        4. Configuring Liferay with the SMTP server
          1. How to do it…
          2. How it works…
        5. Intranet protection by the antisamy-hook plugin
          1. How to do it…
          2. How it works…
        6. Migrating content from one database to another database
          1. Getting ready…
          2. How to do it…
          3. How it works…
          4. See also
        7. Using Liferay Service Bus for communication between portlets
          1. How to do it…
          2. How it works…
          3. There's more...
          4. See also
        8. Clustering Liferay Portal
          1. Getting ready…
          2. How to do it…
            1. Check database configuration
            2. Documents and media clustering
            3. Search engine
            4. Cache replication
              1. Multicast
              2. Unicast
          3. How it works…
          4. See also
      19. 12. Basic Performance Tuning
        1. Introduction
        2. Scalable infrastructure
          1. How to do it…
            1. Squid cache
            2. Apache web server and software load balancer
            3. Apache Tomcat Application Server
            4. Database server
            5. Solr search engine server
          2. See also
        3. Setting up database access for the master/slave configuration
          1. Getting ready…
          2. How to do it…
          3. How it works…
          4. There's more…
        4. Enabling JS and CSS minification
          1. How to do it…
          2. How it works…
        5. Turning on the CDN host
          1. Getting ready…
          2. How to do it…
          3. How it works...
        6. Disabling unused Liferay features
          1. How to do it…
          2. How it works…
        7. JVM tuning
          1. How to do it…
          2. How it works…
      20. Index