This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. Theme Id or Portlet Id references in portal-ext.properties
Table of Contents [-]
FQPI (Fully Qualified Portlet Id) #
When configuring plugin portlet references within the portal configurations, the portlet id used must be the Fully Qualified Portlet Id.
This takes the form of
portletId_WAR_webapplicationcontext
The webapplicationcontext
will have dashes, periods, and spaces stripped away. The portlet id may also require an instance id. The instance id can be made up, and is a 4 char alphanumeric string.
Examples:
- Referencing a non-instanceable portlet which is in the core: default.guest.public.layout.column-1=58
- Referencing an instanceable portlet which is in the core: default.guest.public.layout.column-1=58_INSTANCE_4gtH
- Referencing a non-instanceable portlet which is in EXT: default.guest.public.layout.column-1=my_ext_portlet_id
- Referencing an instanceable portlet which is in EXT: default.guest.public.layout.column-1=my_ext_portlet_id_INSTANCE_rgp6
- Referencing a non-instanceable portlet which is in a plugin, where the plugin WAR context path is /my_plugin-1.3.6: default.guest.public.layout.column-1=my_plugin_portlet_id_WAR_my_plugin136
- Referencing an instanceable portlet which is in a plugin, where the plugin WAR context path is /my_plugin-1.3.6: default.guest.public.layout.column-1=my_ext_portlet_id_INSTANCE_rgp6_WAR_my_plugin136
FQTI (Fully Qualified Theme Id) #
When configuring plugin theme references within the portal configurations, the theme id used must be the Fully Qualified Theme Id.
This takes the form of
themeId_WAR_webapplicationcontext
The webapplicationcontext
will have dashes, periods, and spaces stripped away.
Examples:
- Referencing a theme which is in the core: default.regular.theme.id=theme_id
- Referencing a theme which is in EXT: default.regular.theme.id=my_ext_theme_id
- Referencing a theme which is in a plugin, where the plugin WAR context path is /my_plugin-1.3.6: default.regular.theme.id=my_plugin_theme_id_WAR_my_plugin136
47038 Views