Re: Create new action button response inconsistent

2010-08-08 Thread kenorasis
BTW, forgot to mention that this refers to mGSD.

On Aug 5, 9:31 pm, kenorasis kens...@gmail.com wrote:
 When a click on the + buttons in a project tiddler (Create a new...)
 I sometimes get a popup prompt asking for the name of the new action
 -- but sometimes + just invokes the slider.

 For newly created projects, I get the prompt (which is what I would
 prefer). But once I click on [active] or [someday/maybe], all I get is
 slider action. This happens both in FF and IE8.

 I had a look under the hood, but couldn't figure it out. Anybody have
 any ideas?

 ken

-- 
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to gtd-tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/gtd-tiddlywiki?hl=en.



Re: Is there a way to look at all upcoming ticklers within the next week?

2010-08-08 Thread Gary Buckley
Worked like a charm, thanks.

It was interesting to see the method for adding function calls into
the system too.

Cheers,
Gary

On 6 Aug, 15:42, Michael Scherer misc0...@googlemail.com wrote:
 I wrote a function that can be used instead of
 tiddler.tiddlerisActive().

 Create a new tiddler named 'TicklerWillBeActiveWithin' with the two
 tags 'systemConfig' and 'exludeSearch' (all without quotes, of
 course). Copy all the text between the BEGIN and END lines into the
 content field:

 //BEGIN
 merge(Tiddler.prototype,{
         ticklerWillBeActiveWithin: function(numDays) {
                 // Ignore ticklers without date
                 if (!this.fields.mgtd_date)
                         return false;

                 var nowTime = new Date();

                 // Respect user settings (see ticker.isActive())
                 var defaultHourToActivate = 5; // fixme put elsewhere
                 var hourToActivate = 
 config.mGTD.getOptTxt('tickleractivatehour') ||
 defaultHourToActivate;
                 if (nowTime.getHours()  hourToActivate) {
                         // Too early in the morning, go back one day.
                         nowTime.setDate(nowTime.getDate() - 1);
                 }

                 // Start tomorrow
                 startTime = new Date(nowTime.getFullYear(), 
 nowTime.getMonth(),
 nowTime.getDate() + 1);
                 // End in numDays days
                 endTime = new Date(nowTime.getFullYear(), nowTime.getMonth(),
 nowTime.getDate() + 1 + numDays);

                 return (startTime.convertToMMDDHHMM() = 
 this.fields.mgtd_date
  endTime.convertToMMDDHHMM() = this.fields.mgtd_date);
         }

 });

 //END

 Save your wiki and reload it. Now, you can use the function in your
 mgtdList as follows: (Note the changed 'where' clause)

 //BEGIN
 mgtdList title:'Upcoming Ticklers'
         startTag:Tickler
         tags:'!Actioned'
         view:Tickler
         mode:global
         newButtonTags:'Tickler Once'
         where:'tiddler.ticklerWillBeActiveWithin(7)'
         sort:'tickleDate'
         ignoreRealm:
 {{config.mGTD.getOptChk('AlertsIgnoreRealm')?'yes':''}}



 //END

 This will show all future ticklers for the next 7 days. Of course, by
 replacing the '7' in the list's where clause with another number, you
 can define any other period.

 HTH,
 Michael

-- 
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to gtd-tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/gtd-tiddlywiki?hl=en.



[tw] How do get the NewMeansNewPlugin to work?

2010-08-08 Thread Tobbe
Hi,

I downloaded a new empty TW from the original site. I installed
NewMeansNewPlugin from http://mptw.tiddlyspot.com/ via backstage.
Reloaded the TW and then what, where is it? Do I need to add it to
ViewTemplate or something or is it depending on other plugins aswell?.
Yes I know I can download a copy from MonkeyPirate but I only want one
plugin from that site so I can have several tiddlers withe the same
name with a number in ( ) parantes.

//Tobbe

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



[tw] Re: How do get the NewMeansNewPlugin to work?

2010-08-08 Thread PMario
Have you tagged it systemConfig?

NewTiddler - save without any change
NewTiddler - should give NewTiddler (1)

-m

On Aug 8, 9:52 am, Tobbe torbjorn.tornqv...@gmail.com wrote:
 Hi,

 I downloaded a new empty TW from the original site. I installed
 NewMeansNewPlugin fromhttp://mptw.tiddlyspot.com/via backstage.
 Reloaded the TW and then what, where is it? Do I need to add it to
 ViewTemplate or something or is it depending on other plugins aswell?.
 Yes I know I can download a copy from MonkeyPirate but I only want one
 plugin from that site so I can have several tiddlers withe the same
 name with a number in ( ) parantes.

 //Tobbe

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



[tw] Bar/Pie/Line Charts in TiddlyWiki using g.raphael

