Za katera vozila priporočamo kasko zavarovanje?
Kasko zavarovanje ne glede na starost vozila vedno nudi dodatno finančno varnost. Še posebej pa ga svetujemo v spodnjih primerih.
Kaj krije kasko zavarovanje?
Pri kasko zavarovanju lahko glede na vrednost in starost svojega vozila, varnost vašega bivalnega kraja, pogoste vremenske vplive ter življenjski slog izberete in sestavite različne kombinacije zavarovanja, ki se čim bolje prilegajo vašim potrebam po finančni varnosti.
Java method "com.sun.proxy.$Proxy1381.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1381 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@e56be6e"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign accordion_article = journalAr... [in template "20099#20125#508400" at line 73, column 11]
----
1<#assign theme_css_path = themeDisplay.getPathThemeCss() />
2
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
4<#assign group_id = getterUtil.getLong(themeDisplay.getScopeGroupId()) />
5
6${portletDisplay.setShowPortletCssIcon(true)}
7
8<#assign show_custom_title = false />
9
10<#assign portlet_preferences = portletDisplay.getPortletSetup() />
11<#assign portlet_preferences_map = portlet_preferences.getMap() />
12
13<#if portlet_preferences_map?? && portlet_preferences_map["portletSetupUseCustomTitle"]??>
14 <#assign VOID = portlet_preferences.setValue("portletSetupUseCustomTitle", "false") />
15 <#assign show_custom_title = portlet_preferences_map["portletSetupUseCustomTitle"][0]?boolean />
16</#if>
17
18<#assign is_asset_accordion = true />
19
20<#list portletPreferences as key, value_sequence>
21 <#if key == "anyAssetType" && value_sequence[0] == "true">
22 <#assign is_asset_accordion = false />
23 </#if>
24</#list>
25
26<#if entries?has_content>
27 <#assign assetRenderer = entries[0].getAssetRenderer() />
28 <#assign className = assetRenderer.getClassName() />
29
30 <#if className == "com.liferay.journal.model.JournalArticle">
31 <#assign assetClassTypeId = entries[0].getClassTypeId() />
32
33 <#assign DDMStructureLocalServiceUtil = staticUtil["com.liferay.dynamic.data.mapping.service.DDMStructureLocalServiceUtil"] />
34
35 <#assign structure = DDMStructureLocalServiceUtil.getStructure(assetClassTypeId) />
36 <#assign structure_name = structure.getName(locale)?trim?upper_case />
37
38 <#if structure_name != "ACCORDION">
39 <#assign is_asset_accordion = false />
40 <#else>
41 <#assign available_templates = structure.getTemplates() />
42
43 <#list available_templates as template>
44 <#assign template_name = template.getName(locale)?trim />
45
46 <#if template_name == "Accordion - product">
47 <#assign ddmTemplateKey = template.getTemplateKey() />
48 </#if>
49
50 </#list>
51 </#if>
52 <#else>
53 <#assign is_asset_accordion = false />
54 </#if>
55</#if>
56
57<#if is_asset_accordion>
58 <link rel="stylesheet" href="${theme_css_path}/components-standalone/badges-and-filters.css" />
59 <link rel="stylesheet" href="${theme_css_path}/components-standalone/accordion.css" />
60
61 <section class="container">
62 <#if show_custom_title>
63 <h2 class="g-headline-2 text-center">${portletDisplay.getTitle()}</h2>
64 </#if>
65
66 <div>
67 <#if entries?has_content>
68 <#list entries as curEntry>
69 <#assign assetRenderer = curEntry.getAssetRenderer() />
70 <#assign asset_object = assetRenderer.getAssetObject() />
71 <#assign accordion_article_id = asset_object.articleId />
72
73 <#assign accordion_article = journalArticleLocalService.getArticle(group_id, accordion_article_id) />
74
75 <#assign accordion_article_content = journalArticleLocalService.getArticleDisplay(group_id, accordion_article_id, ddmTemplateKey, "", locale, themeDisplay).getContent() />
76
77 ${accordion_article_content}
78 </#list>
79 </#if>
80 </div>
81 </section>
82<#else>
83 <div class="container">
84 <div class="alert alert-danger">You're using "Accordion product list" template. Please choose Accordions as asset type!</div>
85 </div>
86</#if>
Java method "com.sun.proxy.$Proxy1381.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1381 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@e56be6e"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign accordion_article = journalAr... [in template "20099#20125#508400" at line 73, column 11]
----
1<#assign theme_css_path = themeDisplay.getPathThemeCss() />
2
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
4<#assign group_id = getterUtil.getLong(themeDisplay.getScopeGroupId()) />
5
6${portletDisplay.setShowPortletCssIcon(true)}
7
8<#assign show_custom_title = false />
9
10<#assign portlet_preferences = portletDisplay.getPortletSetup() />
11<#assign portlet_preferences_map = portlet_preferences.getMap() />
12
13<#if portlet_preferences_map?? && portlet_preferences_map["portletSetupUseCustomTitle"]??>
14 <#assign VOID = portlet_preferences.setValue("portletSetupUseCustomTitle", "false") />
15 <#assign show_custom_title = portlet_preferences_map["portletSetupUseCustomTitle"][0]?boolean />
16</#if>
17
18<#assign is_asset_accordion = true />
19
20<#list portletPreferences as key, value_sequence>
21 <#if key == "anyAssetType" && value_sequence[0] == "true">
22 <#assign is_asset_accordion = false />
23 </#if>
24</#list>
25
26<#if entries?has_content>
27 <#assign assetRenderer = entries[0].getAssetRenderer() />
28 <#assign className = assetRenderer.getClassName() />
29
30 <#if className == "com.liferay.journal.model.JournalArticle">
31 <#assign assetClassTypeId = entries[0].getClassTypeId() />
32
33 <#assign DDMStructureLocalServiceUtil = staticUtil["com.liferay.dynamic.data.mapping.service.DDMStructureLocalServiceUtil"] />
34
35 <#assign structure = DDMStructureLocalServiceUtil.getStructure(assetClassTypeId) />
36 <#assign structure_name = structure.getName(locale)?trim?upper_case />
37
38 <#if structure_name != "ACCORDION">
39 <#assign is_asset_accordion = false />
40 <#else>
41 <#assign available_templates = structure.getTemplates() />
42
43 <#list available_templates as template>
44 <#assign template_name = template.getName(locale)?trim />
45
46 <#if template_name == "Accordion - product">
47 <#assign ddmTemplateKey = template.getTemplateKey() />
48 </#if>
49
50 </#list>
51 </#if>
52 <#else>
53 <#assign is_asset_accordion = false />
54 </#if>
55</#if>
56
57<#if is_asset_accordion>
58 <link rel="stylesheet" href="${theme_css_path}/components-standalone/badges-and-filters.css" />
59 <link rel="stylesheet" href="${theme_css_path}/components-standalone/accordion.css" />
60
61 <section class="container">
62 <#if show_custom_title>
63 <h2 class="g-headline-2 text-center">${portletDisplay.getTitle()}</h2>
64 </#if>
65
66 <div>
67 <#if entries?has_content>
68 <#list entries as curEntry>
69 <#assign assetRenderer = curEntry.getAssetRenderer() />
70 <#assign asset_object = assetRenderer.getAssetObject() />
71 <#assign accordion_article_id = asset_object.articleId />
72
73 <#assign accordion_article = journalArticleLocalService.getArticle(group_id, accordion_article_id) />
74
75 <#assign accordion_article_content = journalArticleLocalService.getArticleDisplay(group_id, accordion_article_id, ddmTemplateKey, "", locale, themeDisplay).getContent() />
76
77 ${accordion_article_content}
78 </#list>
79 </#if>
80 </div>
81 </section>
82<#else>
83 <div class="container">
84 <div class="alert alert-danger">You're using "Accordion product list" template. Please choose Accordions as asset type!</div>
85 </div>
86</#if>
Java method "com.sun.proxy.$Proxy1381.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1381 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@e56be6e"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign accordion_article = journalAr... [in template "20099#20125#508400" at line 73, column 11]
----
1<#assign theme_css_path = themeDisplay.getPathThemeCss() />
2
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
4<#assign group_id = getterUtil.getLong(themeDisplay.getScopeGroupId()) />
5
6${portletDisplay.setShowPortletCssIcon(true)}
7
8<#assign show_custom_title = false />
9
10<#assign portlet_preferences = portletDisplay.getPortletSetup() />
11<#assign portlet_preferences_map = portlet_preferences.getMap() />
12
13<#if portlet_preferences_map?? && portlet_preferences_map["portletSetupUseCustomTitle"]??>
14 <#assign VOID = portlet_preferences.setValue("portletSetupUseCustomTitle", "false") />
15 <#assign show_custom_title = portlet_preferences_map["portletSetupUseCustomTitle"][0]?boolean />
16</#if>
17
18<#assign is_asset_accordion = true />
19
20<#list portletPreferences as key, value_sequence>
21 <#if key == "anyAssetType" && value_sequence[0] == "true">
22 <#assign is_asset_accordion = false />
23 </#if>
24</#list>
25
26<#if entries?has_content>
27 <#assign assetRenderer = entries[0].getAssetRenderer() />
28 <#assign className = assetRenderer.getClassName() />
29
30 <#if className == "com.liferay.journal.model.JournalArticle">
31 <#assign assetClassTypeId = entries[0].getClassTypeId() />
32
33 <#assign DDMStructureLocalServiceUtil = staticUtil["com.liferay.dynamic.data.mapping.service.DDMStructureLocalServiceUtil"] />
34
35 <#assign structure = DDMStructureLocalServiceUtil.getStructure(assetClassTypeId) />
36 <#assign structure_name = structure.getName(locale)?trim?upper_case />
37
38 <#if structure_name != "ACCORDION">
39 <#assign is_asset_accordion = false />
40 <#else>
41 <#assign available_templates = structure.getTemplates() />
42
43 <#list available_templates as template>
44 <#assign template_name = template.getName(locale)?trim />
45
46 <#if template_name == "Accordion - product">
47 <#assign ddmTemplateKey = template.getTemplateKey() />
48 </#if>
49
50 </#list>
51 </#if>
52 <#else>
53 <#assign is_asset_accordion = false />
54 </#if>
55</#if>
56
57<#if is_asset_accordion>
58 <link rel="stylesheet" href="${theme_css_path}/components-standalone/badges-and-filters.css" />
59 <link rel="stylesheet" href="${theme_css_path}/components-standalone/accordion.css" />
60
61 <section class="container">
62 <#if show_custom_title>
63 <h2 class="g-headline-2 text-center">${portletDisplay.getTitle()}</h2>
64 </#if>
65
66 <div>
67 <#if entries?has_content>
68 <#list entries as curEntry>
69 <#assign assetRenderer = curEntry.getAssetRenderer() />
70 <#assign asset_object = assetRenderer.getAssetObject() />
71 <#assign accordion_article_id = asset_object.articleId />
72
73 <#assign accordion_article = journalArticleLocalService.getArticle(group_id, accordion_article_id) />
74
75 <#assign accordion_article_content = journalArticleLocalService.getArticleDisplay(group_id, accordion_article_id, ddmTemplateKey, "", locale, themeDisplay).getContent() />
76
77 ${accordion_article_content}
78 </#list>
79 </#if>
80 </div>
81 </section>
82<#else>
83 <div class="container">
84 <div class="alert alert-danger">You're using "Accordion product list" template. Please choose Accordions as asset type!</div>
85 </div>
86</#if>
Popusti in ugodnosti
Naši zavarovanci imate pri sklepanju kasko zavarovanja na voljo različne popuste in ugodnosti.
Java method "com.sun.proxy.$Proxy1381.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1381 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@e56be6e"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign card_article = journalArticle... [in template "20099#20125#508479" at line 71, column 19]
----
1<#assign theme_css_path = themeDisplay.getPathThemeCss() />
2<#assign theme_js_path = themeDisplay.getPathThemeJavaScript() />
3<#assign layout = themeDisplay.getLayout() />
4
5<link rel="stylesheet" href="${theme_css_path}/components-standalone/card-standard.css" />
6
7<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
8
9<#assign number_of_cards = entries?size />
10<#assign overflow_class = "" />
11
12<#if number_of_cards lte 3>
13 <#assign overflow_class = "overflow-visible" />
14</#if>
15
16<#assign show_custom_title = false />
17
18${portletDisplay.setShowPortletCssIcon(true)}
19
20<#assign portlet_preferences = portletDisplay.getPortletSetup() />
21
22<#assign portlet_preferences_map = portlet_preferences.getMap() />
23
24<#if portlet_preferences_map?? && portlet_preferences_map["portletSetupUseCustomTitle"]??>
25 <#assign VOID = portlet_preferences.setValue("portletSetupUseCustomTitle", "false") />
26 <#assign show_custom_title = portlet_preferences_map["portletSetupUseCustomTitle"][0]?boolean />
27</#if>
28
29<#assign is_asset_card = true />
30
31<#list portletPreferences as key, value_sequence>
32 <#if key == "anyAssetType" && value_sequence[0] == "true">
33 <#assign is_asset_card = false />
34 </#if>
35</#list>
36
37<#if entries?has_content>
38 <#assign assetRenderer = entries[0].getAssetRenderer() />
39 <#assign className = assetRenderer.getClassName() />
40
41 <#if className == "com.liferay.journal.model.JournalArticle">
42 <#assign assetClassTypeId = entries[0].getClassTypeId() />
43
44 <#assign DDMStructureLocalServiceUtil = staticUtil["com.liferay.dynamic.data.mapping.service.DDMStructureLocalServiceUtil"] />
45
46 <#assign structure = DDMStructureLocalServiceUtil.getStructure(assetClassTypeId) />
47 <#assign structure_name = structure.getName(locale)?trim?upper_case />
48
49 <#if structure_name != "ZAME CARD" && structure_name != "PRODUCT CARD">
50 <#assign is_asset_card = false />
51 </#if>
52 <#else>
53 <#assign is_asset_card = false />
54 </#if>
55</#if>
56
57<#if is_asset_card>
58 <section class="container g-product-cards-carousel">
59 <div class="g-swiper-wrapper">
60 <div class="swiper g-swiper ${overflow_class}" id="product-cards-swiper-${randomNamespace}">
61 <div class="swiper-wrapper">
62 <#if entries?has_content>
63 <#list entries as curEntry>
64 <div class="swiper-slide">
65 <#assign assetRenderer = curEntry.getAssetRenderer() />
66 <#assign asset_object = assetRenderer.getAssetObject() />
67 <#assign card_article_id = asset_object.articleId />
68
69 <#assign group_id = themeDisplay.getScopeGroupId() />
70
71 <#assign card_article = journalArticleLocalService.getArticle(getterUtil.getLong(group_id), card_article_id) />
72 <#assign card_template_ddm_key = card_article.getDDMTemplateKey() />
73
74 <#assign card_article_content = journalArticleLocalService.getArticleDisplay(getterUtil.getLong(group_id), card_article_id, card_template_ddm_key, "", locale, themeDisplay).getContent() />
75
76 ${card_article_content}
77 </div>
78 </#list>
79 </#if>
80 </div>
81 </div>
82 <button type="button" class="swiper-button-prev g-prev-arrow" id="product-cards-swiper-prev-${randomNamespace}"></button>
83 <button type="button" class="swiper-button-next g-next-arrow" id="product-cards-swiper-next-${randomNamespace}"></button>
84 <div class="swiper-pagination" id="product-cards-pagination-${randomNamespace}"></div>
85 </div>
86 </section>
87
88 <script src="${theme_js_path}/vendors/swiper-bundle.min.js" type="text/javascript"></script>
89
90 <script type="text/javascript">
91 Liferay.on("allPortletsReady", function () {
92 new Swiper("#product-cards-swiper-${randomNamespace}", {
93 direction: "horizontal",
94 navigation: {
95 nextEl: "#product-cards-swiper-next-${randomNamespace}",
96 prevEl: "#product-cards-swiper-prev-${randomNamespace}",
97 },
98 pagination: {
99 el: "#product-cards-pagination-${randomNamespace}",
100 type: "bullets",
101 dynamicBullets: true,
102 },
103 slidesPerView: 1,
104 spaceBetween: 24,
105 breakpoints: {
106 576: {
107 slidesPerView: 2,
108 },
109 1024: {
110 slidesPerView: 3,
111 },
112 },
113 loop: false,
114 });
115 });
116 </script>
117<#else>
118 <div class="container">
119 <div class="alert alert-danger">You're using "Cards carousel" template. Please choose Product card or ZAME card as asset type!</div>
120 </div>
121</#if>
Java method "com.sun.proxy.$Proxy1381.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1381 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@e56be6e"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign accordion_article = journalAr... [in template "20099#20125#508400" at line 73, column 11]
----
1<#assign theme_css_path = themeDisplay.getPathThemeCss() />
2
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
4<#assign group_id = getterUtil.getLong(themeDisplay.getScopeGroupId()) />
5
6${portletDisplay.setShowPortletCssIcon(true)}
7
8<#assign show_custom_title = false />
9
10<#assign portlet_preferences = portletDisplay.getPortletSetup() />
11<#assign portlet_preferences_map = portlet_preferences.getMap() />
12
13<#if portlet_preferences_map?? && portlet_preferences_map["portletSetupUseCustomTitle"]??>
14 <#assign VOID = portlet_preferences.setValue("portletSetupUseCustomTitle", "false") />
15 <#assign show_custom_title = portlet_preferences_map["portletSetupUseCustomTitle"][0]?boolean />
16</#if>
17
18<#assign is_asset_accordion = true />
19
20<#list portletPreferences as key, value_sequence>
21 <#if key == "anyAssetType" && value_sequence[0] == "true">
22 <#assign is_asset_accordion = false />
23 </#if>
24</#list>
25
26<#if entries?has_content>
27 <#assign assetRenderer = entries[0].getAssetRenderer() />
28 <#assign className = assetRenderer.getClassName() />
29
30 <#if className == "com.liferay.journal.model.JournalArticle">
31 <#assign assetClassTypeId = entries[0].getClassTypeId() />
32
33 <#assign DDMStructureLocalServiceUtil = staticUtil["com.liferay.dynamic.data.mapping.service.DDMStructureLocalServiceUtil"] />
34
35 <#assign structure = DDMStructureLocalServiceUtil.getStructure(assetClassTypeId) />
36 <#assign structure_name = structure.getName(locale)?trim?upper_case />
37
38 <#if structure_name != "ACCORDION">
39 <#assign is_asset_accordion = false />
40 <#else>
41 <#assign available_templates = structure.getTemplates() />
42
43 <#list available_templates as template>
44 <#assign template_name = template.getName(locale)?trim />
45
46 <#if template_name == "Accordion - product">
47 <#assign ddmTemplateKey = template.getTemplateKey() />
48 </#if>
49
50 </#list>
51 </#if>
52 <#else>
53 <#assign is_asset_accordion = false />
54 </#if>
55</#if>
56
57<#if is_asset_accordion>
58 <link rel="stylesheet" href="${theme_css_path}/components-standalone/badges-and-filters.css" />
59 <link rel="stylesheet" href="${theme_css_path}/components-standalone/accordion.css" />
60
61 <section class="container">
62 <#if show_custom_title>
63 <h2 class="g-headline-2 text-center">${portletDisplay.getTitle()}</h2>
64 </#if>
65
66 <div>
67 <#if entries?has_content>
68 <#list entries as curEntry>
69 <#assign assetRenderer = curEntry.getAssetRenderer() />
70 <#assign asset_object = assetRenderer.getAssetObject() />
71 <#assign accordion_article_id = asset_object.articleId />
72
73 <#assign accordion_article = journalArticleLocalService.getArticle(group_id, accordion_article_id) />
74
75 <#assign accordion_article_content = journalArticleLocalService.getArticleDisplay(group_id, accordion_article_id, ddmTemplateKey, "", locale, themeDisplay).getContent() />
76
77 ${accordion_article_content}
78 </#list>
79 </#if>
80 </div>
81 </section>
82<#else>
83 <div class="container">
84 <div class="alert alert-danger">You're using "Accordion product list" template. Please choose Accordions as asset type!</div>
85 </div>
86</#if>
Dokumenti za kasko zavarovanje
Splošni pogoji za zavarovanje avtomobilskega kaska
Dodatni pogoji za zavarovanje avtomobilskega kaska – Partner
Dodatni pogoji za zavarovanje avtomobilskega kaska – Toyota
Dokumenti so bili uspešno poslani
Pošljite dokumente na svoj e-naslov
Zavarovanci o naših avtomobilskih zavarovanjih
Mnenja strank so zbrana s spletno anketo.
VEČ MNENJMELITKA V.
05. 05. 2025
MARJAN K.
05. 05. 2025
Tradicionalno poenostavljen postopek obnove zavarovanja.
DARJA J.
04. 05. 2025
POLONA K.
04. 05. 2025
Skrb za zapadlo polico, prijaznost, konkurenčne cena.
MIRAN L.
04. 05. 2025
Hitra odzivnost, prijaznost, zanesljivost.
SENADA K.
04. 05. 2025
Ker dobim zmeraj dobro ponudbo. In zaposleni ti pomagajo, da dobiš dobro ponudbo in ceno.
ŠTEFAN N.
04. 05. 2025
Sem zelo zadovoljen z posredovanjem vašega agenta.
PRIMOŽ Š.
04. 05. 2025
Ker sem se z svojim agentom lahko dogovoril tako za dober paket, kot tudi dobro ceno. In še pomagal je takoj, saj je bilo potrebno urediti zavarovanje zelo na hitro.
Java method "com.sun.proxy.$Proxy1381.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1381 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@e56be6e"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign card_article = journalArticle... [in template "20099#20125#525602" at line 62, column 15]
----
1<#assign theme_js_path = themeDisplay.getPathThemeJavaScript() />
2<#assign theme_css_path = themeDisplay.getPathThemeCss() />
3
4<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
5
6<#assign show_custom_title = false />
7
8<#assign portlet_preferences = portletDisplay.getPortletSetup() />
9<#assign portlet_preferences_map = portlet_preferences.getMap() />
10
11<#if portlet_preferences_map?? && portlet_preferences_map["portletSetupUseCustomTitle"]??>
12 <#assign VOID = portlet_preferences.setValue("portletSetupUseCustomTitle", "false") />
13 <#assign show_custom_title = portlet_preferences_map["portletSetupUseCustomTitle"][0]?boolean />
14</#if>
15
16
17${portletDisplay.setShowPortletCssIcon(true)}
18
19<#assign is_asset_card = true />
20
21<#list portletPreferences as key, value_sequence>
22 <#if key == "anyAssetType" && value_sequence[0] == "true">
23 <#assign is_asset_card = false />
24 </#if>
25</#list>
26
27<#if entries?has_content>
28 <#assign assetRenderer = entries[0].getAssetRenderer() />
29 <#assign className = assetRenderer.getClassName() />
30
31 <#if className == "com.liferay.journal.model.JournalArticle">
32 <#assign assetClassTypeId = entries[0].getClassTypeId() />
33
34 <#assign DDMStructureLocalServiceUtil = staticUtil["com.liferay.dynamic.data.mapping.service.DDMStructureLocalServiceUtil"] />
35
36 <#assign structure = DDMStructureLocalServiceUtil.getStructure(assetClassTypeId) />
37 <#assign structure_name = structure.getName(locale)?trim?upper_case />
38
39 <#if structure_name != "ZAME CARD" && structure_name != "PRODUCT CARD">
40 <#assign is_asset_card = false />
41 </#if>
42 <#else>
43 <#assign is_asset_card = false />
44 </#if>
45</#if>
46
47<#if is_asset_card>
48 <link rel="stylesheet" href="${theme_css_path}/components-standalone/badges-and-filters.css" />
49
50 <div id="product-cards-list-${randomNamespace}">
51 <div class="container">
52 <div class="row justify-content-center">
53 <#if entries?has_content>
54 <#list entries as curEntry>
55 <div class="col-lg-4 col-md-6 mb-4">
56 <#assign assetRenderer = curEntry.getAssetRenderer() />
57 <#assign asset_object = assetRenderer.getAssetObject() />
58 <#assign card_article_id = asset_object.articleId />
59
60 <#assign group_id = themeDisplay.getScopeGroupId() />
61
62 <#assign card_article = journalArticleLocalService.getArticle(getterUtil.getLong(group_id), card_article_id) />
63 <#assign card_template_ddm_key = card_article.getDDMTemplateKey() />
64
65 <#assign card_article_content = journalArticleLocalService.getArticleDisplay(getterUtil.getLong(group_id), card_article_id, card_template_ddm_key, "", locale, themeDisplay).getContent() />
66
67 ${card_article_content}
68 </div>
69
70 </#list>
71 </#if>
72 </div>
73 </div>
74 </div>
75<#else>
76 <div class="container">
77 <div class="alert alert-danger">You're using "Product cards list" template. Please choose Product card or ZAME card as asset type!</div>
78 </div>
79</#if>
Pogosta vprašanja o kasko zavarovanju
Java method "com.sun.proxy.$Proxy1381.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1381 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@e56be6e"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign accordion_article = journalAr... [in template "20099#20125#525605" at line 73, column 11]
----
1<#assign theme_css_path = themeDisplay.getPathThemeCss() />
2
3<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
4<#assign group_id = getterUtil.getLong(themeDisplay.getScopeGroupId()) />
5
6${portletDisplay.setShowPortletCssIcon(true)}
7
8<#assign show_custom_title = false />
9
10<#assign portlet_preferences = portletDisplay.getPortletSetup() />
11<#assign portlet_preferences_map = portlet_preferences.getMap() />
12
13<#if portlet_preferences_map?? && portlet_preferences_map["portletSetupUseCustomTitle"]??>
14 <#assign VOID = portlet_preferences.setValue("portletSetupUseCustomTitle", "false") />
15 <#assign show_custom_title = portlet_preferences_map["portletSetupUseCustomTitle"][0]?boolean />
16</#if>
17
18<#assign is_asset_accordion = true />
19
20<#list portletPreferences as key, value_sequence>
21 <#if key == "anyAssetType" && value_sequence[0] == "true">
22 <#assign is_asset_accordion = false />
23 </#if>
24</#list>
25
26<#if entries?has_content>
27 <#assign assetRenderer = entries[0].getAssetRenderer() />
28 <#assign className = assetRenderer.getClassName() />
29
30 <#if className == "com.liferay.journal.model.JournalArticle">
31 <#assign assetClassTypeId = entries[0].getClassTypeId() />
32
33 <#assign DDMStructureLocalServiceUtil = staticUtil["com.liferay.dynamic.data.mapping.service.DDMStructureLocalServiceUtil"] />
34
35 <#assign structure = DDMStructureLocalServiceUtil.getStructure(assetClassTypeId) />
36 <#assign structure_name = structure.getName(locale)?trim?upper_case />
37
38 <#if structure_name != "ACCORDION">
39 <#assign is_asset_accordion = false />
40 <#else>
41 <#assign available_templates = structure.getTemplates() />
42
43 <#list available_templates as template>
44 <#assign template_name = template.getName(locale)?trim />
45
46 <#if template_name == "Accordion - standard">
47 <#assign ddmTemplateKey = template.getTemplateKey() />
48 </#if>
49
50 </#list>
51 </#if>
52 <#else>
53 <#assign is_asset_accordion = false />
54 </#if>
55</#if>
56
57<#if is_asset_accordion>
58 <link rel="stylesheet" href="${theme_css_path}/components-standalone/badges-and-filters.css" />
59 <link rel="stylesheet" href="${theme_css_path}/components-standalone/accordion.css" />
60
61 <section class="container" id="accordion-list-${randomNamespace}">
62 <#if show_custom_title>
63 <h2 class="g-headline-2 text-center">${portletDisplay.getTitle()}</h2>
64 </#if>
65
66 <div class="g-accordion-wrapper">
67 <#if entries?has_content>
68 <#list entries as curEntry>
69 <#assign assetRenderer = curEntry.getAssetRenderer() />
70 <#assign asset_object = assetRenderer.getAssetObject() />
71 <#assign accordion_article_id = asset_object.articleId />
72
73 <#assign accordion_article = journalArticleLocalService.getArticle(group_id, accordion_article_id) />
74
75 <#assign accordion_article_content = journalArticleLocalService.getArticleDisplay(group_id, accordion_article_id, ddmTemplateKey, "", locale, themeDisplay).getContent() />
76
77 ${accordion_article_content}
78 </#list>
79 </#if>
80 </div>
81 </section>
82<#else>
83 <div class="container">
84 <div class="alert alert-danger">You're using "Accordions list" template. Please choose Accordions as asset type!</div>
85 </div>
86</#if>