On Apr 23, 3:13 am, Jim McD <[email protected]> wrote:
> Hi,
>    Could I ask for a small tweak, or some advice, regarding the
> calendar plugin ?  When I float the mouse over a day in the calendar,
> the tooltip shows that date, eg: "23 April 2011".  Would it be
> possible to add the day of the week to that, eg "Saturday 23 April
> 2011".  I tried adding "DDD" at various places in the code without
> success.

Please don't change "the code"... DatePlugin (which provides the
display service for CalendarPlugin) is set up to be customized using
DatePluginConfig, instead of modifying the plugin code.

I've added a new internal configuration to DatePlugin
   config.macros.date.tipformat="YYYY.0MM.0DD"

Edit DatePluginConfig to customize the tooltip format.

> Also, is it possible to show the reminder for that day, if there is
> one, in the tooltip ?  Currently I have remindermacros and dateplugin
> all setup and working.  To see the reminder on a given day, I have to
> click on the day and view the popup.  I would prefer to have that info
> in the tooltip.

Sorry, no. This is not practical.  The reminders are only computed
when you CLICK on the date and the popup is rendered and, depending
upon the size of your document, this may not be all that quick, making
response time for the mouseover tooltip very sluggish or seemingly non-
responsive.  In addition, the tooltip itself is limited in the length
of text it can display.  Some browsers may display only one line of
tip text (with no text-wrapping).  Other browsers may wrap the text
(at some arbitrary), but not allow mutli-line text (i.e., with
embedded newlines).

> Lastly, the third item in my wish list is to remove future reminders
> from the popup.  If I click a day, the popup shows all reminders
> occurring within 30 days after that date.  Is there a tweek to have it
> show only reminders for that date ?  This might not be needed if the
> tooltip thing above works.

I've added a new internal config in [[DatePluginConfig]]:
   config.macros.date.leadtime=31; // find reminders up to 31 days
from now

Get the updates (v2.7.3) here:
   http://www.TiddlyTools.com/#DatePlugin
   http://www.TiddlyTools.com/#DatePluginConfig
   http://www.TiddlyTools.com/#DatePluginInfo

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----------
Was this answer useful? If so, please help support TiddlyTools:

   TiddlyTools direct contributions: (paypal)
      http://www.TiddlyTools.com/#Donate
   UnaMesa tax-deductible contributions:
      http://about.unamesa.org/Participate (paypal)
   TiddlyWiki consulting:
      http://www.TiddlyTools.com/#ELSDesignStudios
      http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to