/o//commerce-media/accounts/-1/images/18648322?download=true
Dockbar Integration
DXP App
The application adds a new custom permission called VIEW_DOCKBAR inside
the "General Permissions" section of the role configuration
(except for Guest role).
With this new custom permission, frontend developers can leverage the Liferay permission system to show/hide the portal dockbar inside a custom theme.
Here's how to initialize a Freemarker variable inside the init_custom.ftl file of a custom theme:
<#assign viewDockbar = permissionChecker.hasPermission(themeDisplay.scopeGroupId, "90", "90", "VIEW_DOCKBAR") />
And here's how to use the Freemarker variable:
<#if viewDockbar>
<@liferay.control_menu />
</#if>
On Liferay 7.4+ you need to add this property to your portal-ext.properties file in order to make it working:
resource.actions.strict.mode.enabled=false
With this new custom permission, frontend developers can leverage the Liferay permission system to show/hide the portal dockbar inside a custom theme.
Here's how to initialize a Freemarker variable inside the init_custom.ftl file of a custom theme:
<#assign viewDockbar = permissionChecker.hasPermission(themeDisplay.scopeGroupId, "90", "90", "VIEW_DOCKBAR") />
And here's how to use the Freemarker variable:
<#if viewDockbar>
<@liferay.control_menu />
</#if>
On Liferay 7.4+ you need to add this property to your portal-ext.properties file in order to make it working:
resource.actions.strict.mode.enabled=false
DEVELOPER
D'vel Snc
DEVELOPER
10.06.21 00:00
Published date
Fehler bei der Verarbeitung der Vorlage.
The string doesn't match the expected date/time/date-time format. The string to parse was: "10.06.21 00:00". The expected format was: "MM/dd/yy HH:mm". The nested reason given follows: Unparseable date: "10.06.21 00:00" ---- FTL stack trace ("~" means nesting-related): - Failed at: ${CPDefinition_displayDate.getData()?... [in template "3192443#3192485#null" at line 4, column 9] ----
1<#setting date_format="MMMMM d, yyyy">
2
3<#if (CPDefinition_displayDate.getData())??>
4 ${CPDefinition_displayDate.getData()?datetime("MM/dd/yy HH:mm")?date}
5</#if>
Published Date
10.06.21 00:00
SUPPORTED OFFERINGS
Self-Hosted, Self-Managed
Supported Versions
7.4, 7.3, 7.2, 7.1
Resource Requirements
Edition
CE, EE
PRICE
Free
help & support
Terms & Conditions
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.