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 16.1
edited by Isaac Mejia
on 2025/12/05 17:44
on 2025/12/05 17:44
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,13 @@ 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 + #try 83 + #set ($resultList = $countQuery.execute()) 84 + #if ($resultList && $resultList.size() > 0) 85 + #set ($articleCount = $resultList.get(0)) 86 + #end 87 + #catch 88 + ## Swallow query errors so we don't break the homepage 85 85 #end 86 86 87 87 ## Icon, with a sensible default ... ... @@ -164,11 +164,10 @@ 164 164 #end 165 165 </div> 166 166 </div> 167 - 171 +{{include reference="KBSupportCTA.WebHome"/}} 168 168 </div> 169 169 {{/html}} 170 170 171 -## Bottom CTA (support panel) 172 -{{include reference="KBSupportCTA.WebHome"/}} 175 +## Reusable bottom CTA (support panel) 173 173 174 174 {{/velocity}}