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
<!DOCTYPE html> | |
#parse ($init) | |
<html class="#language ("lang.dir")" dir="#language ("lang.dir")" lang="$w3c_language_id"> | |
<head> | |
<title>$the_title - $company_name</title> | |
<meta content="minimum-scale=1.0, width=device-width" name="viewport" /> |
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
AUI.add( | |
'osb-height-equalizer', | |
function(A) { | |
var OSBHeightEqualizer = A.Component.create( | |
{ | |
ATTRS: { | |
container: { | |
value: '.equal-height-container' | |
}, |
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 ($portlet_bean_locator = $portal.getClass().forName('com.liferay.portal.kernel.bean.PortletBeanLocatorUtil')) | |
#set ($hs_contact_local_service = $portlet_bean_locator.locate("hubspot-portlet", "com.liferay.hubspot.service.HSContactLocalService.velocity")) | |
#set ($hsutk = "$request.attributes.OSB_HUBSPOT_UTK") | |
#set ($hs_contact = $hs_contact_local_service.fetchHSContactByUserToken($hsutk)) | |
#set ($hs_contact_object = $hs_contact.getHSContactJSONObject().getJSONObject("properties")) | |
#set ($hs_form_local_service = $portlet_bean_locator.locate("hubspot-portlet", "com.liferay.hubspot.service.HSFormLocalService.velocity")) |
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
var toggleAction = function (event) { | |
body.toggleClass('nav-show'); | |
html.toggleClass('no-scroll'); | |
navContent.all('ul ul .selected').each( | |
function (e) { | |
e.ancestor('ul').removeClass('aui-helper-hidden'); | |
e.ancestor('.selected').one('.has-child-marker').addClass('child-show'); | |
} |
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") |
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
#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) | |
#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
<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
====================== | |
New Page Structure | |
====================== | |
Top Nav: | |
Developers | |
Developer Community | |
Marketplace | |
Search | |
Login |