This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#assign layout_service = serviceLocator.findService("com.liferay.portal.service.LayoutLocalService") /> | |
<#assign theme_display = request["theme-display"] /> | |
<#assign plid = theme_display["plid"] /> | |
<#assign layout = layout_service.getLayout(plid?number) /> | |
<#if layoutPermission.contains(permissionChecker, layout, "UPDATE")> | |
<#assign journal_article_service = serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleService") /> | |
<#assign service_context = objectUtil("com.liferay.portal.service.ServiceContextThreadLocal").getServiceContext() /> | |
<#assign http_servlet_request = service_context.getRequest() /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#if request.lifecycle == "RENDER_PHASE"> | |
<#assign journal_content_util = staticUtil["com.liferay.portlet.journalcontent.util.JournalContentUtil"] /> | |
<div class="lego-article ${article_class.data}" id="article-${.vars['reserved-article-id'].data}"> | |
<#list section.siblings as cur_section> | |
<section class="block-container lego-section section-${cur_section_index + 1} ${cur_section.section_class.data}" ${cur_section.data}> | |
<#list cur_section.block.siblings as cur_block> | |
<div class="block block-${cur_block_index + 1} content-column lego-block w${cur_block.width.data} ${cur_block.block_class.data}" ${cur_block.data}> | |
<#list cur_block.element.siblings as cur_element> | |
<#assign cur_element_tag = cur_element.tag.data> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<root available-locales="en_US" default-locale="en_US"> | |
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="section" readOnly="false" repeatable="true" required="false" showLabel="true" type="text" width="large"> | |
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="block" readOnly="false" repeatable="true" required="false" showLabel="true" type="text" width="large"> | |
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="element" readOnly="false" repeatable="true" required="false" showLabel="true" type="text" width="large"> | |
<dynamic-element dataType="string" indexType="keyword" localizable="false" name="tag" readOnly="false" repeatable="false" required="false" showLabel="true" type="text" width="large"> | |
<meta-data locale="en_US"> | |
<entry name="label"> | |
<![CDATA[Tag]]> | |
</entry> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--?xml version="1.0"?--><root available-locales="ja_JP,it_IT,en_US,fr_FR,zh_CN,es_ES,de_DE" default-locale="en_US"> <dynamic-element index="0" index-type="keyword" name="section" type="text"> <dynamic-element index="0" index-type="keyword" name="block" type="text"> <dynamic-element index="0" index-type="keyword" name="element" type="text"> <dynamic-element index="0" index-type="keyword" name="tag" type="text"> <dynamic-content language-id="en_US"><!--[CDATA[h2]]--></dynamic-content> </dynamic-element> <dynamic-element index="0" index-type="keyword" name="content" type="text_box"> <dynamic-content language-id="en_US"><!--[CDATA[Take Care of Business]]--></dynamic-content> </dynamic-element> <dynamic-element index="0" index-type="keyword" name="element_class" type="text"> <dynamic-content language-id="en_US"><!--[CDATA[]]--></dynamic-content> </dynamic-element> <dynamic-content language-id="en_US"><!--[CDATA[]]--></dynamic-content> </dynamic-element> <dynamic-element index="1" index-type="keyword" name="eleme |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set ($layout_id = $request.get("theme-display").get("plid")) | |
#set ($layout_service = $serviceLocator.findService("com.liferay.portal.service.LayoutLocalService")) | |
#set ($layout = $layout_service.getLayout($getterUtil.getLong($layout_id))) | |
#set ($namespace = $request.portlet-namespace) | |
#set ($journal_article_local_service = $serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleLocalService")) | |
#set ($article = $journal_article_local_service.getArticle($groupId, $reserved-article-id.data)) | |
$article.toEscapedModel().getContent() | |
#if ($request.lifecycle == 'RENDER_PHASE') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--?xml version="1.0"?--> | |
<p> | |
<root available-locales="en_US" default-locale="en_US"> <dynamic-element index-type="" instance-id="DL2nRf0j" name="lego_section_attr" type="text"> <dynamic-element index-type="" instance-id="xGO2tmn5" name="lego_block_attr" type="text"> <dynamic-element index-type="" instance-id="GWybAAF3" name="lego_element_attr" type="text"> <dynamic-element index-type="" instance-id="187uDHpY" name="element_type" type="list"> <dynamic-content><!--[CDATA[p]]--></dynamic-content> </dynamic-element> <dynamic-element index-type="" instance-id="edy0BV36" name="element_content" type="text_box"> <dynamic-content><!--[CDATA[Which products are part of the Liferay Experience Platform?]]--></dynamic-content> </dynamic-element> <dynamic-element index-type="" instance-id="0TQUMo48" name="element_css_class" type="text"> <dynamic-content><!--[CDATA[text-left section-question]]--></dynamic-content> </dynamic-element> <dynamic-content><!--[CDATA[]]--></dynamic-content> </dynamic-element> <dynamic-element in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#assign journal_article_service = serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleService") /> | |
<#assign journal_content_util = staticUtil["com.liferay.portlet.journalcontent.util.JournalContentUtil"] /> | |
<#assign layout_service = serviceLocator.findService("com.liferay.portal.service.LayoutLocalService") /> | |
<#assign namespace = request["portlet-namespace"]> | |
<#assign theme_display = request['theme-display'] /> | |
<#assign plid = theme_display['plid'] /> | |
<#assign layout = layout_service.getLayout(plid?number) /> | |
<#if request.lifecycle == 'RENDER_PHASE'> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#assign aui = PortletJspTagLibs["/META-INF/aui.tld"] /> | |
<#assign liferay_ui = PortletJspTagLibs["/META-INF/liferay-ui.tld"] /> | |
<#setting number_format="computer"> | |
<@aui["fieldset"]> | |
<@aui["select"] name="persona"> | |
<@aui["option"] label="business-decision-maker" selected=(persona == "business-decision-maker") value="business-decision-maker" /> | |
<@aui["option"] label="business-end-user" selected=(persona == "business-end-user") value="business-end-user" /> | |
<@aui["option"] label="technical-decision-maker" selected=(persona == "technical-decision-maker") value="technical-decision-maker" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU Lesser General Public License as published by the Free | |
* Software Foundation; either version 2.1 of the License, or (at your option) | |
* any later version. | |
* | |
* This library is distributed in the hope that it will be useful, but WITHOUT | |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ga('create', 'UA-790163-17', 'auto', 'myTracker'); | |
ga.getByName('myTracker').get('name'); |