Portlets are the main application platform, and themes let you style your sites. You can also modify existing behavior, globally and in the installed applications, as well as specify your own look and feel.

The Customizing tutorials below show you how to affect your site in the following ways:

  • Add, modify, or remove content
  • Modify behavior
  • Perform actions that respond to events

Customizing JSPs

There are several different ways to customize JSPs in portlets and the core. Liferay Portal’s API provides the safest ways to customize them. If you customize a JSP by other means, new versions of...

קרא עוד

Overriding Liferay Services (Service Wrappers)

Why might you need to customize Liferay services? Perhaps you’ve added a new field to Liferay’s User object and you want its value to be saved whenever the addUser or updateUser methods of...

קרא עוד

Overriding OSGi Services

Components register as services with the OSGi service registry. A service component’s availability, ranking, and attributes determine whether components referring to the service type bind to that...

קרא עוד

Overriding Language Keys

Core and portlet module Language*.properties files implement site internationalization. They’re fully customizable, too. These tutorials demonstrate this in the following topics: Overriding...

קרא עוד

Overriding MVC Commands

MVC Commands are used to break up the controller layer of Liferay MVC applications into smaller, more digestible code chunks. Sometimes you’ll want to override an MVC command, whether it’s in a...

קרא עוד

Overriding Liferay Portal’s Default YUI and AUI Modules

Liferay Portal contains several default YUI/AUI modules. You may need to override functionality provided by these module’s scripts. To do this, you must create a custom AUI module containing three...

קרא עוד

Overriding lpkg files

Applications are delivered through Liferay Marketplace as lpkg files. This is a simple compressed file format that contains .jar files for deploying to Liferay Portal. If you want to examine an...

קרא עוד

Creating Model Listeners

Model Listeners implement the ModelListener interface. They are used to listen for persistence events on models and do something in response (either before or after the event). Model listeners are...

קרא עוד

Dynamic Includes

Dynamic includes expose extension points in JSPs for injecting additional HTML, adding resources, modifying editors, and more. Several dynamic includes are available. Once you know the dynamic...

קרא עוד
0 (0 הצבעות)
Creating Layouts inside Custom Portlets קודם