Hi,
i want to create a event / calendar widget.
The Event which is today shpuld be colored red.
$df(EEE dd. MMM hh:mm, ci(start, 0))$ [b]$ci(title, 0)$[/b]
Any ideas how the code is ?
Hi,
i want to create a event / calendar widget.
The Event which is today shpuld be colored red.
$df(EEE dd. MMM hh:mm, ci(start, 0))$ [b]$ci(title, 0)$[/b]
Any ideas how the code is ?
You can color something in 2 ways. option 1 is use a formula in the color option, so:
Or you can use BB code, so
[c=$if(df(D) = df(D, ci(start, 0), color_if_today, color_if_not)$]$ci(title, 0)$[/c]
sorry, im a newbee.
how does the whole code look when i combine your code with this:
$df(EEE dd. MMM hh:mm, ci(start, 0))$ [b]$ci(title, 0)$[/b]
If you want to change color to the entire sentence then its:
[c=$if(df(D) = df(D, ci(start, 0)), color_if_today, color_if_not)$]$df(EEE dd. MMM hh:mm, ci(start, 0))$ [b]$ci(title, 0)$[/b][/c]
Doesnt work:
"Err. Invalid argument count for df "
I forgot a braket after ci(start, 0), i have edited the post
before there where 2 errors. now there is 1 left ^^
What error?
"Err. Invalid argument count for df "
befor ther were 2 Errors in the App
"Err. Invalid argument count for df "
"Err. Invalid argument count for df "
Formula is ok it must be a copy paste issue
Now got it colored but there is a $ in front of the title in the text
[c=$if(df(D) = df(D, ci(start, 0)), #FF0000, #FFFFFF)$]$$[b]$ci(title, 0)$[/b][/c]
What's wrong?
Now got it colored but there is a $ in front of the title in the text
[c=$if(df(D) = df(D, ci(start, 0)), #FF0000, #FFFFFF)$]$$[b]$ci(title, 0)$[/b][/c]
What's wrong?