[tw] Re: [5] How to install unofficial plugins?

2017-01-08 Thread Mike Wright


On Sunday, January 8, 2017 at 6:40:46 PM UTC-8, Mark S. wrote:
>
> The following is generic instructions that should work everywhere. 
>
> Open up the source plugin on the source site so that it becomes available 
> from the "Open" sidebar menu. Drag the link to the plugin tiddler over to 
> the tab of the target TiddlyWiki. Wait for a green bar to appear at the top 
> of the TiddlyWiki indicating that it is OK to drop. Drop the tiddler. A 
> tiddler with title $:/Import should appear offering you the chance to 
> import the new tiddler. Click on the "Import" button to import the item. 
> Repeat the process for any additional plugins or tiddlers that you want to 
> import.
>
> For many plugins, you will need to save and reload the target TiddlyWiki 
> file in order to activate the actions of the plugins.
>

Thanks Mark, that's what I needed.  I wasn't sure what tab you were talking 
about and then the bright green bar showed up at the top of the tiddlywiki 
page, et voilà. 

I'd mark this solved but I don't know how yet.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d2cd7f0e-051c-4e37-9b85-78c77c7b767d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [5] is there an alternate syntax to {{TiddlerName}} ?

2017-01-08 Thread Mike Wright
Hi everybody,

I've managed to use a template to create some tiddlers.  It works well. 
 The created tiddlers also work inside other tiddlers when called like this 
{{myTemplatedTiddler}} but doesn't work inside the <$tabs> macro.

Sooo, I'm trying to recycle the <$tabs> macro into <$myTabs> to avoid the 
transclusions.

There is <> available to me and I need to put it inside {{ }} 
but that doesn't work.  I've tested that I get the desired results if I 
just type in a {{tiddler name}} so now I have to figure out how to 
represent something like  {{<>}}.

Any helpers?

Thanks,
Mike Wright

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cb170ffd-f4f6-4eca-9a0d-8fbdcc57929a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [5] How to install unofficial plugins?

2017-01-08 Thread 'Mark S.' via TiddlyWiki
The following is generic instructions that should work everywhere. 

Open up the source plugin on the source site so that it becomes available 
from the "Open" sidebar menu. Drag the link to the plugin tiddler over to 
the tab of the target TiddlyWiki. Wait for a green bar to appear at the top 
of the TiddlyWiki indicating that it is OK to drop. Drop the tiddler. A 
tiddler with title $:/Import should appear offering you the chance to 
import the new tiddler. Click on the "Import" button to import the item. 
Repeat the process for any additional plugins or tiddlers that you want to 
import.

For many plugins, you will need to save and reload the target TiddlyWiki 
file in order to activate the actions of the plugins.

HTH
Mark

On Sunday, January 8, 2017 at 5:10:00 PM UTC-8, Mike Wright wrote:
>
> Hi everybody,
>
> I've copied a couple of plugins, Skeeve's "newtiddler" and Matabele's 
> "mangletags", into my filesystem.
>
> I created tiddlers with those names and cut and pasted the contents of 
> those files into the text area without much results  i.e. <$newtiddler/> 
> and <$mangletags/> remain undefined.  I saved and refreshed with the same 
> results.
>
> I tried "import" which seemed to work but didn't appear to do anything 
> i.e. <$newtiddler/> and <$mangletags/> remain undefined.  I saved and 
> refreshed with the same results.
>
> So I tried "ControlPanel->Plugins" but that seems only to want ones from 
> Official TiddlyWiki Plugin 
> Library 
> 
> .
>
> Can anybody point me in the right direction?
>
> Thanks,
> Mike Wright
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91844d28-cd79-46ea-8ec9-833eb99ea9df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [5] How to install unofficial plugins?

2017-01-08 Thread Mike Wright
Hi everybody,

I've copied a couple of plugins, Skeeve's "newtiddler" and Matabele's 
"mangletags", into my filesystem.

I created tiddlers with those names and cut and pasted the contents of 
those files into the text area without much results  i.e. <$newtiddler/> 
and <$mangletags/> remain undefined.  I saved and refreshed with the same 
results.

