Journal List Descending by date.

986 views
Skip to first unread message

skang

unread,
Jan 3, 2012, 2:54:05 AM1/3/12
to tiddl...@googlegroups.com
Hey folks,

I have scoured the google groups, but i am wanting to have a main menu button to click that would produce and list of my journal entries with the most RECENT entry by Creation date on top?
Can this be done with tags or lists Without adding plug ins?

thanks!

Eric Shulman

unread,
Jan 3, 2012, 7:53:37 AM1/3/12
to TiddlyWiki
Yes, it can!

<<tag tagValue label tooltip sortby>>

where tagValue, label, and tooltip are text, and sortby is a tiddler
field name, with an optional "+" or "-" prefix to indicate sort order
(default is "+" = ascending)

For your use-case:

<<tag journal "journals" "show journals, most recent first" "-
created">>

the "-created" param tells the macro to sort by the "created" field,
in reverse (decending) order, so that the most recent tiddlers will be
displayed first.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

----
TiddlyTools needs YOUR financial support...
Help ME to continue to help YOU...
make a generous donation today:
http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact

Paul

unread,
Jan 3, 2012, 8:08:52 PM1/3/12
to tiddl...@googlegroups.com
On 1/3/2012 4:53 AM, Eric Shulman wrote:
>
> On Jan 2, 11:54�pm, skang<revk...@gmail.com> wrote:
>> Hey folks,
>>
>> I have scoured the google groups, but i am wanting to have a main menu
>> button to click that would produce and list of my journal entries with the
>> most RECENT entry by Creation date on top?
>> Can this be done with tags or lists Without adding plug ins?
> Yes, it can!
>
> <<tag tagValue label tooltip sortby>>
>
> where tagValue, label, and tooltip are text, and sortby is a tiddler
> field name, with an optional "+" or "-" prefix to indicate sort order
> (default is "+" = ascending)
>
> For your use-case:
>
> <<tag journal "journals" "show journals, most recent first" "-
> created">>
>
> the "-created" param tells the macro to sort by the "created" field,
> in reverse (decending) order, so that the most recent tiddlers will be
> displayed first.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios

Is there a way to limit the journals shown to a time period, like the last month or by the number shown?

Paul

Eric Shulman

unread,
Jan 3, 2012, 11:35:07 PM1/3/12
to TiddlyWiki
> > <<tag journal "journals" "show journals, most recent first" "-created">>

> Is there a way to limit the journals shown to a time period, like the last month or by the number shown?

Instead of the tags macro, try this one:
<<list filter "[tag[journal]][sort[-created]][limit[20]]">>

enjoy,
-e

skang

unread,
Jan 4, 2012, 3:44:39 AM1/4/12
to tiddl...@googlegroups.com
Amazing!! you are awesome!! Thanks!
Reply all
Reply to author
Forward
0 new messages