Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Roundcube Community Forum
»
Miscellaneous
»
Roundcube Discussion
»
Flagged/Unflagged state
« previous
next »
Print
Pages: [
1
]
Author
Topic: Flagged/Unflagged state (Read 4326 times)
sboulema
Newbie
Posts: 3
Flagged/Unflagged state
«
on:
June 08, 2013, 12:15:03 PM »
Hello,
When viewing a message, eg. the message.html template file, how can I find out if the message is flagged or not ?
Thanks in advance!
Logged
SKaero
Administrator
Hero Member
Posts: 5,901
Re: Flagged/Unflagged state
«
Reply #1 on:
June 14, 2013, 09:22:04 AM »
I'm not sure what you mean, why do you need to know in the html?
Logged
SK
aero
sboulema
Newbie
Posts: 3
Re: Flagged/Unflagged state
«
Reply #2 on:
June 14, 2013, 10:22:12 AM »
I want to add a button to the messageview to flag or unflag the message, but to show the right button I need to know the current flagged state of the message.
If looking for something like this:
<roundcube if:message[flagged]==true>
<roundcube:button command="unflag">
<roundcube else>
<roundcube:button command="flag">
<roundcube endif>
Logged
Print
Pages: [
1
]
« previous
next »
Roundcube Community Forum
»
Miscellaneous
»
Roundcube Discussion
»
Flagged/Unflagged state