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