2010-08-08 Thread rakugo
I did a bit of a hack on Friday to take tables of data and put them
into useful charts.
I'm hoping this well help convert lots of Excel users to using
TiddlyWiki instead... we'll see!

There are lots of examples and the code at:
http://charts.tiddlyspace.com/

Interested in thoughts, ideas - in particular around generating tables
of data easily.
Jon

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



[tw] Re: pass paramter through a link

2010-08-08 Thread rakugo
So if I understand correctly
1) you have a tiddler called Test, maybe the text is hello %1.
You want to create a link [[Test]] that when clicked opens up Test but
passes a parameter through so when you open Test you get Hello Jon or
Hello Bob or Hello Kriss..

This is not possible as far as I'm aware - first a single tiddler can
only be displayed once at a time. So you couldn't have several tests
opened with Hello Jon, Hello Bob, Hello Kriss as the text. Also it
might get confusing to a reader if they are viewing the tiddler with
title Test and it says Hello Jon, and they click what looks like the
same link later and it says Hello Bob.

One thing you could do is use the message macro.
So instead of using %0 use this macro.
eg. hello message options.txtUserName

will print out hello jon if the value of config.options.txtUserName
in javascript is jon.
I imagine your list macro could set some other value in config.options
before opening? The advantage of this is a view source on the tiddler
will reveal what is going on to the user if he sees it say hello jon
at one point and hello bob at another point.

Are you aware of my Tiddlers plugin which also allows looping over
tiddlers?:
http://tiddlers.tiddlyspace.com/

Jon
On Aug 7, 5:12 pm, Kriss bipah...@gmail.com wrote:
  Hi Kriss

   I don't want to transclude but link to the test-tiddler: something
   like   [[TEST with:PARAMETER]]

  To me it sounds like you are trying to create new tiddlers with:
  parameter.

 thank you Måns for your answer, but in fact, this is not what I wanted
 to do.
 The tiddlers exist already, I only want tot *link* to them, in stead
 of *transcluding* them ...  thus, using the  [[ ... ]]  notation in
 stead of the tiddler ...   notation.
 Piont is that using the transclusion, one can pass the parameters
 $1..$9 to the slave tiddler...
 I want to do the same by *linking* to them.

 I understand, in fact, your proposal for creating new tiddlers might
 be a sort of work-around, but it will create a lot of new tiddlers
 which is not desirable.

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



[tw] Re: pass paramter through a link

2010-08-08 Thread Eric Shulman
 1) you have a tiddler called Test, maybe the text is hello %1.

Note:
The %n syntax is used by the TW core's String.prototype.format()
function.  However, the 'substitution markers' used by the tiddler
macro are denoted by:
   $1, $2, $3, $4, $5, $6, $7, $8, $9
This difference is *important*, as it allows both types of syntax to
be used in the same tiddler, without conflicts.

 One thing you could do is use the message macro.
 So instead of using %0 use this macro.
 eg. hello message options.txtUserName
 will print out hello jon if the value of config.options.txtUserName
 in javascript is jon.

Although the core macro is useful for displaying text from internal
variables (e.g., config.options.txtUserName), it will only render
*text*.  For example, if the current user name is a WikiWord, using
the message macro won't render that WikiWord as a link... and,
unfortunately, you *cannot* write something like this as a workaround:
[[message options.txtUserName]]
because macros render their own output directly into the document
display, rather than returning text results that can then be
combined and rendered.

Fortunately, you CAN assemble and render full wiki-syntax formatted
content, using:
http://www.TiddlyTools.com/#WikifyPlugin

The plugin defines a new macro, wikify, that takes a format
string and a set of value parameters that are substituted into the
format string and then rendered.
   wikify format value value value value ...

For example:
   wikify [[%0]] {{config.options.txtUserName}}
will output the same username as the message macro, but it will be
formatted as a fully-functional TiddlyLink.  Note: the formatstring
param uses the Javascript %0..%9 substitution markers to avoid
conflict with $1..$9 markers used by the tiddler macro.

For complete documentation and examples, see:
http://www.TiddlyTools.com/#WikifyPluginInfo

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

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



[tw] Extending TiddlerName##Section Header to support html anchors

2010-08-08 Thread rouilj
Hi all:

In some tiddlers, there just isn't a good place to put a section
header, but you still want to create a reference
to a specific sentence, paragraph or description item in the tiddler.
I can add:

 htmla name=myAnchor /a/html

and reference it from within that tiddler using

htmla href=#myAnchor link to myAnchor/a/html

But I can't use the anchor if it's in a different tiddler.

