[TWC] Date plugin and todays reminder link

93 views
Skip to first unread message

sklpns

unread,
Jun 8, 2015, 10:04:39 AM6/8/15
to tiddl...@googlegroups.com
Hello TW friends

using DatePlugin and ReminderMacros
(also got CalendarPlugin installed)
in a TW classic version 2.6.0
you can write this

<<date popup today "DDD, MMM DDth YYYY" "DD MMM YYYY">>

which will give you the current date as link.
When clicked a popup will appear showing all reminders
set per the rules specified at the DatePlugin Tiddler
(omit 'created' section from date popups etc)

My questions:
1. Is there a way to have the above link formatted conditionally (ie red)
if a reminder is set for the current date (today)?
2. Where would I look in order to change the appearance of the displaying popup?
3. Would it be possible to have the same information (todays reminders) appear as a popup window
(like the Main TiddlyWiki file saved popup) upon startup and/or at certain intervals?

thanks in advance
sklpns


sklpns

unread,
Jun 19, 2015, 8:50:32 AM6/19/15
to tiddl...@googlegroups.com
Hello everyone,

sorry to bump this but, not being a coder, I'm confused with the code
of DatePlugin, ReminderMacros and CalendarPlugin,
where I guess lies the answer to my problem.

I guess what I'm looking for is some sort of inline script like

<script>
  
(if there is at least one reminder
set for today)

      return

 "@@color:#F00;<<date popup today 'DDD, MMM DDth YYYY' 'DD MMM YYYY'>> (number of reminders set for today)@@";
 
 else
      return "(current date in the above format-no link>>";
</script>

something like what the Calendar plugin does as far as reminders go
but only for the current date.

Does this make sense?

thanks again

sklpns
Reply all
Reply to author
Forward
0 new messages