I tried "import" which seemed to work but didn't appear to do anything i.e. 
<$newtiddler/> and <$mangletags/> remain undefined.  I saved and refreshed 
with the same results.

So I tried "ControlPanel->Plugins" but that seems only to want ones from 
Official TiddlyWiki Plugin 
Library 
.

Can anybody point me in the right direction?

Thanks,
Mike Wright

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ee1e422-8e3a-466c-a43e-249ffd9a43de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] tiddlywiki with drop and drag function

2017-01-08 Thread Handoko Suwono
A friend asked. Is there any chance to use TW with the drop and drag 
functions or I don't know how? I think it's about anything related to drop 
and drag' and possibly related to work with tiddly desktop or the new 
beaker browser on OSx. 


Thanks.

handoko -

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c1822b3f-e780-4b00-8096-5684c7d93acd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Strange effect when using tm-new-tiddler

2017-01-08 Thread Ivan Aparicio
Guys,

Really good stuff - Tobias' code fixed my problem! For a dream diary, this 
is more than adequate, as I don't need the timestamp to be accurate to the 
second. I normally only have one dream to record per day!

Thanks again.

Ivan

On Sunday, January 8, 2017 at 6:10:55 PM UTC, Jeremy Ruston wrote:
>
> Hi Tobias
>
> However, notice that the date being used is the date when the button was 
> rendered, not the date when it was clicked!
>
>
> You can fix this by using an `actions` attribute with the button widget, 
> rather than embedded action widgets.
>
> Best wishes
>
> Jeremy.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6af9dbce-8360-4714-aedd-bcd32cfa4d9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Navigating and transcluding Slices...Missing Features for the atomic concept:

2017-01-08 Thread Jan

Hi Thomas,
I think a box below the Title in the editTemplate would be best for this 
purpose...and it would be good to show also in which tiddlers this 
tiddler is transcluded, in order to avoid breaking it's text up 
accidentally.


My current idea is also to use the extract-macro the other way 
round...in order to build a sort of replacemanet for slices. Mark a 
textpart ant then insert it somewhere else by means of the the macro.
It would be an idea to use the same mark-up for those slices as for 
slides. Somethin like  text1   text2 
To find them it would be nice to have a macro that would look like 
<>.

 Do you think that would work?

Yours Jan.





Am 08.01.2017 um 01:07 schrieb Thomas Elmiger:

Hi Jan

The extract macro  
offers a new solution to this:


-When you discover that the content you wish to change was
transcluded, it takes some time to get to the real tiddler; in
most cases I have to find and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?

As you would expect, it can find all {{transclusions}} in curly style 
– and with the new version (0.9.2) you can output them as a list of 
links. I made a demo here: http://tid.li/tw5/hacks.html#Icon%20Test 
where it lists all the images used.


I think such a list could be appended as a tab to the tiddler info 
panel … or maybe you could make a conditional view template and append 
it to the edit view. Of course you miss .


Good luck and good night!
Thomas
--
You received this message because you are subscribed to the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to tiddlywiki+unsubscr...@googlegroups.com 
.
To post to this group, send email to tiddlywiki@googlegroups.com 
.

Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5872AF81.10906%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Tracking of individual Tiddlers with Piwik or Google analytics

2017-01-08 Thread Cris
Hello everyone and thanks for your time.

Does anyone know how to implement either Piwik (preferred) or else Goggle 
analytics, so that individual Tiddlers may be tracked?
Both tools work perfectly fine on my website, however, only for the single 
URL / Page title where TiddlyWiki resides on.

I could only find instructions that are superseded;
For Piwik: http://piwik.tiddlyspace.com/
For Google analytics: 
http://christopherlakey.com/articles/tiddlywiki-google-analytics.html#!

Any help appreciated! Thanks.
Cris

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fdb4245a-b387-433e-ae7e-01440534a0c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [5] Why some places <> is evaluated and others it's just a string

2017-01-08 Thread Jeremy Ruston
Hi Mike

> On 7 Jan 2017, at 21:06, Mike Wright  wrote:
> 
> The value inside the [[]] and the href attribute is the string literal 
> "<>" but the value inside the  is "My Favorite Movie”.

