Error on line 3, column 1 in 1882933#1882971#2816616 serviceLocator.findService("suggesto-gui-portlet","eu.suggesto.suggestogui.service.suggestoGuiLocalService") is undefined. It cannot be assigned to suggestoAPI
1<#-- DYNAMIC BREADCRUMB IN TEMPLATE - eCTRL SOLUTIONS 2018 -->
2
3<#assign suggestoAPI = serviceLocator.findService("suggesto-gui-portlet","eu.suggesto.suggestogui.service.suggestoGuiLocalService")>
4<#if locale.language != "it">
5 <#assign baseUrl = "/" + locale.language>
6<#else>
7 <#assign baseUrl = "">
8</#if>
9
10<#assign
11 serviceContext = staticUtil["com.liferay.portal.service.ServiceContextThreadLocal"].getServiceContext()
12 themeDisplay = serviceContext.getThemeDisplay()
13
14 LLS = serviceLocator.findService("com.liferay.portal.service.LayoutLocalService")
15 homeName= "Home"
16 homeUrl = baseUrl + "/"
17 br1_Name=""
18 br2_Name=""
19 br3_Name=""
20 br4_Name=""
21 br1_Url=""
22 br2_Url=""
23 br3_Url=""
24 br4_Url=""
25 plid = themeDisplay.getPlid()
26
27 curLayout = LLS.getLayout(plid)
28 curLayoutTitle = curLayout.getHTMLTitle(locale)
29 brc_Name = curLayout.getName(locale)
30 brc_Url = baseUrl + curLayout.getFriendlyURL()
31 p1LayoutPlid=curLayout.getParentPlid()
32/>
33
34<#if p1LayoutPlid != 0>
35 <#assign p1Layout = LLS.getLayout(p1LayoutPlid)>
36 <#assign br1_Name = p1Layout.getHTMLTitle(locale)>
37 <#assign br1_Url = baseUrl + p1Layout.getFriendlyURL()>
38</#if>
39
40<#if p1Layout?has_content>
41 <#assign p2LayoutPlid = p1Layout.getParentPlid()>
42 <#if p2LayoutPlid != 0>
43 <#assign p2Layout = LLS.getLayout(p2LayoutPlid)>
44 <#assign br2_Name = p2Layout.getHTMLTitle(locale)>
45 <#assign br2_Url = baseUrl + p2Layout.getFriendlyURL()>
46 </#if>
47</#if>
48
49<#if p2Layout?has_content>
50 <#assign p3LayoutPlid = p2Layout.getParentPlid()>
51 <#if p3LayoutPlid != 0>
52 <#assign p3Layout = LLS.getLayout(p3LayoutPlid)>
53 <#assign br3_Name = p3Layout.getHTMLTitle(locale)>
54 <#assign br3_Url = baseUrl + p3Layout.getFriendlyURL()>
55 </#if>
56</#if>
57
58<#if p3Layout?has_content>
59 <#assign p4LayoutPlid = p3Layout.getParentPlid()>
60 <#if p4LayoutPlid != 0>
61 <#assign p4Layout = LLS.getLayout(p4LayoutPlid)>
62 <#assign br4_Name = p4Layout.getHTMLTitle(locale)>
63 <#assign br4_Url = baseUrl + p4Layout.getFriendlyURL()>
64 </#if>
65</#if>
66
67<style>
68 .br-link{
69 color: #8e8e8e !important;
70 text-decoration: none !important;
71 }
72 .breadcrumb-item + .breadcrumb-item:before {
73 content: "|" !important;
74 color: #8e8e8e !important;
75 font-weight: normal;
76 }
77</style>
78
79<section id="breadcrumbs" class="mt-4">
80 <div class="container-fluid-big">
81 <nav class="d-flex justify-content-between align-items-end">
82 <ol class="breadcrumb d-block d-md-flex back-white p-0 mb-0">
83 <#if br3_Name != "">
84 <li class="breadcrumb-item">
85 <a href="${homeUrl}" class="br-link">${homeName}</a>
86 </li>
87 <li class="breadcrumb-item">
88 <a href="${br3_Url}" class="br-link">${br3_Name}</a>
89 </li>
90 <li class="breadcrumb-item">
91 <a href="${br2_Url}" class="br-link">${br2_Name}</a>
92 </li>
93 <li class="breadcrumb-item">
94 <a href="${br1_Url}" class="br-link">${br1_Name}</a>
95 </li>
96 <li class="breadcrumb-item font-weight-bold active purple">${brc_Name}</li>
97 <#elseif br2_Name != "">
98 <li class="breadcrumb-item">
99 <a href="${homeUrl}" class="br-link">${homeName}</a>
100 </li>
101 <li class="breadcrumb-item">
102 <a href="${br2_Url}" class="br-link">${br2_Name}</a>
103 </li>
104 <li class="breadcrumb-item">
105 <a href="${br1_Url}" class="br-link">${br1_Name}</a>
106 </li>
107 <li class="breadcrumb-item font-weight-bold active purple">${brc_Name}</li>
108 <#elseif br1_Name != "">
109 <li class="breadcrumb-item">
110 <a href="${homeUrl}" class="br-link">${homeName}</a>
111 </li>
112 <li class="breadcrumb-item">
113 <a href="${br1_Url}" class="br-link">${br1_Name}</a>
114 </li>
115 <li class="breadcrumb-item font-weight-bold active purple">${brc_Name}</li>
116 <#else>
117 <li class="breadcrumb-item">
118 <a href="${homeUrl}" class="br-link">${homeName}</a>
119 </li>
120 <li class="breadcrumb-item font-weight-bold active purple">${brc_Name}</li>
121 </#if>
122 </ol>
123
124 <#--
125 <a href="${br1_Url}" class="small purple">Torna indietro</a>
126 <a href="javascript:history.go(-1)" class="small purple">${suggestoAPI.msg(companyId,groupId,"torna-indietro",locale,"it",localeUtil.fromLanguageId("it_IT"))}</a>
127 -->
128 </nav>
129 </div>
130</section>
Il Biellese: terra di eccellenze enogastronomiche
La cucina locale, di chiara impronta piemontese, presenta interessanti caratteri di originalità ed è al centro di progetti di valorizzazione e salvaguardia come aspetto importante dell'identità biellese.
Dalle aziende note a livello nazionale ed internazionale - come Lauretana e Menabrea - ai tanti piccoli produttori che mantengono viva la tradizione del territorio biellese attraverso i suoi sapori, dalle aziende agrituristiche ai produttori di vino, l'enogastronomia biellese ha le carte in regola per essere annoverata a pieno titolo tra le eccellenze del Piemonte.