Changes for page Home

Last modified by Isaac Mejia on 2025/12/15 18:27

From version 16.1
edited by Isaac Mejia
on 2025/12/05 17:44
Change comment: There is no comment for this version
To version 19.1
edited by Isaac Mejia
on 2025/12/05 17:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -79,13 +79,9 @@
79 79   "and doc.hidden <> true"
80 80   )
81 81   #set ($countQuery = $services.query.xwql($countXwql).bindValue("space", $articleSpace))
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
82 + #set ($resultList = $countQuery.execute())
83 + #if ($resultList && $resultList.size() > 0)
84 + #set ($articleCount = $resultList.get(0))
89 89   #end
90 90  
91 91   ## Icon, with a sensible default
... ... @@ -168,10 +168,11 @@
168 168   #end
169 169   </div>
170 170   </div>
171 -{{include reference="KBSupportCTA.WebHome"/}}
167 +
172 172  </div>
173 173  {{/html}}
174 174  
175 -## Reusable bottom CTA (support panel)
171 +## Bottom CTA (support panel)
172 +{{include reference="KBSupportCTA.WebHome"/}}
176 176  
177 177  {{/velocity}}