Just to acknowledge that this inconsistency frustratingly crept in very early 
in TW5’s development, and then proved hard to fix without breaking backwards 
compatibility.

Best wishes

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FAB5245-B679-404F-BF48-3D470554105F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] I think I have found a small bug on KeyboardWidget

2017-01-08 Thread Jeremy Ruston
Hi Tobias

This is actually related to the conditional in the edit widget that we 
discussed a few weeks ago.

The issue is that when the button is clicked the text edit has the focus, thus 
the conditional kicks in and prevents the update.

You’ll recall that the purpose of the conditional was to prevent the 
cursor/selection position being lost when the value for the text input is 
updated. So the fix would be to manually preserve the selection position across 
the update.

Best wishes

Jeremy


> On 8 Jan 2017, at 14:48, Tobias Beer  wrote:
> 
> Hi again,
>  
> So the question is. Why does the edit-text widget not realize
> that its tiddler is gone or the text of it deleted and thus not refresh 
> accordingly?
> 
> I believe this is owed to a shortcomming in refresh handling:
> 
> The edit-text widget refreshes first. At that point, the keyboard widget 
> hasn't changed anything about its value.
> 
> Now the keyboard widget fires and does it's thing. However, the refresh cycle 
> is oddly done in a way that the edit-text widget does not check again if it 
> needs refreshing and so it just sits there, waiting for the next input.
> 
> So, the question is: how to modify the refresh handling, so that affected 
> elements know they need to double check, since one of the things they were 
> watching changed before the refresh cycle changed.
> 
> I am a bit astonished, that this problem of "sequence of events" wouldn't be 
> handled by the core already so that another refresh cycle would kick-in, 
> since the last one modified the store... or some such.
> 
> Best wishes,
> 
> Tobias.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/ac977126-7033-44af-b724-03bab9c34605%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1A803E1A-03F3-4063-BC1A-FC06D64ED7DF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Strange effect when using tm-new-tiddler

2017-01-08 Thread Jeremy Ruston
Hi Tobias

> However, notice that the date being used is the date when the button was 
> rendered, not the date when it was clicked!

You can fix this by using an `actions` attribute with the button widget, rather 
than embedded action widgets.

Best wishes

Jeremy.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/E63CD90D-C498-4693-B153-954EBE174E3F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Sameday filter operator requiring tomorrow's date to match <> of just created tiddler field

2017-01-08 Thread 'KML' via TiddlyWiki
Tobias,

Thanks for your continued pointers. I'll need to digest what you wrote 
below, but in the meantime, I found that your $setvars widget 
(http://tobibeer.github.io/tw5-plugins/#setvars) solved my transclusion (if 
not my GMT comprehension) problem.  After finding a related prior 
thread, [TW5] Passing a Transcluded Field Value to a Filter, I was able to 
get the following code to filter for tiddlers that had the first 8 
characters of their modified field matching the contents of !!date-search.

<$setvars _anchor="^" _date={{!!date-search}} dateRegExp="anchor date" >
__List of tiddlers with 'modified' field matching variable defined with 
setvars =<>__ 
<$list filter="[regexp:modified]">  
<$link><><$view field=modified format=date 
template="0MM0DD" />  



While I'm not clear on all the implications of timezone conversions, I do 
wonder if part of my confusion is how TW interprets an 8 digit date field 
when there is no time information present.  For example, would a date field 
containing only "20170108" always refer to this 8th day of January 
regardless of time zone, or could TW possibly also take it to be the 7th 
day in the western hemisphere because it pads it out to be 2017010800 
GMT = 2017010717 in GMT - 7 for example?  I find it more intuitive to 
interpret "20170108" as a local date, without regard to time zone, always 
associated with my journal tiddler from the 8th, but I can understand why 
the mechanics of TW would want to handle 20170108 the same as 201701080.

