Book Image

Liferay Beginner's Guide

Book Image

Liferay Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
PayPal Test Account Configuration
Index

Time for action –migrating static content from an existing site using the web content portlet


We use the source code mode of the WYSIWYG editor to accomplish this:

  1. Open your previous site with a browser.

  2. In the menu bar, click on View | Source, you will see the HTML markup of the page.

  3. Find and copy that part of the content that you want to migrate to Liferay Portal (some sample HTML mark-up follows):

    <h1 class="section-heading"> Announcements & Alerts </h1> 
    <h2> West Coast Symposium - September 2011</h2> 
    <p> Liferay's third annual <a href="http://liferay.com/wcs2011">West Coast Symposium</a> will be held in <strong>Anaheim, California on September 21-22, 2011</strong>. The Symposium is a great opportunity for learning, knowledge sharing, and networking. <a href="http://liferay.com/wcs2011">Registrations are now open</a>!</p> 
  4. Go to Control Panel | Web Content | Add Web Content.

  5. In the Name field, enter MIGRATED-CONTENT...