Quote:
Originally Posted by odinokij
I'm trying (without success) to colour columns based on:
1) timestamp in order to mark those books added today (something like: "format_date(now(), 'yyyy-MM-dd') == {timestamp:format_date( 'yyyy-MM-dd')}")
|
Use an advanced coloring rule with one of the two following
general program mode templates.
Code:
program:
strcmp(format_date(today(), 'yyyy-MM-dd'), format_date(raw_field('timestamp'), 'yyyy-MM-dd'),'', 'blue', '')
or
Code:
program:
cmp(days_between(today(), raw_field('timestamp')), 1, 'blue', '', '')
I prefer the second one because you can change the "1" to be any number of days.
In both cases change the color name ('blue' above)to the one you want.
Quote:
2) the "author_link" to mark those authors who have a custom link added through manage authors (something like: "author_link:true")
|
Not possible for the reason theducks gave.