This discussion does bring up a conceptual distinction question in my mind 
about the behavior of the sameday operator. Are the two tiddler fields 
2017010101 and 20170101235959 in the same day everywhere as evaluated 
by sameday[...], or does the answer depend on the time zone? If the answer 
depends on the time zone, then I guess I need to record the "date only" 
field in my journal tiddler to be MMDD07 if I'm in UTC - 7. And 
then I'd have to dynamically change this field if I shifted time zones. 
Perhaps a better alternative is always using a macro that subtracts the 
timezone offset from (adding 7 hours in my case) a specified 8 digit date 
before using it as the parameter of the sameday operator.

I am under the impression that GMT and UTC both refer to a time rather than 
a format, and that they are within a fraction of a second of each other. 
For example, the header to your message below, generated by Google for 
better or worse, gives a time in UTC - 7.

Thanks again for your continued insights,
Kevin

On Sunday, January 8, 2017 at 6:51:33 AM UTC-7, Tobias Beer wrote:
>
> As a general note,
>
> Make sure not to mix up UTC and GMT.
>
> UTC is a standard used for storing date-time information.
>
> GMT, however, refers to a timezone in UTC.
>
> [...]
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e12bfda4-3821-4f20-a0ba-400ec8e2387f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Is there a single, concise upgrade HowTo anywhere?

2017-01-08 Thread Jeremy Ruston
Hi Lloyd


> I have been using TWC since 2011, over the years making it my single main 
> documentation repository for all of my IT notes and documentation.  As TWC 
> had had more and more browser specific issues with javascript problems, save 
> difficulties and everything else, I decided maybe it is time to look at 
> upgrading to TW5.

There aren’t any browser-specific issues that affect TWC but not TW5. I would 
say that the only reason to upgrade an existing TWC wiki to TW5 is if you want 
to take advantage of the new features. If not, and TWC is working OK for you, 
there’s really no reason to upgrade. TiddlyFox and TiddlyDesktop support TWC 
alongside TW5, and will continue to do so.

Best wishes

Jeremy.

> I have done a couple of hours of reading and found the upgrade assistant.  I 
> tried that and of course it now wants me to upgrade each tiddler as I open it 
> to convert the classic tiddly markup to the new.  The problem is, It totally 
> scrambles the formatting of every tiddler.  As an IT person, I have made 
> extensive use of the {{{ ... }}} markup for blocks of code.  These are all 
> pretty much illegible after the "upgrade".  So now it appears that I have the 
> choice on whether or not I want to manually reformat between 600 and 700 
> tiddlers, stick with the growing pains of TWC, or just punt and use another 
> tool.
> 
> Is there a simple, single document or sticky thread that contains 
> instructions for moving from the classic platform to the 5 version?  And 
> before someone says to search and read all of the messages already here, I do 
> not have time.  My boss is paying me to administer databases and servers, not 
> dig into the intricacies of jason, css, and node,js.  I am already regretting 
> the time I invested in learning classic tiddly markup and plugin architecture 
> as that is now worthless.
> 
> I have done some searching of the Google Group and seen some threads about 
> further development of upgrade tools similar to what I am looking for.  Can 
> anyone give a status or timeframe on these?
> 
> I apologize for the tone of frustration in this post, but time is limited and 
> I am not wanting to do much tweaking or development within the platform.  I 
> am just a user, by no means technically illiterate, who just wants to take 
> almost six years of accumulated tiddlers and seamlessly upgrade them to the 
> new format.
> 
> Thank you in advance for any help anyone can hopefully give me and Happy New 
> Year.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/140a3491-18f3-46ac-a6f8-8502894cfa21%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/A9616955-EB65-4C55-A5BB-707FDBC9DBF5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] mp3 and mp4

2017-01-08 Thread Fco Javier González Domínguez
Someone knows how to play *mp3* and *mp4* in *tiddlywiki classic* on an* 
ipad with twedit*.

I've tried two methods.
1º 

[tw] Re: [tw5] how to $transclude image from second field if first field is empty or doesn't exist?

2017-01-08 Thread sini-Kit
Thank you, Tobias! It is very simple and works good. I'll take it.

воскресенье, 8 января 2017 г., 17:11:32 UTC+3 пользователь Tobias Beer 
написал:
>
> Hi sini-Kit,
>
> use the list widget for conditionals:
>
> <$list filter="[all[current]has[image150x150]]">
> ...render image...
> 
>
> <$list filter="[all[current]!has[image150x150]]">
> ...render fallback...
> 
>
> Best wishes,
>
> Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e257678b-d523-40c9-ae7e-41e82819b50f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Strange effect when using tm-new-tiddler

