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. « Volver a Hook DTD
Hook DTD - 5.1
Get the original DTD at http://www.liferay.com/dtd/liferay-hook_5_1_0.dtd
<!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 5.1.0//EN" "http://www.liferay.com/dtd/liferay-hook_5_1_0.dtd">
<!ELEMENT hook (event*, model-listener*, portal-properties?, custom-jsp-dir?,service*)> <!ELEMENT event (event-class, event-type)> <!ELEMENT event-class (#PCDATA)> <!ELEMENT event-type (#PCDATA)> <!ELEMENT model-listener (model-listener-class, model-name)> <!ELEMENT model-listener-class (#PCDATA)> <!ELEMENT model-name (#PCDATA)> <!ELEMENT portal-properties (#PCDATA)> <!ELEMENT custom-jsp-dir (#PCDATA)> <!ELEMENT service (service-type, service-impl)> <!ELEMENT service-type (#PCDATA)> <!ELEMENT service-impl (#PCDATA)>
Not all portal properties can be overridden via a hook. The supported properties are:
- auth.forward.by.last.path
- application.startup.events
- auth.failure
- auth.max.failures
- auth.pipeline.post
- auth.pipeline.pre
- auto.login.hooks
- captcha.check.portal.create_account
- default.landing.page.path
- dl.hook.impl
- field.enable.com.liferay.portal.model.Contact.birthday
- field.enable.com.liferay.portal.model.Contact.male
- field.enable.com.liferay.portal.model.Organization.status
- javascript.fast.load
- layout.static.portlets.all
- layout.template.cache.enabled
- layout.user.private.layouts.auto.create
- layout.user.private.layouts.enabled
- layout.user.private.layouts.modifiable
- layout.user.public.layouts.auto.create
- layout.user.public.layouts.enabled
- layout.user.public.layouts.modifiable
- ldap.attrs.transformer.impl
- login.create.account.allow.custom.password
- login.events.post
- login.events.pre
- logout.events.post
- logout.events.pre
- mail.hook.impl
- my.places.show.community.private.sites.with.no.layouts
- my.places.show.community.public.sites.with.no.layouts
- my.places.show.organization.private.sites.with.no.layouts
- my.places.show.organization.public.sites.with.no.layouts
- my.places.show.user.private.sites.with.no.layouts
- my.places.show.user.public.sites.with.no.layouts
- passwords.passwordpolicytoolkit.generator
- passwords.passwordpolicytoolkit.static
- servlet.service.events.post
- servlet.service.events.pre
- session.phishing.protected.attributes
- terms.of.use.required
- theme.css.fast.load
- theme.images.fast.load
30657 Accesos