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="true" 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
| <style> | |
| .instagram-carousel-wrapper { | |
| text-align: center; | |
| } | |
| .instagram-carousel-wrapper .carousel { | |
| display: inline-block; | |
| margin: 10px; | |
| } |
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 |
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
| ====================== | |
| New Page Structure | |
| ====================== | |
| Top Nav: | |
| Developers | |
| Developer Community | |
| Marketplace | |
| Search | |
| Login |
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
| <style> | |
| .report { | |
| background: #FFF; | |
| border: 1px solid #091c36; | |
| } | |
| .report-item { | |
| margin: 10px 0; | |
| } |
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 ($render_default = true) | |
| #if ($target_user && ($target_user.getData() != "")) | |
| #parse("$journalTemplatesPath/43631786") | |
| #foreach ($targets in $target_user.siblings) | |
| #set ($article_id = $targets.article_id.data) | |
| #foreach ($target in $stringUtil.split($targets.data)) | |
| #set ($portlet_embedded = false) |
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 ($namespace = $request.portlet-namespace) | |
| #set ($userLocalService = $serviceLocator.findService("com.liferay.portal.service.UserLocalService")) | |
| #set ($user = $userLocalService.getUser($getterUtil.getLong($request.theme-display.user-id))) | |
| #set ($userCompany = $user.getExpandoBridge().getAttribute("osbCompany")) | |
| <p>$description_text.getData()</p> | |
| #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
| #set ($render_default = true) | |
| #set ($content_targeting_logic_article_id = "XXXXXXXX") | |
| #if ($target_user && ($target_user.getData() != "")) | |
| ## Parse targeting logic to see if targeted content should be served | |
| #parse("${journalTemplatesPath}/${content_targeting_logic_article_id}") | |
| ## If user qualifies as target, then embed another article instead of the current one. | |
| #foreach ($targets in $target_user.siblings) | |
| #set ($article_id = $targets.article_id.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
| ## Get Country from Locale | |
| #set ($country_from_locale = "") | |
| #if ($locale == "de_DE") | |
| #set ($country_from_locale = "germany") | |
| #elseif ($locale == "en_GB") | |
| #set ($country_from_locale = "united-kingdom") | |
| #elseif ($locale == "es_ES") | |
| #set ($country_from_locale = "spain") |