2017-01-08 Thread PMario
Hi folks,

There's a related open issue at github: 
https://github.com/Jermolene/TiddlyWiki5/issues/1553 with a little bit of 
discussion between me and Jeremy. ... We couldn't find a good solution yet. 
So a new pair of eyes may be of help here ;)

The goal would be to solve the problem at the core level ... if possible. 

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5cbc06dd-8170-4ae5-ba73-40bc7ba584ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Strange effect when using tm-new-tiddler

2017-01-08 Thread CL
Hi Ivan

Check 
http://tiddlywiki.com/#DateFormat

that 'am' at the end of 'dream'
has been interpreted as am/pm indicator

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e20136c1-3ff9-48b1-9c19-6e1ba158fa9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Strange effect when using tm-new-tiddler

2017-01-08 Thread Tobias Beer
Hi Ivan,
 

> The strange thing, is that when I click the button, the word 'Dream' in 
> the title shows up as 'Drepm'!
>

Well, the sequences *am* / *pm *are valid date formating characters.  ;)

Try:

<$vars prefix=<> title="$(prefix)$-Dream">
<$button>
  ''Dream''
  <$action-sendmessage 
  $message="tm-new-tiddler" 
  $template="" 
  title=<> tags="Journal [[Dream]]"/>



However, notice that the date being used is the date when the button was 
rendered, not the date when it was clicked!
Atm, I am not sure how one could make it so it would use the date / time of 
clicking the button.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/59a562d8-7fba-4fd3-8b5f-267d373f6fcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: I think I have found a small bug on KeyboardWidget

2017-01-08 Thread Tobias Beer
Hi again,
 

> So the question is. Why does the edit-text widget not realize
> that its tiddler is gone or the text of it deleted and thus not refresh 
> accordingly?
>

I believe this is owed to a shortcomming in refresh handling:

The edit-text widget refreshes *first*. At that point, the keyboard widget 
hasn't changed anything about its value.

Now the keyboard widget fires and does it's thing. However, the refresh 
cycle is oddly done in a way that the edit-text widget does not check again 
if it needs refreshing and so it just sits there, waiting for the next 
input.

So, the question is: how to modify the refresh handling, so that affected 
elements know they need to double check, since one of the things they were 
watching changed before the refresh cycle changed.

I am a bit astonished, that this problem of "sequence of events" wouldn't 
be handled by the core already so that another refresh cycle would kick-in, 
since the last one modified the store... or some such.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ac977126-7033-44af-b724-03bab9c34605%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: I think I have found a small bug on KeyboardWidget

2017-01-08 Thread Tobias Beer
Hi again CL & *@Jeremy*, 

Try typing some, and then hit enter only to see that there's no input event 
> firing.
>

What's also not clear at all is how the edit-text widget manages refreshing.
This appears to be implemented different from other widgets.
So the question is. Why does the edit-text widget not realize
that its tiddler is gone or the text of it deletd and thus not refresh 
accordingly?

All in all, I think this should be reported as a bug at the github repo.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/088cbaa2-79ba-43d7-bfab-763d86fcbb07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Strange effect when using tm-new-tiddler

2017-01-08 Thread Ivan Aparicio
I've created a button that will allow me to make an entry in a dream diary. 
Here's the code:

<$button>
  ''Dream''
  <$action-sendmessage 
  $message="tm-new-tiddler" 
  $template="" 
  title=<> tags="Journal [[Dream]]"/>


The strange thing, is that when I click the button, the word 'Dream' in the 
title shows up as 'Drepm'!

I have no idea why - does anybody have any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/efb6114c-b4be-465e-9759-10bc4d884a0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: I think I have found a small bug on KeyboardWidget

2017-01-08 Thread Tobias Beer
Hi CL,

As for a simple input element, the problem is that it does not listen to 
the enter key, since it only binds the *input* event, which imho is a 
problem.

This fiddle illustrates how the input in TiddlyWiki doesn't receive any 
event.and thus doesn't update.

