/o//commerce-media/accounts/-1/images/18481330?download=true

journal-content-friendly-url-fix-hook
Icon
DXP App
18480679
When we use Asset publisher to list all the web contents but expect web content to be opened in a different page in a specific portlet, Liferay uses the friendly url of that web content to navigate to other page and show that in Asset publisher.

A problem exists if we use special characters in title of web content, it creates some problem. Problem is that, Liferay replaces most of the special characters while generating unique url for the web content but fails to recognize all. That leads to existence of special characters in title and Liferay fails to show that web content in specific portlet.

This code replaces the special characters from existing title and updates article. This hook must be present before we create a web content.
DEVELOPER
Ravi Kumar Gupta
DEVELOPER
11/24/14 12:00 AM
Published date
November 24, 2014
Published Date
11/24/14 12:00 AM
SUPPORTED OFFERINGS
Self-Hosted, Self-Managed
Supported Versions
6.1
Resource Requirements
Edition
EE
PRICE
Free
help & support
Terms & Conditions
SHARE LINK
Copy & Share Link

HTML Example

A paragraph is a self-contained unit of a discourse in writing dealing with a particular point or idea. Paragraphs are usually an expected part of formal writing, used to organize longer prose.