Changes for page Hjem
Last modified by Normann P. Nielsen on 2026/11/20 07:06
From version 36.1
edited by Normann P. Nielsen
on 2026/11/18 18:48
on 2026/11/18 18:48
Change comment:
There is no comment for this version
To version 32.1
edited by Normann P. Nielsen
on 2026/11/18 18:09
on 2026/11/18 18:09
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,36 +4,13 @@ 4 4 5 5 [[image:Familie-color.png||data-xwiki-image-style-alignment="center"]] 6 6 7 -{{container layoutStyle="columns"}}((( 7 += = 8 + 9 +|=((( 8 8 = Nyeste Blogs = 9 9 10 -{{velocity}} 11 -#set ($hql = "select doc.fullName from XWikiDocument doc where doc.hidden = false and exists (select obj.id from BaseObject obj where obj.name = doc.fullName and obj.className = 'Blog.BlogPostClass') order by doc.creationDate desc") 12 -#set ($query = $services.query.hql($hql)) 13 -#set ($discard = $query.setLimit(500)) 14 -#set ($pages = $query.execute()) 15 -#set ($count = 0) 16 -## 17 -(% class="recent-blogs" %) 18 -|=Blog post|=Created 19 -#foreach ($pageName in $pages)## 20 -#if ($count < 10)## 21 -#set ($canView = $xwiki.hasAccessLevel('view', $context.user, $pageName))## 22 -#if ($canView)## 23 -#set ($tags = $services.tag.getTagsForDocument($pageName))## 24 -#if (!$tags.contains('noshow'))## 25 -#set ($page = $xwiki.getDocument($pageName))## 26 -|[[${page.title}>>${page.fullName}]]|$datetool.format('dd-MM-yyyy', $page.creationDate) 27 -#set ($count = $count + 1)## 28 -#end## 29 -#end## 30 -#end## 31 -#end## 32 -{{/velocity}} 33 - 34 -))) 35 - 36 -((( 12 +{{blogpostlist published="yes" limit="10" paginated="no"/}} 13 +)))|=((( 37 37 = Nyeste sider = 38 38 39 39 {{velocity}} ... ... @@ -60,8 +60,10 @@ 60 60 #end## 61 61 {{/velocity}} 62 62 63 - ))){{/container}}40 + 64 64 42 +))) 43 + 65 65 = Besøg også disse interesseområder = 66 66 67 67 |=[[~[~[image:deathstar-50x50.png~|~|alt="FAmiliebilleder" data-xwiki-image-style-alignment="center"~]~]>>doc:.familiebilleder.WebHome]](((