https://jsfiddle.net/tobibeer/593zpemu/

Try typing some, and then hit enter only to see that there's no input event 
firing.

I would argue there needs to be a keyup handler as well that only, 
explicitly listens to the enter key.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a228878e-ec83-4cfb-a22f-1cdcd3d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5] how to $transclude image from second field if first field is empty or doesn't exist?

2017-01-08 Thread Tobias Beer
Hi sini-Kit,

use the list widget for conditionals:

<$list filter="[all[current]has[image150x150]]">
...render image...


<$list filter="[all[current]!has[image150x150]]">
...render fallback...


Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/60a7e0e3-6a5a-4915-b5ed-85041056062a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Navigating to a specific headline or slice in TW5

2017-01-08 Thread Tobias Beer
Hi Mark,
 

> Slices are different in several important ways. To start, they are much 
> lighter than a full tiddler. Each tiddler has about 60 characters 
> overhead.  More importantly, slices are RIGHT THERE while you edit. You 
> don't have to click link, then click again to edit the tiddler, then close 
> the tiddler, then check how it all works back in the main document. You 
> don't have to wrack your head to to write a unique descriptive link for 
> every semantic unit. You get to see the actual text and not a widget. You 
> don't have to worry that changing a tiddler title  will break a dependent 
> document.
>

Mhhh, not sure. I don't think there currently is a way to tell TiddlyWiki 
to just use a single textarea to edit the entire tiddler as if a ".tid" 
file.
I think it would be cool for pro-users, even to switch on the fly between 
the two modes.

Atually, it might even be three modes:

   1. each field on its own, as is
   2. one textarea, as if a "tid file"
   3. title and tags on their own, as is, but custom fields and text as if 
   a tid-file, eventually concatenating all of that to a tid file and commiting

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f9d29d65-0a1b-4d05-8ffc-f70d7cbf5e36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Sameday filter operator requiring tomorrow's date to match <> of just created tiddler field

2017-01-08 Thread Tobias Beer
As a general note,

Make sure not to mix up UTC and GMT.

UTC is a standard used for storing date-time information.

GMT, however, refers to a timezone in UTC.

The problems in TiddlyWiki stem from storing dates in GMT, so that all 
users around the globe have the same date reference when looking at a 
tiddler.

In other words, when you look at a plain date value in a tiddler, e.g. via 
{{!!modified}} it is not shown in "your time", but simply as plain text.

If you want it to be displayed in your time or *selected compared to your 
time* then you first need to have it converted into your time in order for 
it to be displayed accordingly, or compared to some other date in local 
time you wish to compare some date to, for example. That is why regexp is 
not your friend, unless you first manage to translate the date you wish to 
compare against to GMT, which more or less just switches what ends of the 
puzzle you need to flip so as to solve it.

Practically speaking:

*tiddler-date*: 20161213235959
*query-**date*: 2017010100

Supposer "tiddler-date" is a date value as stored in a tiddler and 
"query-date" is a date value as you happen to make it up so as to say "give 
me everything before that date", e.g. via some filter.

Now, suppose that you have no clue about GMT and so "query.date", for you, 
is defined as the time you see on your clock. If your use regexp to run 
that filter, and you're ass is not sitting on top of a GMT couch, then you 
may or may not actually yield the desired result, since you would first 
need to figure out what your query date translates to for GMT. Or, put 
differently, someone sitting in India looking at your wiki, doing your 
exact query, must inevitably get different results... since 0 o clock on 
Jan 1 for them isn't 0 o clock on Jan 1 for you.

However, the above assumes that you actually managed to store 
"tiddler-date" in some custom "date field"... properly, in GMT. I would 
suspect most implementations, including the one where you type that in by 
hand, do not respect the convention that the date eventually needs storing 
in GMT. Now, this produces a total mess, since you have core dates stored 
in GMT and some user defined dates stored in whatever time their clock was 
showing when typing. The only way you can fix this, is to somehow 
batch.convert the dates stored wrong to GMT and to then store them properly 
in GMT, so that standard date fields and custom date fields speak the same 
language. Let's just hope and assume, you didn't answer some of your custom 
dates while you were in Tokyo and others while you were in Guatemala. Then 
you pretty much need to restart with your efforts recording time, or fix 
every date manually.

