Toggle navigation
Log-in
Home
Page Index
User Index
Application Index
Global
Wiki Index
Blog
CategorySheet
Wiki source code of
CategorySheet
Last modified by eaminov on 2017/06/14 01:05
Manage
Copy
Actions
Export
Print preview
View Source
Viewers
Siblings
Content
Comments
Attachments
History
Information
×
Export
Office Formats
Export as PDF
Other Formats
Export as HTML
Show line numbers
{{include reference="Blog.CategoriesCode"/}} {{velocity}} #set ($discard = $xwiki.ssx.use("Blog.ManageCategories")) #set ($discard = $xwiki.jsx.use("Blog.ManageCategories")) #set ($obj = $doc.getObject($blogCategoryClassname)) #if ($obj) #getEntriesForCategory($doc.fullName $discard $totalEntries) = Category: $services.rendering.escape($obj.getValue('name'), $doc.syntax) ($totalEntries posts) [[#toolImage('feed')>>Blog.CategoryRss||queryString="xpage=plain&category=$escapetool.url($doc.fullName)" title="RSS"]] = {{html wiki=true}} ## Keep testing the inline action for backward compatibility with older categories. #if ($xcontext.action != 'edit' && $xcontext.action != 'inline') {{include reference="Blog.CreatePost"/}} #getCategoriesHierarchy($doc.space $tree) #if ("$!tree.get($doc.fullName)" != '') (% class="blog-categories-list subcategories" %) ((( ((( **Subcategories** ))) ((( #displayCategoriesHierarchyRecursive($tree $doc.fullName 1 'simple') ))) ))) #end (% class="clearfloats" %)((())) #getEntriesForCategory($doc.fullName $entries $totalEntries) #if ($totalEntries == 0) {{info}}{{translation key="blog.categories.noentries"/}}{{/info}} #else #displayBlog($entries 'category' true true) ## displayNavigationLinks requires a blog document, to determine how should the entries be split into pages. Return this ## document, as the macro fallbacks to 'paginated' in case the right setting cannot be determined. #displayNavigationLinks($doc) #end #end {{/html}} #elseif ($doc.fullName == $blogCategorySheet) {{translation key="blog.categories.sheetmessage"/}} #else {{warning}}{{translation key="blog.categories.notcategory"/}}{{/warning}} #end {{/velocity}}
Applications
Blog
Dashboard
Help
More applications
Navigation
Recent Blog Posts
test
Network Maitenance - 1-6-2017
Rosh Ha'ayin Power Outage - 4-5-2017
Network Maintenance - 29-1-2017
Blog Categories
All
Maintenance Notifications
(3)
Blog Archive
2017
(3)
2018
(1)