roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Saini (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ROL-1982) Tree View for Archives
Date Mon, 30 Dec 2013 08:56:51 GMT

    [ https://issues.apache.org/jira/browse/ROL-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858668#comment-13858668
] 

Gaurav Saini commented on ROL-1982:
-----------------------------------

I figured out the problem(in your case only 2012 entries are coming), although the logic is
correct just that the entries list which is coming is not complete. As I am using below code
so its only show list that are actually on that page. I am thinking of using getRecentWeblogEntries(catname,
no_of_entries), but in this method we can only get 100 entries, so I have to change this method
in Java so it can return all entries (when no_of_entries = -1 , we have implemented same login
in tag cloud). 

#foreach($day in $map.keySet())
    #set($entries = $map.get($day))
    #foreach( $entry in $entries )
    ..
    #end
#end

If you have any other help for me, so I can get all entries of a weblog.

Thanks
Gaurav

> Tree View for Archives
> ----------------------
>
>                 Key: ROL-1982
>                 URL: https://issues.apache.org/jira/browse/ROL-1982
>             Project: Roller
>          Issue Type: New Feature
>          Components: Macros
>            Reporter: Gaurav Saini
>            Assignee: Roller Unassigned
>            Priority: Minor
>         Attachments: archiveTree.patch, archiveTree.png
>
>
> A macro that would provide the data of the Archives in Tree Structure something like
[1]. I think it would be a nice enhancement to Roller, as Archive Pages are rarely used and
this macro can be easily added to the Side menu of the blog.
> [1] http://coheigea.blogspot.com/



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message