Best wishes,

Tobias. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a657a46-992f-4a11-8aee-da1ec3817fdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [5] Why some places <> is evaluated and others it's just a string

2017-01-08 Thread Tobias Beer
Hi Mike,
 

> I have a tiddler with tabs, each tab caption is the name of a video that 
> is also the name of a matching tiddler that has the  markup to 
> YouTube.  I need to be able to use a link in the embedded tiddler to get to 
> that same tiddler, only stand alone, i.e. separate from the twiddler with 
> all the tabs, because it has additional controls such as Watched (uncheck 
> to unWatch, etc.)
>

Sounds interesting to have the caption actually point to another tiddler. 
On the other hand, what's the title of that Movie tiddler then, if not its 
caption? What do you display as the tab title? Would be great if you could 
post some results in the end.so we can have a look at how that unfolds.

>
>  It's quite odd to see that url be filled with the title. Video being 
>> defined as "My Favorite Movie", it's definitely not a URL for anything.
>>
>
> It's not. It's the name of a tiddler. 
>

Ah, ok. Now I understand what you were after. Generally speaking, you can 
actually use the generic html a element, but it's not as convenient s the 
shorthand wiki syntax or the link widget version. In general, you can 
address tiddlers via anchors like so:

<$vars anchor="#$(title)$" title="Customise TiddlyWiki">
> class="tc-tiddlylink"><$text text=<>/>


In the above, the link to the tiddler is created as an anchor, basically 
concatenating the # sign with the title stored in a $(variable)$ for 
substitution when rendered, I've given it the class *tc-tiddlylink *to have 
it look like an internal link. Not that I would know if and when that is 
useful, but just so you know that it does, in fact, work that way, too.
 

> Next stop is to create a form tiddler that will collect the video info and 
> generate an appropriately tagged tiddler for it so it will automatically 
> appear in the "tabs" page, which will finish my video library/player app
>

Will be interesting to see, if and how you'll be implementing some sort of 
categorization.

For example, you could very well have "movie category tiddlers" that will 
automagically show a list of movie tabs at the bottom when you open them 
using some:

Conditional ViewTemplate Section @ tb5 


e.g. "Drama" is a tiddler tagged "Movies" and "Garden State" and "Lost in 
Translation" are tiddlers tagged "Drama", then you could define a 
conditional ViewTemplate like so which should render tabs for the last two 
for the tiddler "Drama":

title: $:/_my/movies/tabs
tags: $:/tags/ViewTemplate
list-after: $:/core/ui/ViewTemplate/body

<$list filter="[all[current]tag[Movies]]">
<$vars state="$:/states/tabs/movies/$(currentTiddler)$">
<$set name="first" filter="[all[current]tagging[]limit[1]]">
<$set name="first" filter="[get[caption]]" emptyValue=<>>
<$macrocall $name=tabs tabsList="[all[current]tagging[]]" default=<> 
state=<>/>





Now, there's plenty going on here, but after a bit of deciphering it's 
quite clear what's going on and how that works:

   1. we define some system tiddler tagged *$:/tags/ViewTemplate* to be 
   shown after the general body / content of the tiddler:
   2. it's contents will only show anything, if the current tiddler is 
   tagged *Movies*, hence a movie category
   3. we define a *state* to be used for the tabs we render later based on 
   the name of the movie category
  - using this state, TiddlyWiki remembers the "open tab"
  - the name of the state is what you want, but I generally put it 
  under "$:/states/whatever"
  - I never save those, because they are not save-worthy to me
 - MS Word also doen't remember if in the last session you had the 
 file menu open, and so it opens that again, highlighting the last item 
you 
 were hovering with your mouse
  4. we figure out a way to identify the *first* item to be shown in 
   the tabs,
  - because nothing is more awful than the a first tab not being 
  displayed by default when the tabs are rendered
  - so there's a set widget using a filter to determine the first tab 
  tiddler, the first movie tiddler tagged with that movie category
  - another set widget again uses a filter to fetch any caption for 
  that tiddler, defaulting to the title... which is what TiddlyWiki stores 
