Changes for page Home
Last modified by Isaac Mejia on 2025/12/15 18:27
From version 19.1
edited by Isaac Mejia
on 2025/12/05 17:53
on 2025/12/05 17:53
Change comment:
There is no comment for this version
To version 17.1
edited by Isaac Mejia
on 2025/12/05 17:50
on 2025/12/05 17:50
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -79,9 +79,14 @@ 79 79 "and doc.hidden <> true" 80 80 ) 81 81 #set ($countQuery = $services.query.xwql($countXwql).bindValue("space", $articleSpace)) 82 - #set ($resultList = $countQuery.execute()) 83 - #if ($resultList && $resultList.size() > 0) 84 - #set ($articleCount = $resultList.get(0)) 82 + 83 + #try() 84 + #set ($resultList = $countQuery.execute()) 85 + #if ($resultList && $resultList.size() > 0) 86 + #set ($articleCount = $resultList.get(0)) 87 + #end 88 + #catch($e) 89 + ## Swallow query errors so we don't break the homepage 85 85 #end 86 86 87 87 ## Icon, with a sensible default ... ... @@ -165,10 +165,10 @@ 165 165 </div> 166 166 </div> 167 167 173 + <!-- Bottom CTA (support panel) --> 174 + {{include reference="KBSupportCTA.WebHome"/}} 175 + 168 168 </div> 169 169 {{/html}} 170 170 171 -## Bottom CTA (support panel) 172 -{{include reference="KBSupportCTA.WebHome"/}} 173 - 174 174 {{/velocity}}