What are the downsides of modifying the handling of [[link|
TiddlerName##section title]] to:

* if section title exists as a section title in TiddlerName, jump to
that
* if section title doesn't exist as a section title, look for an
anchor with the name section title in TiddlerName and if it exists,
jump to there
* if neither exist jump to the beginning of the TiddlerName

For use in tiddler TiddlerName##section title I guess the same
algorithm could be used, but I am not sure how useful it would be for
named anchors as I am not sure what happens:

   htmla name=texthere/htmlwhen an named anchor tag
encompasses texthtml/a/html.

Is that an addressable item in jQuery? If so and I can do a jQuery('a
[name=texthere]').text() or
some such then it could replace the functionality of the
PartTiddlerPlugin.
Adding Eric's AliasPlugin to reduce the typing to a texthere ...
/a would be a trivial exercise
at that point.

-- rouilj

Quips, comments, evasions, questions or answers anyone?

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



[tw] Re: How do get the NewMeansNewPlugin to work?

2010-08-08 Thread Tobbe
Hehe, damn, miss that one, thanks. It works now

//Tobbe

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



[tw] Re: Extending TiddlerName##Section Header to support html anchors

2010-08-08 Thread rouilj
On Aug 8, 2:25 pm, rouilj rou...@cs.umb.edu wrote:
 For use in tiddler TiddlerName##section title I guess the same algorithm 
 could be used, but I am not sure how useful it would be for
 named anchors as I am not sure what happens:

    htmla name=texthere/htmlwhen an named anchor tag encompasses 
 texthtml/a/html.

 Is that an addressable item in jQuery? If so and I can do a jQuery('a 
 [name=texthere]').text() or
 some such then it could replace the functionality of the PartTiddlerPlugin.

Well I did a little testing and I think I discovered a bug. According
to:

 http://www.w3.org/TR/html4/struct/links.html#h-12.2.3


Suppose we define an anchor named anchor-one in the file one.html.

...text before the anchor...
A name=anchor-oneThis is the location of anchor one./A
...text after the anchor...

This creates an anchor around the text This is the location of anchor
one.. Usually, the contents of A are not rendered in any special way
when A defines an anchor only.


so it looks like:

htmla name=texthere/htmlwhen an named anchor tag
encompasses texthtml/a/html.

should work except when I typed this into tiddlywiki and looked at it
with FireFox 3.6.8 and Firebug 1.5.4, I saw the following structure:

  spana name=texthere/a/spanwhen an named anchor tag
encompasses text

huh, where did the /a come from? Running
jQuery(a[name='texthere']]).text() in the firbug console returned no
text which given the rendered
code looks right. Changing the tiddler text to:

htmla name=textherefoo bar/htmlwhen an named anchor tag
encompasses texthtml/a/html.

resulted in foo bar being rendered *as a link* and when hovered over
it showed javascript: as the href. However using
 jQuery(a[name='texthere']]).text() did return the expected foo
bar which was great for using a to replace the
PartTiddlerPlugin, but the rendering of foo bar as a link was
unexpected (and I think incorrect). Also I would argue
that adding the /a seemingly automatically by /html is also wrong,
but I could see that being 'corrected' by the
browser as a result of the /span, so I am not sure quite where that
malfunction occurs.

-- rouilj

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



[tw] Re: Bar/Pie/Line Charts in TiddlyWiki using g.raphael

2010-08-08 Thread Måns
Hi Jon
 I did a bit of a hack on Friday to take tables of data and put them
 into useful charts.
 I'm hoping this well help convert lots of Excel users to using
Simply brilliant and very beautiful indeed!!
I really like the different graphical representations - and the simple
animations are awesome.
I will try to put it my TW with Paul S's slideShowPlugin - and see if
this combination eventually will end the need for powerpoint once and
for all :-)

Great job - and thanks for sharing!!

Regards Måns Mårtensson

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



[tw] TSpace faq: How include only individual tiddlers?

2010-08-08 Thread twgrp
Unless I misunderstand something, including a space resets the 'local
layout' to the layout of that last included space. I'd assume this is
not typically desired. Or, more generally, various undesired tiddlers
are included also.

Is there a way to include only individual tiddlers? Or sets of
tiddlers?

:-)

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



[tw] ImagePathPlugin fails silently to find file on chrome 5.0.375.125 beta

2010-08-08 Thread rouilj
Hi all and Eric:

I am testing a tiddlywiki with ImagePathPlugin installed and it works
file under
firefox 3.6.8 displaying .../support/images/main_lk.png, but under
chrome it fails to find
the file or display an error.

I am running chrome with:

--enable-file-cookies --allow-file-access-from-files

but AFAICT the config.formatterHelpers.fileExists located in
ImagePathPlugin doesn't have a case for chrome.

Also I realize it's alpha, but it's a useful tool when displaying
images in a tiddlywiki.

-- rouilj

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