in 
  that tabs state
   5. eventually we render the tabs
  - you probably will / want to use a custom template for showing your 
  movie details
   
Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f31cc4a8-4a68-43aa-b5a4-34e0068d5759%40googlegroups.com.
For more 

[tw] Re: Form Creator

2017-01-08 Thread Jed Carty
I keep planning on making a from creator like you are talking about but I 
haven't gotten around to it yet. It is possible but it may be a significant 
amount of work to make a generic form creator. It is much simpler to just 
make each form as you need it.

And for the second part, if you don't care about security you can just add 
a tag or field that removes the edit button from tiddlers you don't want 
users to edit. Someone has a guide to adding css based on tags that 
explains how to do it.

So the answer to both of your questions in that it is possible but I don't 
know if anyone has made the things to do it yet.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4e88e244-dbb9-47ae-9031-c71025522cc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] I think I have found a small bug on KeyboardWidget

2017-01-08 Thread CL
Minial test code:
\define macro()
<$action-setfield $tiddler="Tiddler" text={{$:/state/tiddler}}/>
<$action-setfield $tiddler="$:/state/tiddler" text=""/>
\end

<$keyboard actions=<> key="enter">
<$edit-text tiddler="$:/state/tiddler" tag="input"/>


I wanted edit-text field to be cleared after I trigger action with 
KeyboardWidget.
Text field of the state tiddler does get cleared,
but the edit-text field remains same.
I guess this is a bug.

Best wishes,
CL

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2416f846-fd56-4dc5-a8c9-6991a1a63102%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Question - Does a plug in exist to make Hash Tags for Inline #Tags in TW5?

2017-01-08 Thread BJ
Hi Rich,
this happens if tw cannot recognise the last part of the filename as 
'.json'. I can reproduce this behavior by appending a space to the file 
extension ie '.json '. So I would try renaming your json files. Note that 
if you import one of these (non-working) files then click on the edit 
button in tiddlywiki, you can position the curser at the end of the tiddler 
name to see if there is a blank space added to the file name.

All the best
BJ


On Sunday, January 8, 2017 at 3:30:23 AM UTC+1, RichShumaker wrote:
>
> I was able to drag and drop the plug in. THANK YOU.
> I can add a plug in from the repository.
> I can drag and drop a plug in.
> JSON's for some reason just don't work for me and I have tried many 
> browsers on this computer and many TW5 files.
>
> In regards to why I can't get JSON's to work I blame me.
> I am sure there is something that I don't understand or that I am doing 
> incorrectly.
>
> I will try to troubleshoot this except I am the only one that has ever 
> reported it that is why I think I am the actual issue.
>
> If I find a solution to the JSON issue I will let you know and I will try 
> everything that people suggest as I would like to know what is up.
> I was able to get hashtag2tag to work in my ecosystem, I use FF, I will 
> try to test on Chrome except I don't use Chrome day in day out.
>
> Rich Shumaker
>
> On Saturday, January 7, 2017 at 1:25:26 AM UTC-8, Riz wrote:
>>
>>
>>
>> That is an interesting bug. I am afraid I don't have a solution for that 
>> issue.
>>
>> However, here is where I kept the original copy of the plugin. 
>> https://tesseract-index.bitbucket.io/pluginsandmacros/hashtag2tag.html
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9264f266-267e-4ca6-bc83-63eae9d70864%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Form Creator

2017-01-08 Thread slke
Hi, I would like to know if there is an existing plugin/tiddler that allows 
me to create a form. Either TW5 or TW Classic is fine. I will need the form 
to have logical conditioning, i.e. if I select a certain radio 
button/checkbox, a particular field will be disabled/greyed-out.

Separately, for TW5, I found a plugin that allows me to password protect 
individual tiddlers but it prevents it from being read. Is there any way to 
password protect specific tiddlers such that the single tiddler cannot be 
edited? I don't really care if it is not secure. 

My first query takes precedence! Let me know if TW is not the right app for 
this. It is for completely desktop based offline browser use.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0bb7839e-4a91-4f77-913c-126030ec90f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.