[F13] Servicio al cliente

#set ($layoutFriendlyURLLocalService = $serviceLocator.findService("com.liferay.portal.kernel.service.LayoutFriendlyURLLocalService")) #set ($layoutService = $serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")) #set ($literalTools = $serviceLocator.findService("com.vidacaixa.services.service", "com.vidacaixa.services.service.LiteralsToolsLocalService")) #set ($scopeGroupId = $scopeGroupId) #set ($locale = $locale) #set ($layoutId = $plid) #set ($layoutIdLong = $getterUtil.getLong($layoutId)) #set ($currentLayout = $layoutService.getLayout($layoutIdLong)) #set ($breadcrumbMap = []) #set ($breadcrumbMapSorted = []) #set ($siteURL = "") #set ($includeUrlPath = $currentLayout.getGroup().getExpandoBridge().getAttribute("incluir-path-url")) #if ($includeUrlPath) #set ($siteURL = "/web" + $currentLayout.getGroup().friendlyURL) #end #foreach($i in [0..100]) #if ($currentLayout.getParentLayoutId() gt 0) #set ($currentLayoutIdLong = $getterUtil.getLong($currentLayout.plid)) #set ($friendlyURL = $layoutFriendlyURLLocalService.getLayoutFriendlyURL($currentLayoutIdLong, $locale.toString()).friendlyURL) #set ($layoutName = $htmlUtil.escape($currentLayout.getName($locale))) #set ($layoutURL = $friendlyURL) #set($itemPair = [$layoutURL, $layoutName]) #set($itemPairInserted = $breadcrumbMap.add($itemPair)) #set ($parentLayout = $layoutService.getParentLayout($currentLayout)) #set ($currentLayout = $parentLayout) #else #set ($currentLayoutIdLong = $getterUtil.getLong($currentLayout.plid)) #set ($friendlyURL = $layoutFriendlyURLLocalService.getLayoutFriendlyURL($currentLayoutIdLong, $locale.toString()).friendlyURL) #set ($layoutName = $htmlUtil.escape($currentLayout.getName($locale))) #set ($layoutURL = $friendlyURL) #if ($layoutName ne "Menu principal" && $layoutName ne "Menu secundario") #set($itemPair = [$layoutURL, $layoutName]) #set($itemPairInserted = $breadcrumbMap.add($itemPair)) #end #break #end #end #set ($breadcrumbMapSize = $breadcrumbMap.size() - 1) #foreach( $j in [0..$breadcrumbMapSize] ) #set ($index = $breadcrumbMapSize - $j) #set ($item = $breadcrumbMap.get($index)) #set ($inserted = $breadcrumbMapSorted.add($item)) #end #if($generalTitle.getChild('addBottomMargin').getData().trim() == "NO") #set($margin = "quote") #else #set($margin = "") #end #if($generalTitle.getData() == "" && $generalTitle.getChild('description').getData() == "") #set($slider = "soloBreadcrumb") #else #set($slider = "") #end #if($generalTitle.getChild('color').getData() != "") #set($style = "style='background-color : $generalTitle.getChild('color').getData();'") #else #set($style = "") #end #if(!$generalTitle.getSiblings().isEmpty())
#if($generalTitle.getChild('breadcrumbVisible').getData().trim() == "SI") #end #if($generalTitle.getData() != "")

$generalTitle.getData()

#end #if($generalTitle.getChild('description').getData() != "")

$generalTitle.getChild('description').getData()

#end
#end

[F25] Servicio al cliente

#if (!$generalTitle.getSiblings().isEmpty()) #if ($margin.getData().trim() == "SI") #set ($bottom = "") #else #set ($bottom = "nobottom") #end
#foreach ($curelem in $generalTitle.getSiblings()) #if ($curelem.getChild('horizontalDistribution').getData().trim() == "SI")

$curelem.getData()

$curelem.getChild('generalSummary').getData()

#else

$curelem.getData()

$curelem.getChild('generalSummary').getData()

#end #end
#end

[F26] Servicio cliente - Contacto

#foreach ($cur_summary in $summary.getSiblings())
#if($velocityCount == 1)

$generalTitle.getData()

#end

$cur_summary.getData()

#set ($contactTitle = $cur_summary.getChild('title_contact')) #if($contactTitle.getChild('tooltipcontact').getData() != "") #set ($tooltip = "title='$contactTitle.getChild('tooltipcontact').getData()'") #else #set ($tooltip = "") #end $contactTitle.getData()

$cur_summary.getChild('time').getData()

#end

$title_ofice.getData()

$ofice_description.getData()

#set($link_title = $ofice_description.getChild('link_title_ofice')) #if ($ofice_description.getChild('link_title_ofice').getChild('open_window').getData().trim() == "SI") #set( $blankText = "target='_blank'" ) #else #set( $blankText = "" ) #end #if($link_title.getChild('types_link').getData().trim() == "interno") #if($link_title.getChild('link_i') && $link_title.getChild('link_i').getFriendlyUrl() != "") $link_title.getData() #end #elseif($link_title.getChild('types_link').getData().trim() == "externo") #if($link_title.getChild('link_e') && $link_title.getChild('link_e').getData() != "") $link_title.getData() #end #end