Re: [tw5] Re: Daily Task Macro - buttons no longer change color in 5.2.0-prerelease

2021-08-15 Thread cmari
Hello all,  
Thanks!! Thanks to Mario for a way to wrap the macro that works perfectly. 
Thanks to Jeremy and Saq for all of the explanations - for me those always 
make it easier to adapt to change. Thanks to Saq for persisting with a 
search for alternatives in the face of my insistence on wanting what I 
want. And thanks to Josiah for highlighting the amazing longevity of TW 
tools.  

One further question that would help my understanding of things: is the 
wrapping enough to restore this macro to acceptability? Or is there really 
some deeper fundamental problem being described by "broken", "off-spec", 
and "improper" that means I should think of the wrapping as only a 
temporary bandage? 
cmari


On Sunday, August 15, 2021 at 9:55:55 AM UTC-7 PMario wrote:

> Did more tests ... It seems to be 
>
> <$vars x={{!!toggled}} y={{!!barray}}>
> <>
> 
>
> -m
>
> On Sunday, August 15, 2021 at 6:41:56 PM UTC+2 PMario wrote:
>
>> On Sunday, August 15, 2021 at 1:20:54 PM UTC+2 Jeremy Ruston wrote:
>>
>> * It should usually be easy to fix: wrap the macro invocation in a 
>>> <$tiddler> widget referencing the tiddler in question
>>
>>
>> I did test that, but it seems the tiddler-widget only views the 
>> tiddler-attribute for a change and a simple state, that only calculates the 
>> classes. ... 
>> So if any tiddler-field changes, it doesn't do a refreshSelf() and may be 
>> it shouldn't. It needs to refreshSelf() if the parameter itself is changed, 
>> and not if the tiddler, where the parameter points to is changed. ... 
>>
>> But this seems to work: 
>>
>> <$set name=x value={{!!toggled}}>
>> <>
>> 
>>
>> and
>>
>> <$set name=x value={{!!toggled}}>
>> <>
>> 
>>
>>
>> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1c9c6901-1724-4cf8-aeb8-aebbb9ce67dcn%40googlegroups.com.


[tw5] Re: Daily Task Macro - buttons no longer change color in 5.2.0-prerelease

2021-08-14 Thread cmari
Yes, I have seen that, thanks. Unfortunately, I lack the necessary 
skills/time to identify the pieces that would need to be adapted to allow 
for viewing (and updating) a running overview of the task status for the 
last 10 days.

On Saturday, August 14, 2021 at 10:04:33 AM UTC-7 saq.i...@gmail.com wrote:

> This is one of the first things that came up with a search, perhaps it may 
> be of interest:
> https://rawgit.com/Guitlle/habito/build/build/habito-docs.html
>
> On Saturday, August 14, 2021 at 6:54:23 PM UTC+2 Saq Imtiaz wrote:
>
>> Just to add a bit more clarification to the issue since I have a bit more 
>> time now than I did yesterday, this functionality should have been 
>> implemented as a widget and not a macro. I quickly dropped the link in 
>> reply yesterday so you would know that there was some follow up on your 
>> post.
>>
>> JavaScript macros in TiddlyWiki5 are supposed to be for simple text 
>> substitution and do not have any facilities for refreshing in response to 
>> other changes in the wiki, the input of the macro determines the output. A 
>> macro should never modify tiddlers. The macro in question both needs to 
>> refresh itself in response to tiddler changes, and also modifies tiddlers. 
>>
>> Such a macro was never intended to be supported but has worked so far 
>> because we were aggressively refreshing entire tiddlers when anything in 
>> that tiddler changed. So for example a change to a tiddler "list" field 
>> would refresh the entire tiddler in the story. However this is suboptimal 
>> both from a performance point of view and in terms of user experience. Some 
>> of the annoyances commonly encountered like an edit-text widget in a 
>> tiddlers text field not being usable to modify a field in the same tiddler 
>> come from this aggressive and unnecessary refresh behaviour.
>>
>> So the question that presents itself now is whether we maintain backwards 
>> compatibility for a behaviour from third party macros that was never 
>> intended to be supported and holds back improvements, or break such macros 
>> as their implementation will trip us up again in unexpected places and 
>> limit future possibilities.
>>
>> Your actual need for the functionality offered by this macro could 
>> probably be solved with a wikitext implementation as well. It might be 
>> worth a search to see if someone has shared such a solution.
>>
>> Regards,
>> Saq
>>
>> On Saturday, August 14, 2021 at 6:42:38 PM UTC+2 cmari wrote:
>>
>>> Thanks Saq, that was certainly not the answer I was hoping for, but it's 
>>> good to know which way the wind is blowing after so many years (I think the 
>>> original dailytasks plugin that got me started 13 years ago came from you?).
>>> cmari (considering changing my name to "offspec user"!)
>>>
>>> On Friday, August 13, 2021 at 1:03:59 PM UTC-7 saq.i...@gmail.com wrote:
>>>
>>>> See 
>>>> https://github.com/Jermolene/TiddlyWiki5/issues/5903#issuecomment-898691487
>>>>
>>>> On Friday, August 13, 2021 at 9:26:33 PM UTC+2 cmari wrote:
>>>>
>>>>> I have been a happy daily user of *Daily Task Macro *(
>>>>> http://togglers.tiddlyspot.com/) for years, so I am wondering whether 
>>>>> someone can point me to any tips for how I might update the macro so that 
>>>>> it will continue to work in the new prerelease. 
>>>>>  
>>>>> Specifically, the fields in toggler tiddlers do continue to update 
>>>>> correctly when the images are clicked, but the (svg) images themselves do 
>>>>> not update in response to the click until the tiddler is opened and 
>>>>> closed 
>>>>> again.
>>>>>
>>>>> Thanks for any help!
>>>>> cmari
>>>>>
>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d907a01f-a345-475a-b627-619c204575b8n%40googlegroups.com.


[tw5] Re: Daily Task Macro - buttons no longer change color in 5.2.0-prerelease

2021-08-14 Thread cmari
Thanks Saq, that was certainly not the answer I was hoping for, but it's 
good to know which way the wind is blowing after so many years (I think the 
original dailytasks plugin that got me started 13 years ago came from you?).
cmari (considering changing my name to "offspec user"!)

On Friday, August 13, 2021 at 1:03:59 PM UTC-7 saq.i...@gmail.com wrote:

> See 
> https://github.com/Jermolene/TiddlyWiki5/issues/5903#issuecomment-898691487
>
> On Friday, August 13, 2021 at 9:26:33 PM UTC+2 cmari wrote:
>
>> I have been a happy daily user of *Daily Task Macro *(
>> http://togglers.tiddlyspot.com/) for years, so I am wondering whether 
>> someone can point me to any tips for how I might update the macro so that 
>> it will continue to work in the new prerelease. 
>>  
>> Specifically, the fields in toggler tiddlers do continue to update 
>> correctly when the images are clicked, but the (svg) images themselves do 
>> not update in response to the click until the tiddler is opened and closed 
>> again.
>>
>> Thanks for any help!
>> cmari
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6df911ec-6fed-45bd-b80b-aa889e09875dn%40googlegroups.com.


[tw5] Daily Task Macro - buttons no longer change color in 5.2.0-prerelease

2021-08-13 Thread cmari
I have been a happy daily user of *Daily Task Macro 
*(http://togglers.tiddlyspot.com/) 
for years, so I am wondering whether someone can point me to any tips for 
how I might update the macro so that it will continue to work in the new 
prerelease. 
 
Specifically, the fields in toggler tiddlers do continue to update 
correctly when the images are clicked, but the (svg) images themselves do 
not update in response to the click until the tiddler is opened and closed 
again.

Thanks for any help!
cmari

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9fd1df59-bb64-4ad1-9dc0-0a73bd674934n%40googlegroups.com.


[tw5] Split and uncaught errors when combining Stephen Kimmel's togglers and TWCrossLinks

2021-06-12 Thread cmari
Long shot question: I have found that in an empty current TiddlyWiki, I 
cannot add both TWCrossLinks 
<https://akhater.github.io/drift/#%24%3A%2Fak%2Fplugins%2FTWCrossLinks> and 
the Togglers <http://togglers.tiddlyspot.com/> macros without getting 
javascript errors. 

Clicking on a link to a tiddler containing the <> macro produces 
"Uncaught TypeError: Cannot read property 'split' of undefined'. 

Clicking on a link to a tiddler containing the <> macro produces
"UncaughtNotFoundError: Failed to execute 'insertBefore' on 'Node': The 
node before which the new node is to be inserted is not a child of this 
node."

Unfortunately, although I can figure out how to replicate these errors, I 
have no idea how or whether the problem could be addressed. I'd be very 
grateful for any suggestions (which I recognize might include "delete one 
or the other").  
Thanks,
cmari


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7d085919-c439-4ba2-ad5e-53591db6d1bfn%40googlegroups.com.


[tw5] Re: TiddlyTools/Time/AutoSaver and Streams don't play well together?

2020-10-19 Thread cmari
Thank you so much, this is great - and thanks especially for the 
explanation.
cmari

On Sunday, October 18, 2020 at 11:57:22 PM UTC-7 saq wrote:

> Thank you Eric. I'll push an update as soon as I get the chance.
>
> Regards,
> Saq
>
>
> On Monday, October 19, 2020 at 7:31:50 AM UTC+2, Eric Shulman wrote:
>>
>> On Sunday, October 18, 2020 at 5:00:36 PM UTC-7, cmari wrote:
>>>
>>> I'd like to be able to use the features of both 
>>> TiddlyTools/Time/AutoSaver 
>>> <http://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAutoSaver> and 
>>> Streams <https://saqimtiaz.github.io/sq-tw/streams.html>. But after 
>>> some experimenting, it seems that if I add both of these plugins to an 
>>> otherwise empty 5.1.22 TW, when I try to use the (TiddlyTools) Autosaver 
>>> option of "confirm before saving", I get the red javascript error 
>>> ("Uncaught TypeError: Cannot read property 'toString' of null). Is there 
>>> something I can do to prevent this error?
>>
>>
>> I took a look at the browser's debugging console, where it reports:
>> streams.html:13257 Uncaught TypeError: Cannot read property 'toString' 
>> of null
>>
>> $tw.utils.error @ streams.html:13257
>> $:/plugins/sq/streams/selection-vars-tweak.js:29 Uncaught TypeError: 
>> Cannot read property 'toString' of null
>> at TimeoutWidget.Widget.invokeActionString ($:/plugins/sq/streams/
>> selection-vars-tweak.js:29)
>> at eval (TiddlyTools/Time/action-timeout.js:40)
>>
>> Here's a summary of what occurs:
>>
>>1. The *TiddlyTools/Time/AutoSaver *countdown timer is processed by 
>>the <> macro,
>>2. which is defined in *TiddlyTools/Time/CountDown* and is called 
>>from *TiddlyTools/Time/Ticker*,
>>3. which is invoked once per second by 
>>*TiddlyTools/Time/action-timeout.js*,
>>4. which uses the *TWCore "invokeActionString()"* method.
>>5. which has been "hijacked" by the Streams plugin code contained in 
>>*$:/plugins/sq/streams/selection-vars-tweak.js*,
>>
>> Take note of these two lines from 
>> *$:/plugins/sq/streams/selection-vars-tweak.js*:
>>  if(activeElement && selection && (activeElement.tagName === "INPUT" || 
>> activeElement.tagName === "TEXTAREA")) {
>>  variables["selectionStart"] = activeElement.selectionStart.toString();
>>
>> This is where the error actually occurs.
>>
>> The problem is that the code is checking for *activeElement.tagName === 
>> "INPUT"*, which is OK when the activeElement has a "selectionStart" 
>> property.  However, in the AutoSaver settings panel, the "confirm before 
>> saving" checkbox is also an HTML "input" element, but because it is not a 
>> *text* element, it has no "selectionStart" property. Thus, attempting to 
>> invoke "toString()" throws the "Uncaught TypeError: Cannot read property 
>> 'toString' of null" error that is reported in the browser's debugging 
>> console and by the TiddlyWiki RMOD ("Red Message of Death").
>>
>> Note that 
>> https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/activeElement
>>  says 
>> this:
>>
>> Often activeElement will return a HTMLInputElement or HTMLTextAreaElement 
>>> object if it has the text selection at the time. If so, you can get more 
>>> detail by using the object's selectionStart and selectionEnd properties. 
>>> Other times the focused element might be a  element (menu) or an 
>>>  element, of type "button", "checkbox", or "radio".
>>
>>
>> The fix is to change the code in 
>> *$:/plugins/sq/streams/selection-vars-tweak.js *to ensure that when the 
>> *activeElement.tagName 
>> === "INPUT"*, the *activeElement.type === "text"*, which would then 
>> exclude "button", "checkbox", or "radio" input elements.
>>
>> Something like this will do the trick:
>>  if(activeElement && selection && ((activeElement.tagName === "INPUT" && 
>> activeElement.type === "TEXT") || activeElement.tagName === "TEXTAREA")) 
>> {
>>
>> If you edit the *$:/plugins/sq/streams/selection-vars-tweak.js* shadow 
>> tiddler and change the line of code as shown above, that will bypass the 
>> problem until Saq can provide an update to the Streams plugin.
>>
>> -e
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b4a38ad8-d9a7-4699-b806-17a0e2894259n%40googlegroups.com.


[tw5] TiddlyTools/Time/AutoSaver and Streams don't play well together?

2020-10-18 Thread cmari
I'd like to be able to use the features of both TiddlyTools/Time/AutoSaver 
<http://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAutoSaver> and 
Streams <https://saqimtiaz.github.io/sq-tw/streams.html>. But after some 
experimenting, it seems that if I add both of these plugins to an otherwise 
empty 5.1.22 TW, when I try to use the (TiddlyTools) Autosaver option of 
"confirm before saving", I get the red javascript error ("Uncaught 
TypeError: Cannot read property 'toString' of null). Is there something I 
can do to prevent this error?
Thanks!
cmari

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/94a1a781-4183-41b3-bf03-9a5d60477019n%40googlegroups.com.


[tw5] Re: New TiddlyTools time feature: **Interactive Calendar**

2020-09-06 Thread cmari
Hi Eric,
Perhaps your ticket could be a nudge for this one 
<https://github.com/Jermolene/TiddlyWiki5/issues/2061>?
cmari

On Saturday, September 5, 2020 at 1:17:29 AM UTC-7 Eric Shulman wrote:

> On Saturday, September 5, 2020 at 1:05:12 AM UTC-7, TW Tones wrote:
>>
>> Fine in 10+ time zone now thanks
>>
>
> Saq and Tony:  YAY! 
>
> I think I should open a ticket re: sameday[...] needing a full 17-digit 
> time value if not in UTC+0 zone.
>
> Note: sameday[...] works OK in the <> macro because it gets a 
> complete 17-digit date param from an existing tiddler:
> <$list 
> filter="[!is[system]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]">
> and then uses sameday:$dateField${!!$dateField$} to find all the other 
> tiddlers for that date.
>
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/27f6218b-3d9c-4391-92cd-3a1c74aa76a0n%40googlegroups.com.


[tw5] Re: Interstitial Journaling in TiddlyWiki

2020-05-01 Thread cmari
Hi Scott,
I like the ease of entry with the automatic timestamp and no need to touch 
the mouse. One thing I discovered: it's not possible to include quotation 
marks in a note. I'm afraid I don't know how to fix that, so all I can do 
is report it.
cmari 

On Tuesday, April 28, 2020 at 11:01:46 PM UTC-7, Tony K wrote:
>
> Hello Scott
>
> You removed your demo?
>
> Thank you 
>
> On Sunday, April 26, 2020 at 8:35:59 AM UTC+3, Scott Kingery wrote:
>>
>> An article by Anne-Laure Le Cunff titled Interstitial journaling: 
>> combining notes, to-do & time tracking - Ness Labs 
>> <https://nesslabs.com/interstitial-journaling> introduced me to the 
>> concept. She wrote, "the basic idea of interstitial journaling is to write 
>> a few lines every time you take a break, and to track the exact time you 
>> are taking these notes."
>>
>> I liked the idea and thought I might be able to cobble together an 
>> interesting tool for it using TIddlyWiki. Lots of great plugins and code 
>> from Tiddlyblink make it not too hard. The main concept is being able to 
>> add a new journal entry with as few barriers as possible.
>>
>> If it sounds interesting, have a look here: 
>> https://techlifeweb.com/tiddlywiki/dailynotes.html
>>
>>
>> Scott
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/095f-f2a1-40fa-aba2-a4f03c2ee7ab%40googlegroups.com.


[tw5] Re: Todolist Plugin: A wonderful Tiny to-do got new update (1.2.0)

2020-04-06 Thread cmari
Hi Mohammad,
I did try removing the prefix before I sent my previous message. But in 
1.2.1, the "tasks" tiddler has a list field. So the imported tasks don't 
show up on a 1.2.1 list. However, I did just discover that if I change all 
of my tasks to "done" before I transfer them, I can see them in the 1.2.1 
list, so I can reactivate them. 
cmari

On Sunday, April 5, 2020 at 11:44:19 AM UTC-7, Mohammad wrote:
>
> Hi Cmari,
>  Todolist actually does not delete the previous todos, but there is a 
> change in new version which does not shows the Todos from previous version!
> In the old version, if you open the $:/ControlPanel and then Plugins, 
> Todolist and then Internals tab you see all the internals used for keeping 
> your Todos!
> You can even export them and email to somebody else and even share on 
> other devices, so one can keep all those todos.
>
> What happen in 1.2.1?
> The internals now can be accessed from $:/ControlPanel, Settings with one 
> small change, the naming rule
>
> The old version uses $:/plugins/kookma/todolist/data/ as prefix!
> The new version uses  $:/todolist/data as prefix
>
> The reason was, I got feedback, the prefix $:/plugins/kookma/todolis is 
> used form plugin itself!
>
> What you can do?
> Simply correct the prefix and they will appear in new version!
> I may recommend Tiddler-Commander to do this for you with few clicks.
>
> Please let me know, if I can be of any help. I also add the note to 
> tutorial for this issue!
>
> Many thanks for your feedback and sorry for troubles.
>
> --Mohammad
>
>
>
>
>
>
> On Sunday, April 5, 2020 at 8:46:43 PM UTC+4:30, cmari wrote:
>>
>> Thanks, Mohammad, I did get drag and drop working yesterday once I 
>> realized I had to edit the list first, but this way is much easier! As a 
>> happy user of version 1.0.0, I do have one bit of feedback: As best I can 
>> tell, it's not possible to upgrade to 1.2.1 from 1.0.0? I couldn't see any 
>> documentation about this (I'm sorry if I missed it). But after several 
>> attempts I found that the only way I could "migrate" my lists to 1.2.1 was 
>> to
>> 1. delete all 1.0.0 lists (and associated files) 
>> 2. delete not just the 1.0.0 plugin but also several other system files 
>> related to todolist 
>> 3. install 1.2.1
>> 4. recreate lists and tasks from scratch
>>
>> Cmari
>>
>> On Saturday, April 4, 2020 at 11:19:57 PM UTC-7, Mohammad wrote:
>>>
>>> *Announcement: Todolist plugin*
>>> *Date: Apr 5th, 2020*
>>> *Release: 1.2.1*
>>> *Status: Stable*
>>>
>>>
>>> Small issue in drag and drop items fixed.
>>>
>>> For installation see the original post: 
>>> https://groups.google.com/d/msg/tiddlywiki/1n_YOFzood8/3fkyGQkcBQAJ
>>>
>>> --Mohammad
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1b496c16-1a59-4a92-abc2-5d3cbc06c717%40googlegroups.com.


[tw5] Re: Todolist Plugin: A wonderful Tiny to-do got new update (1.2.0)

2020-04-05 Thread cmari
Thanks, Mohammad, I did get drag and drop working yesterday once I realized 
I had to edit the list first, but this way is much easier! As a happy user 
of version 1.0.0, I do have one bit of feedback: As best I can tell, it's 
not possible to upgrade to 1.2.1 from 1.0.0? I couldn't see any 
documentation about this (I'm sorry if I missed it). But after several 
attempts I found that the only way I could "migrate" my lists to 1.2.1 to 
work was to
1. delete all 1.0.0 lists (and associated files) 
2. delete not just the 1.0.0 plugin but also several other system files 
related to todolist 
3. install 1.2.1
4. recreate lists and tasks from scratch

Cmari

On Saturday, April 4, 2020 at 11:19:57 PM UTC-7, Mohammad wrote:
>
> *Announcement: Todolist plugin*
> *Date: Apr 5th, 2020*
> *Release: 1.2.1*
> *Status: Stable*
>
>
> Small issue in drag and drop items fixed.
>
> For installation see the original post: 
> https://groups.google.com/d/msg/tiddlywiki/1n_YOFzood8/3fkyGQkcBQAJ
>
> --Mohammad
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/790589d4-d961-4835-83bc-19d33d2b8c13%40googlegroups.com.


[tw5] Re: Shiraz Plugin 2.0.15: Dynamic Tables with Task Manager Example and Numerical Summary

2020-02-07 Thread cmari
Hi Mohammad,
 I am interested in the sortable tables so I noticed that in the demo 
tiddler "demo/table-from-indexes", the "homework" column does not sort in 
numeric order. Should I not expect this? Sorry if missed something obvious!
Thanks!
cmari

On Thursday, February 6, 2020 at 1:28:31 PM UTC-8, Mohammad wrote:
>
> *Announcement:Shiraz plugin*
> *Date: Feb 7th, 2020*
> *Release: 2.0.15 beta*
> *Status: beta under development*
>
> A new beta update is available.
>
> This update contains tons of new features and improved documentation. The 
> focus is now on dynamics tables.
> Dynamic tables in Shiraz is a subset lite version of Revolutionary plugin 
> TiddlyTables by Alaan Aldrich. So all kudos goes to Alaan.
>
> This version has an example of creating task manager using table-fd which 
> demonstrate how powerful are dynamic tables in Shiraz!
> All of these are based the wonderful transclusion in Tiddlywiki.
>
>
> As always I welcome all your feedback and comments and hope your 
> evaluation help improving the Shiraz plugin!
>
> *IMPORTANT NOTE:*
>  Those who update from Shiraz 2 beta note that, the table-fd, table-id 
> parameters are renamed for better compatibility with other part of Shiraz 
> plugin.
>
> A tutorial of latest changes has been attached!
>
> Demo: https://kookma.github.io/Shiraz/
> Code: https://github.com/kookma/Shiraz
>
> Star it if you like it and send your feedback!
> Documentation proof reading for English is welcome!
>
>
> A permview 
> <https://kookma.github.io/Shiraz/#demo%2Fdynamic-table-concept:demo%2Fdynamic-table-concept%20demo%2Ftable-from-fields%20demo%2Ftable-from-indexes%20demo%2Fdynamic-tables-numerical-summary%20demo%2Fdynamic-tables%2Ftransclusion%20%5B%5Bdemo%2Fadvanced%2Fdynamic-tables%2Fcustomize%20footer%5D%5D%20demo%2Fdynamic-tables%2Fcustom-numerical-summary%20demo%2Fdynamic-table%2Ftask-manager%20demo%2Fdynamic-tables-template>to
>  
> see the latest changes (like tutorial)
>
>
> Best wishes
> Mohammad
>
> Revision 2.0.15
>
>- Date: [6th Feb 2020]
>- [NEW] the table-fd supports special column template tbl-checkbox
>- [NEW] the table-fd supports column templates priority, status, 
>due-date
>- [NEW] task manager example using table-fd
>- [NEW] documentation for numerical summary in dynamic tables
>- [FIXED] dynamic tables parameters are simplified like tblCaption to 
>caption, tblClass to class, tblFooter to footerRows
>- Warning: New update is not compatible with dynamic tables from older 
>release. Use tiddler commander to resolve the issue after update.
>
> Revision 2.0.14
>
>- Date: [31st Jan 2020]
>- [NEW] table footer to be used for any type of summary
>- [NEW] mathematics macros to claculate the below values for a column
>   - count
>   - minall
>   - maxall
>   - sum
>   - product
>   - mean (arithematic average)
>   - median
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2a10bace-c836-463a-a068-bf34580f97f3%40googlegroups.com.


[tw5] Re: sameday filter - off by one?

2018-07-21 Thread cmari
This conversation has moved well beyond my very crude fix, but for what it 
is worth, my solution has been 
1. Never use hours and minutes, just year, month, day.
2. Add 08 to the end of date string for all deadlines (or anything else 
that I want to be accurate in my time). So for example: 
sameday[2018072108]

I think that technically I would need to change to 07 during daylight 
saving time, but (as people in continental Europe have noted) the hour 
difference is rarely noticeable.
cmari

On Saturday, July 21, 2018 at 6:05:07 AM UTC-7, Mark S. wrote:
>
> Yeah. The fix was designed around the latest version of TW. 
>
> -- Mark
>
> On Friday, July 20, 2018 at 11:44:33 PM UTC-7, Jim Farrand wrote:
>>
>>
>>
>> On Friday, 20 July 2018 22:41:13 UTC-7, Mark S. wrote:
>>>
>>> This is an experimental fix to the sameday filter. *ABSOLUTELY* make a 
>>> backup if you try this, because javascript errors can be insidious.
>>>
>>> Drag and drop onto your tw (greenbar at top) and import. Save. Reload. 
>>> Test.
>>>
>>> The real fix would probably affect two core tiddlers, but for 
>>> convenience I put the changes just into one.
>>>
>>>
>> Hi Mark,
>>
>> Thanks, this feels like progress!
>>
>> For me your change errors with: 
>>
>> TypeError: tiddler.getFieldDay is not a function
>>
>> I'm on 5.1.13 and I can't see that method in the source code for that 
>> version.  I notice that it is present in the code on github, so I guess 
>> maybe I just need to update my install to a new version.  Unfortunately 
>> it's late here in PDT, but I'll try to do this ASAP.
>>
>> (Ironically I'm travelling back to BST tomorrow where this bug will 
>> impact me a lot less, but I'd still be glad to see if fixed.  :) )
>>
>> Cheers,
>> Jim
>>
>>  
>>
>>> -- Mark
>>>
>>> On Friday, July 20, 2018 at 11:51:50 AM UTC-7, Jim Farrand wrote:
>>>>
>>>>
>>>> I have recently created a tiddler, which has created timestamp: 
>>>> 20180720180051119.  I would naively assume that the filter:
>>>>
>>>> [sameday:created[20180720]]
>>>>
>>>> would return this tiddler, but it doesn't.  It is, however, returned by 
>>>> this filter:
>>>>
>>>> [sameday:created[20180721]]
>>>>
>>>> Is this just how sameday works, or do I have some sort of setup 
>>>> problem?  If sameday works this way, I would have thought this might be 
>>>> mentioned in the documentation for that operator, so I suspect I have some 
>>>> issue specific to me.  I'm currently in timezone PDT, whereas my "normal" 
>>>> timezone is BST, so I'm wondering if I have some confused configuration 
>>>> somewhere which is screwing things up.
>>>>
>>>> (I'm trying to create a journal template that includes the list of 
>>>> tiddlers created/modified on that day.)
>>>>
>>>> Thanks in advance,
>>>> Jim
>>>>
>>>

-- 
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/f3ed5909-4da4-408f-8e39-33a8d1233fd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: sameday filter - off by one?

2018-07-20 Thread cmari
>From a fellow PDT-er, here's the thread containing my workaround and the 
link to the still open ticket about this issue (hard to believe it's been 
an open ticket for nearly four years - clearly we PDT-ers need to both bulk 
up and recruit people more clever than I am!):
https://groups.google.com/forum/?hl=en#!search/sameday$20cmari/tiddlywiki/28DxHYLt6-0/JF3k6FFOKwQJ
cmari

On Friday, July 20, 2018 at 5:34:08 PM UTC-7, Mark S. wrote:
>
> I think it's a bug.
>
> What it's doing is taking the string you gave it and appending zeros to 
> make it represent that date as a UTC date at the very start. Then it 
> converts that date into the local date and truncates the hours. 
>
> Then it compares that date against the field date (stored as UTC) 
> converted to a local date truncated by hours.
>
> The error is at the very start. By turning your string into the UTC date 
> at the very start of the day BEFORE converting it into a local date, it has 
> effectively moved the comparison date  BACK 7 hours. In this case, that 
> means the actual date is 7/19 local time.  The UTC field date is still on 
> 7/20.
>
> The reason this error hasn't been noticed is because it works fine when 
> the conversion compares against a date field (the majority of use cases) 
> and rarely gives an error for anyone operating near GMT-0.
>
> I think the code needs to be altered to assume that the target date is a 
> local date (not UTC date) WHEN a short (non-field) date is used.
>
> -- Mark
>
>
> On Friday, July 20, 2018 at 11:51:50 AM UTC-7, Jim Farrand wrote:
>>
>>
>> I have recently created a tiddler, which has created timestamp: 
>> 20180720180051119.  I would naively assume that the filter:
>>
>> [sameday:created[20180720]]
>>
>> would return this tiddler, but it doesn't.  It is, however, returned by 
>> this filter:
>>
>> [sameday:created[20180721]]
>>
>> Is this just how sameday works, or do I have some sort of setup problem?  
>> If sameday works this way, I would have thought this might be mentioned in 
>> the documentation for that operator, so I suspect I have some issue 
>> specific to me.  I'm currently in timezone PDT, whereas my "normal" 
>> timezone is BST, so I'm wondering if I have some confused configuration 
>> somewhere which is screwing things up.
>>
>> (I'm trying to create a journal template that includes the list of 
>> tiddlers created/modified on that day.)
>>
>> Thanks in advance,
>> Jim
>>
>

-- 
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/ed135961-d811-40a5-aed3-a7b0c4677592%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Datepicker skipping back a day?

2018-01-12 Thread cmari
oops, I see you already reached my conclusion.

On Friday, January 12, 2018 at 12:13:44 PM UTC-8, cmari wrote:
>
> I noticed this some time ago and yes it is frustrating because I use the 
> datepicker daily. I could be wrong, but I have been assuming it is yet 
> another manifestation of the timezone "feature" that is not enough of a 
> "bug" to bother (or even be apparent to) TWers who live closer to 
> Greenwich. (See https://github.com/Jermolene/TiddlyWiki5/issues/2061). 
>
> On Friday, January 12, 2018 at 12:06:11 AM UTC-8, passingby wrote:
>>
>> I just noticed something strange while playing around with datepicker 
>> from here http://kixam.github.io/TW5-datePicker/
>>
>> If i write <$edit-date> into a new tiddler and then let the view render, 
>> and pick a date, it picks up the date and then right before my eyes skips 
>> back by one day! So if i pick 12th of jan it becomes 11th of january. Can 
>> anybody confirm this to be happening or I am in need of sleep?
>>
>

-- 
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/2de020e3-3652-4e4b-8996-7cbfdc5a0cfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Datepicker skipping back a day?

2018-01-12 Thread cmari
I noticed this some time ago and yes it is frustrating because I use the 
datepicker daily. I could be wrong, but I have been assuming it is yet 
another manifestation of the timezone "feature" that is not enough of a 
"bug" to bother (or even be apparent to) TWers who live closer to 
Greenwich. (See https://github.com/Jermolene/TiddlyWiki5/issues/2061). 

On Friday, January 12, 2018 at 12:06:11 AM UTC-8, passingby wrote:
>
> I just noticed something strange while playing around with datepicker from 
> here http://kixam.github.io/TW5-datePicker/
>
> If i write <$edit-date> into a new tiddler and then let the view render, 
> and pick a date, it picks up the date and then right before my eyes skips 
> back by one day! So if i pick 12th of jan it becomes 11th of january. Can 
> anybody confirm this to be happening or I am in need of sleep?
>

-- 
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/a0b667a1-7931-43ae-956f-0d20191f5f20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Variable for field name in filter

2017-07-15 Thread cmari
Could you not also use:

<$list filter="[{!!field-value}listed{!!field-name}]">
<>


cmari

On Friday, July 14, 2017 at 2:05:18 PM UTC-7, stevesuny wrote:
>
> Worked like a charm.
>
> OK, I would never have gotten to figure that out. It seems these generic 
> \define sitting on top of macros or templates are very powerful and useful 
> addition to the general process of transclusion. 
>
> Thanks for your help! I'll post the results in another thread soon. 
>
> //steve.
>
> On Friday, July 14, 2017 at 4:52:34 PM UTC-4, Mark S. wrote:
>>
>> Yeah, you can't use {{!!field-name}} notation to substitute for a filter 
>> operator suffix AFAIK. Use a macro to concatenate and form your filter 
>> instead, like:
>>
>> \define indirect() [field:$(field-name)$[$(field-value)$]]
>> <$vars field-name={{!!field-name}} field-value={{!!field-value}}>
>> <$list filter=<> />
>> 
>>
>> HTH
>> Mark
>>
>>
>> On Friday, July 14, 2017 at 1:28:18 PM UTC-7, stevesuny wrote:
>>>
>>> My tiddler has these fields:
>>>
>>> field-name: instructor
>>> field-value: Chiang
>>>
>>> I want to search for all tiddlers for which field:instructor = Chiang.
>>>
>>> This works: filter="[field:instructor{!!field-value}]"
>>>
>>> But this doesn't:
>>>
>>> filter="[field:{!!field-name}{!!field-value}]"
>>>
>>> Sorry to be confusing,
>>>
>>> //steve.
>>>
>>> On Friday, July 14, 2017 at 4:04:47 PM UTC-4, Mark S. wrote:
>>>>
>>>> Hi Steve,
>>>>
>>>> Is there a typo here? In the filter you say field-value. But in your 
>>>> text you say field-name. Which is it?
>>>>
>>>> Mark
>>>>
>>>> On Friday, July 14, 2017 at 12:56:07 PM UTC-7, stevesuny wrote:
>>>>>
>>>>> This filter works: <$list filter="[field:instructor{!!field-value}]">
>>>>>
>>>>> My tiddler has field-name=instructor
>>>>>
>>>>> How do I transclude {{!!field-name}} into the filter to replace 
>>>>> "instructor"? 
>>>>>
>>>>> (I've tried every possible solution but the right one :)
>>>>>
>>>>> Thans, //steve.
>>>>>
>>>>>

-- 
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/9493fb69-09ca-4719-ad3f-264079819224%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 version of TWc DailyTasks plugin?

2017-06-17 Thread cmari
Hi Stephen,
After I posted my modifications, I got the dreaded red javascript error. I 
then deleted my original message from Google Groups so as not to lead 
anyone astray. 
But then I realized the error was the result of me failing to follow 
expected procedure (use the "Add a new Task" button). I had tried instead 
to simply insert <> into an existing tiddler. 
That does work, but one needs also to add the field "lastdate", with 
today's date (m/d/yy) as the contents.
Thanks again for a really useful tool!

Here are my crude copy/paste edits again. I liked the (Saturday) in the 
tooltip over the boxes but for my running list I only needed to capture 
m/d/yy. So I created a clone of var darray2 with the same initial 
definition as darray

var darray2= ["O","O","O","O","O","O","O","O","O","O"];

Then I could add a different date format to darray2:

darray2[10-i]=mon+"/"+day+"/"+yr;

With tip2=darray2[i], the buttons can append (or remove) m/d/yy in the 
field "datestamp". 
(When adding multiple dates, they do need to be clicked in order from 
oldest to most recent - if that is what you want - since a sort[] would not 
treat them as actual dates.) 

for (i=0 ; i<10 ; i++)
{//set tooltip to matching darray entryvar tip=darray[i];var tip2=darray2[i];if 
(barray[i]=="X") {// If it was an X then use the modified cancel button
   output += '<$button class="tc-btn-invisible tc-tiddlylink" 
tooltip="'+tip+'"><$action-listops $field="datestamp" 
$subfilter="-'+tip2+'"/><$action-setfield  $field="toggled" $value="'+i+'" 
/>{{$:/core/images/done}} ' ;
} else {// not an X so must be an O use modified circle
   output += '<$button class="tc-btn-invisible tc-tiddlylink" 
tooltip="'+tip+'"><$action-listops $field="datestamp" 
$subfilter="'+tip2+'"/><$action-setfield $field="toggled" $value="'+i+'" 
/>{{$:/core/images/open}} ' ;}
} // end for i loop

cmari


My tiddler text:


On Saturday, June 17, 2017 at 5:20:05 AM UTC-7, Stephen Kimmel wrote:
>
> On Friday, June 16, 2017 at 11:10:44 PM UTC-5, cmari wrote:
>>
>> Wow, that is terrific, thank you so much! I will use this daily. 
>> I especially appreciate the really clear comments. That made it easy for 
>> me to add a field that takes advantage of the tooltip and captures the 
>> running list of dates.
>> cmari
>>
>> You are most welcome. It was my pleasure to work on it. 
>
> I am open to further modificatons so I would like to see the changes you 
> made and hear any ideas for changes you'd like to see made.
>
> Stephen
>

-- 
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/8d11e037-277d-4cfc-91b8-e1fc357a391e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 version of TWc DailyTasks plugin?

2017-06-17 Thread cmari
I can only add things via crude copy/paste operations. I liked the 
(Saturday) in the tooltip over the boxes but for my running list I only 
needed to capture m/d/yy. So I created a clone of var darray2 with the same 
initial definition as darray

var darray2= ["O","O","O","O","O","O","O","O","O","O"];

Then I could add a different date format to darray2:

darray2[10-i]=mon+"/"+day+"/"+yr;

With tip2=darray2[i], the buttons can append (or remove) m/d/yy in the 
field "datestamp". 
(When adding multiple dates, they do need to be clicked in order from 
oldest to most recent - if that is what you want - since a sort[] would not 
treat them as actual dates.) 

for (i=0 ; i<10 ; i++)
{//set tooltip to matching darray entryvar tip=darray[i];var tip2=darray2[i];if 
(barray[i]=="X") {// If it was an X then use the modified cancel button
   output += '<$button class="tc-btn-invisible tc-tiddlylink" 
tooltip="'+tip+'"><$action-listops $field="datestamp" 
$subfilter="-'+tip2+'"/><$action-setfield  $field="toggled" $value="'+i+'" 
/>{{$:/core/images/done}} ' ;
} else {// not an X so must be an O use modified circle
   output += '<$button class="tc-btn-invisible tc-tiddlylink" 
tooltip="'+tip+'"><$action-listops $field="datestamp" 
$subfilter="'+tip2+'"/><$action-setfield $field="toggled" $value="'+i+'" 
/>{{$:/core/images/open}} ' ;}
} // end for i loop

cmari

On Saturday, June 17, 2017 at 5:20:05 AM UTC-7, Stephen Kimmel wrote:
>
> On Friday, June 16, 2017 at 11:10:44 PM UTC-5, cmari wrote:
>>
>> Wow, that is terrific, thank you so much! I will use this daily. 
>> I especially appreciate the really clear comments. That made it easy for 
>> me to add a field that takes advantage of the tooltip and captures the 
>> running list of dates.
>> cmari
>>
>> You are most welcome. It was my pleasure to work on it. 
>
> I am open to further modificatons so I would like to see the changes you 
> made and hear any ideas for changes you'd like to see made.
>
> Stephen
>

-- 
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/f37a4574-0e82-4eba-adfd-50751a20d844%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 version of TWc DailyTasks plugin?

2017-06-16 Thread cmari
Wow, that is terrific, thank you so much! I will use this daily. 
I especially appreciate the really clear comments. That made it easy for me 
to add a field that takes advantage of the tooltip and captures the running 
list of dates.
cmari


On Friday, June 16, 2017 at 11:35:01 AM UTC-7, Stephen Kimmel wrote:
>
> That was an interesting challenge. The result of my effort is located at 
> http://dailytasksk.tiddlyspot.com/ 
>
> The results are less than perfect but similar enough to the original that 
> I don't think you'll have any problem using it. With any luck, it will be 
> close enough to what you want to carry you the rest of the way.
>
> Stephen
>

-- 
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/890053cf-726a-4a1a-b8cc-6b8558044541%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: For some us "Tiddlers" are real fish

2017-05-28 Thread cmari



<https://lh3.googleusercontent.com/-eT8smmdzoxQ/WSseuTK4QXI/AH8/r06zXj5jIfc5JTNtgz5zCv3ROKe2Rm7yQCLcB/s1600/P1020016.JPG>

Completely off topic (other than a shared interest in canals), but I think 
this photo shows our boat on the other side of that same bridge?

cmari


On Saturday, May 27, 2017 at 6:56:27 PM UTC-7, @TiddlyTweeter wrote:
>
> I was born in England exactly where the Grand Union Canal meets the River 
> Soar in Mountsorrel, Leicestershire, UK. Our house had water on 3 sides. My 
> childhood was mother, father, geese, ducklings, endless water and TIDDLERS. 
> I loved tiddlers. I was always half in water. 
>
> Tiddlers nibbled your feet, but never bit. They were my friends.
>
> Occasionally, biography is relevant. Mine kinda is.
>
>

-- 
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/56b70f77-1793-424b-a74e-70920aecca71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5 version of TWc DailyTasks plugin?

2017-05-20 Thread cmari
Because everyone here is so clever and generous, I'm posting my wish: Does 
anyone have any suggestions for how to recreate the TWc DailyTasks plugin 
in TW5? I can't find the original plugin online, but it can still be found 
on this site: 
http://jayfresh.tiddlyspot.com/. The results look something like this:

Each square is a date within the past 10 days. Clicking a square changes 
the color from red to yellow, so there's a visual tracking of progress. New 
tasks can be added from the display tiddler. I find this really useful and 
it's one of the few things I haven't been able to translate from TWc to 
TW5. Any ideas?
Thanks!
cmari

-- 
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/53f67b76-1cb4-469d-a7df-0680441bd833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Can the MakeTid Widget be used to create tiddlers from a list in conjunction with a tiddler template

2017-02-03 Thread cmari
It should work with single quotes around the text? As in:
<$button>
make new tiddlers from list
<$list filter={{ListOfTitles}}>
<$action-setfield $tiddler={{!!title}} text='{{||A}}'/>



cmari

On Friday, February 3, 2017 at 1:43:56 AM UTC-8, Mat wrote:
>
> (unknown reason why formtting messes below, sorry)
>
>  
>
>> I agree with J Mc's original question.
>>
>> Why can I not use this template:
>>
>> title:A
>> text:
>> @@background-color:yellow;
>> Hello, my title is {{!!title}}
>> @@
>>
>>
>> And then another tiddler with the button:
>>
>> {{||A}}
>>
>> The tags are applied. The text is not. It does not help if one uses 
>> "text=<>" either. I cannot see how that makes sense.
>>
>> <:-)
>>
>

-- 
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/9ebd2f9c-2e71-48b5-ab89-47089d93f474%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 How to make each tab in a tabmenu a different background colour?

2017-01-22 Thread cmari
Hi Mat,
I've been wishing for something like this - thanks! However, I think it 
doesn't work with your Tablinks. It only worked for me when I reverted to 
the shadow version of $:/core/macros/tabs.
With the Tablinks version of $:/core/macros/tabs, if I create the 
whateveryourwant tiddler in your example and inspect the elements, it looks 
as though the second tab has become nth-child(3) and the third and fourth 
tabs aren't nth-children at all. But I don't even know if that's the real 
problem. Sorry to only be able to report things rather than offer 
solutions. I'm really hoping there's a way to get both colors and links on 
tabs!
Thanks,
cmari

On Saturday, January 21, 2017 at 4:30:33 PM UTC-8, Mat wrote:
>
> On Saturday, January 21, 2017 at 7:29:38 PM UTC+1, Odder wrote:
>>
>> I have a tebmenu with 6 tabs and I want each tab with a different 
>> background-color? Is this possible maybe with css?
>> Odder
>>
>
> Yes, unless I misunderstand you. 
>
> title:whateveryouwant
> tags:colortabs
>
> <>
>
> 
> .tc-tagged-colortabs .tc-tab-buttons button:nth-child(1) {background:blue
> ;}
> .tc-tagged-colortabs .tc-tab-buttons button:nth-child(2) {background:green
> ;}
> .tc-tagged-colortabs .tc-tab-buttons button:nth-child(3) {background:
> yellow;}
> .tc-tagged-colortabs .tc-tab-buttons button:nth-child(4) {background:red;}
>  
>
> The reason you need the tag "colortabs" is to prevent the styling from 
> affecting all tabs in the TW. Instead you can then use .tc-tagged-colortabs 
> to limitit it to that particular tiddler.
>
> Generally, you'd not want to put the styles in the tiddler itself but in a 
> separate stylesheet tiddler, i.e any tiddler with the tag 
> "$:/tags/Stylesheet". And you omit the 

[tw] Re: How to do an exact match of tags

2016-12-08 Thread cmari
Hi Steve,
Is there another tiddler that contains the macro <>? Sorry 
if I overlooked something in your post.
The table is really useful - thanks!
cmari

On Monday, December 5, 2016 at 5:45:28 AM UTC-8, steve wrote:
>
> An Update:
>
> Thanks to everything that has responded. Alas, thus far, I have been 
> unable to find or develop an exact match function.
>
> Here is the macro I promised that generates a table which lists tiddlers 
> in order of their respective tags field.
> Each unique set of tags is listed on a separate line of the table, 
> followed by the list of tiddlers that possess those tags.
>
> Writing the plugin was made much easier thanks to Tobias Beer's 
> ''contains'' plugin, which can be found at 
> http://tobibeer.github.io/tw5-plugins/#contains.
> I am having difficulties in setting up an example on tiddyspot. As an 
> alternative a listing of the macro is given below.
>
> Steve Wharton
>
> ```
> \define listAsTableSortedByTagField(filter:"[!is[system]]" titleText 
> captionText)
>
> 
>
> 
> <$button>Sort Tags In Place (Ascending Order)
> <$list filter="[!is[system]!has[draft.of]] +$filter$">
> <$set name=TagsString filter='[tags[]sort[]]'>
> <$action-setfield tags=<>/>
> 
> 
> 
>
>
> 
> 
> 
> Unique Sets of Tags
> Matching Tiddlers per Tag Set
> 
> <$list filter="$filter$ +[each[tags]] +[sort[tags]]">
> <$set name=currentTags filter='[tags[]sort[]]'>
> <$list filter="[all[current]tags[]]" 
> template="$:/core/ui/TagTemplate" storyview="pop"/>
> <>
> 
> 
> 
> 
>
> \end
>
> 
> < titleText:"listSortedByTagField - example application">>
> ```
>
>
>
>
>
>
>
>

-- 
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/78a8ccd9-4847-4e50-a530-d76c69b5d5ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to do an exact match of tags

2016-12-08 Thread cmari
Hi Stephen,
Is there another tiddler that contains the <> macro? Even 
without it, the table is useful - thanks! 
(Sorry if I overlooked something in your post.)
cmari

On Monday, December 5, 2016 at 5:45:28 AM UTC-8, steve wrote:
>
> An Update:
>
> Thanks to everything that has responded. Alas, thus far, I have been 
> unable to find or develop an exact match function.
>
> Here is the macro I promised that generates a table which lists tiddlers 
> in order of their respective tags field.
> Each unique set of tags is listed on a separate line of the table, 
> followed by the list of tiddlers that possess those tags.
>
> Writing the plugin was made much easier thanks to Tobias Beer's 
> ''contains'' plugin, which can be found at 
> http://tobibeer.github.io/tw5-plugins/#contains.
> I am having difficulties in setting up an example on tiddyspot. As an 
> alternative a listing of the macro is given below.
>
> Steve Wharton
>
> ```
> \define listAsTableSortedByTagField(filter:"[!is[system]]" titleText 
> captionText)
>
> 
>
> 
> <$button>Sort Tags In Place (Ascending Order)
> <$list filter="[!is[system]!has[draft.of]] +$filter$">
> <$set name=TagsString filter='[tags[]sort[]]'>
> <$action-setfield tags=<>/>
> 
> 
> 
>
>
> 
> 
> 
> Unique Sets of Tags
> Matching Tiddlers per Tag Set
> 
> <$list filter="$filter$ +[each[tags]] +[sort[tags]]">
> <$set name=currentTags filter='[tags[]sort[]]'>
> <$list filter="[all[current]tags[]]" 
> template="$:/core/ui/TagTemplate" storyview="pop"/>
> <>
> 
> 
> 
> 
>
> \end
>
> 
> < titleText:"listSortedByTagField - example application">>
> ```
>
>
>
>
>
>
>
>

-- 
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/7443d9ed-148a-4f76-bc81-8b61a9ac89c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Another way to make multiple tag-like fields

2016-06-12 Thread cmari
Any ideas why this doesn't work in Chrome? (I tested this by opening 
http://inmysocks.tiddlyspot.com in the most current version of Chrome on 
Windows. Create a new tiddler. Click the down arrow next to "Topics" and 
click on a tag pill. Every time I try this, the cursor moves to the "tag" I 
just clicked and no topic is added.) 
cmari

On Saturday, May 28, 2016 at 4:56:39 PM UTC-7, cmari wrote:
>
> Oddly, it seems it is not possible to add field values using the dropdown 
> menu in Chrome. Clicking a "tag" pill on the dropdown "tag name" list 
> causes navigation away to the "tag" (whether it exists as a tiddler or 
> not), rather than populating the field. Things work as expected in Firefox.
> cmari
>
> On Wednesday, May 25, 2016 at 2:09:25 AM UTC-7, Jed Carty wrote:
>>
>> This now has a readme in the plugin and the macro tiddler has 
>> documentation for the macros. There is also a much shorter and easier to 
>> understand demo. Everything is still here 
>> <http://ooktech.com/jed/ExampleWikis/GenericTagFields/>.
>>
>> You should be able to use this as an alternative to the normal tags field 
>> in every way except I don't have an exact alternative for !tag[foo] for the 
>> other fields. You can do the equivalent of tag[foo] by 
>> [foo]listed[fieldname] so it is only the negation part that is missing.
>>
>

-- 
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/9886aa0e-82e6-448e-9022-39c67be2ee9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Open all the tiddlers with a particular tag

2016-06-06 Thread cmari
I wanted the possibility to "open all" [tagged tiddlers] when I click on a 
tagpill, so I did the following:
In the shadow tiddler $:/core/ui/TagTemplate
after the line that consists only of  
insert:
<$button class="tc-btn-invisible"><$list 
filter="[all[current]tagging[]]"><$action-navigate $to=<> 
/>Open All

cmari


On Monday, June 6, 2016 at 2:13:09 AM UTC-7, Mat wrote:
>
> On Monday, June 6, 2016 at 9:48:07 AM UTC+2, rauh...@gmail.com wrote:
>>
>> Hello together,
>>
>> I wanted to ask if there has been progress on the 'clickable tags' 
>> request here. I am rather new in using TiddlyWiki, but I miss this 
>> particular tool really much, as I don't want to open all tagged Tiddlers 
>> one by one. I am searching for an option to open all tagged Tiddlers at 
>> once by clicking on the tag. Using filters, I just got another list of 
>> links, but no automated opening of the Tiddlers.  In a previous post it was 
>> mentioned that this option will be available with version 5.1.8, which is 
>> not actual anymore. Did the feature got lost again, or am I missing 
>> something?
>>
>
>
> Hi rauh.. / D, I just put together this simple macro. Maybe it's enough?
>
> http://openalltagged.tiddlyspot.com/
>
> <:-)
>
>

-- 
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/94ac47ff-0f99-4cad-86b1-277c91f977e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Another way to make multiple tag-like fields

2016-05-28 Thread cmari
Oddly, it seems it is not possible to add field values using the dropdown 
menu in Chrome. Clicking a "tag" pill on the dropdown "tag name" list 
causes navigation away to the "tag" (whether it exists as a tiddler or 
not), rather than populating the field. Things work as expected in Firefox.
cmari

On Wednesday, May 25, 2016 at 2:09:25 AM UTC-7, Jed Carty wrote:
>
> This now has a readme in the plugin and the macro tiddler has 
> documentation for the macros. There is also a much shorter and easier to 
> understand demo. Everything is still here 
> <http://ooktech.com/jed/ExampleWikis/GenericTagFields/>.
>
> You should be able to use this as an alternative to the normal tags field 
> in every way except I don't have an exact alternative for !tag[foo] for the 
> other fields. You can do the equivalent of tag[foo] by 
> [foo]listed[fieldname] so it is only the negation part that is missing.
>

-- 
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/73a36545-ea4b-426d-ad2f-2ac4e8d1f79e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Custom tiddler Templates for Medicinal Plant Monographs

2016-05-22 Thread cmari
This is pretty nifty! I was initially confused by one small typo:
In "Medical Plant Template", there's a stray apostrophe at the end of the 
line
''Scientific Name'': {{!!scientific_name}}'

Also, in case it's useful to anyone else: things didn't initially work when 
I imported into my TW, which brought to my attention that I needed to 
manually delete my earlier version of matabele's "listops" widget because 
it was overriding the ActionListopsWidget (which came in with release 
5.1.10, I think?). I hadn't noticed that before, so thank you! 
cmari

On Sunday, May 22, 2016 at 7:40:47 AM UTC-7, Jed Carty wrote:
>
> I needed a quick project and this is going to be useful for other things I 
> want to do, so I made this. I am on my tablet and don't have access to my 
> server so have a dropbox link: 
> https://www.dropbox.com/s/j1yhvn1u0d2dgd5/EncyclopediaTemplates.html?dl=0
>
> I am not certain I did the sharing correctly, so let me know if that link 
> doesn't work. 
>
> As a side note, I put together a simple implementation of non-tag fields 
> as tag fields. I am pretty certain that other people have already make 
> working versions of this but now there is another one. It just uses some 
> quick modifications to the existing macros and the action-listops widget.
>

-- 
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/ea72af55-92b9-4404-890b-2f8969c4d069%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [tw5] Final tests for 5.1.12 before release

2016-04-30 Thread cmari
Note/questions from a non-expert (as illustrated by the fact that I'm going 
to have to wait for more clever people to demonstrate/document what can be 
done with sticky notes and list-children, because I have no clue!):

1. Undo/Redo behaves in a couple of unexpected (to me) ways in Chrome:
- With the Preview pane open, both the undo and redo buttons have to be 
clicked twice in order to see the change reflected in the Preview pane.
- Making this discovery caused me to notice that when I undo an extra time 
(past what was "done" to begin with, but necessary in order to undo in the 
preview pane), "undoundo" appears in the search bar. 

2. I made an early transition to TW5 from twclassic precisely because 
apostrophes in tiddler titles seemed to be ok (great for people's names, 
book titles, etc), and I've never had any trouble with those titles in TW5. 
So I found the new warning a bit ominous and have two questions:
- Has something really changed with this version, or is this fair warning 
about what has always been a risk? 
- Although the prerelease notes say "Added 
<https://github.com/Jermolene/TiddlyWiki5/issues/2351> a warning when *creating 
*tiddler titles containing troublesome characters", in fact, the warning 
shows up any time I edit an existing tiddler with an apostrophe in its 
title. Assuming my TW file is not going to blow up because of these already 
existing tiddlers, would it be possible to suppress the warning (save 
space) after the tiddler has been created? 

Although I don't tend to put a lot of content into tiddlers (hence my focus 
on titles), I really like the Editor Toolbar - the "link" lookup is going 
to be extremely useful - thanks!
cmari




On Saturday, April 30, 2016 at 6:43:23 AM UTC-7, Jeremy Ruston wrote:
>
> OK, after my disappointment recorded below, I came up with another 
> approach and I think have now got things working on Internet Explorer 11: 
>
> http://tiddlywiki.com/prerelease 
>
> It needs thoroughly testing under other browsers too, but seems to work 
> for me, 
>
> Best wishes 
>
> Jeremy. 
>
> > On 30 Apr 2016, at 12:06, Jeremy Ruston <jeremy...@gmail.com 
> > wrote: 
> > 
> > Hi Andrew 
> > 
> >> Now in IE 11, the whole edit field now clears if you change views and 
> also randomly. Something is wrong. It was working better. What changed? 
> > 
> > Nothing has changed in the code that updates the textarea. I think the 
> problem that we’re seeing in IE11 with the textarea display not being 
> updated is some kind of random bug. 
> > 
> > I’ve spent a few more hours investigating the problems with IE11 and 
> once again I’m out of ideas; I’ve been repeatedly finding the same outdated 
> information via searching Google, StackOverflow etc. 
> > 
> > The code in question is this part of framed.js: 
> > 
> > // Attempt to use a TextEvent to modify the value of the 
> control 
> > var textEvent = 
> this.domNode.ownerDocument.createEvent("TextEvent"); 
> > if(textEvent.initTextEvent) { 
> > textEvent.initTextEvent("textInput", true, true, 
> null, operation.replacement, 9, "en-US"); 
> > this.domNode.focus(); 
> > 
> 
> this.domNode.setSelectionRange(operation.cutStart,operation.cutEnd); 
>
> > this.domNode.dispatchEvent(textEvent); 
> > } else { 
> > this.domNode.value = newText; 
> > } 
> > 
> > IE11 has the initTextEvent method, and so calls the first code path. The 
> problem is that the value underlying the textarea is updated, but the 
> display is not updated to match. 
> > 
> > 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+...@googlegroups.com . 
> >> To post to this group, send email to tiddl...@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/5b46be97-e9f8-4f99-ba1c-5b5b2ac3cbe1%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/136c27b2-9567-4419-8245-d1078fd268a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Line breaks between consecutive sliders

2016-01-13 Thread cmari
Hi Robert,
Do you have the most recent version of dGSD? When I pasted your code in to 
a blank tiddler (removing all tags) in the empty file 
at http://thinkcreatesolve.biz/dGSD-empty.html
the sliders appeared on consecutive lines (not next to one another as in 
your screenshot). 

I do have a vague memory of running into this problem myself, and an 
equally vague memory that I may have dealt with it in a stylesheet. But I 
don't have easy access to my old dGSD-based TW anymore, so I'm not much use 
to you - sorry.
cmari

On Wednesday, January 13, 2016 at 11:27:17 AM UTC-8, Robert Edwards wrote:
>
> No one?
>
> Here's what I'm trying to fix:
>
>
>
> <https://lh3.googleusercontent.com/-0pkd5cGcjW8/VpaksEAcD8I/BmI/02_OL7EiikM/s1600/project_dashboard.png>
> I would prefer those two sliders to be on consecutive lines
>
> Thanks!
>
> On Friday, January 8, 2016 at 4:59:02 PM UTC-5, Robert Edwards wrote:
>>
>> Thanks -- that's something I tried but it did not work. Sorry for not 
>> mentioning it in the original post! 
>>
>> On Friday, January 8, 2016 at 4:29:55 PM UTC-5, Mat wrote:
>>>
>>> Perhaps just a html linebreak tag? Is it  or  or some such?
>>>
>>> <:-)
>>>
>>> On Friday, January 8, 2016 at 10:24:21 PM UTC+1, Robert Edwards wrote:
>>>>
>>>> I've searched but cannot find an answer to a little annoyance.  I'm 
>>>> using David Szego's dGSD and would like to have some lists hidden in 
>>>> sliders -- e.g. in a Projects dashboard have dormant and completed project 
>>>> lists collapsed.
>>>>
>>>> {{col{
>>>> <>>> startTag:Project 
>>>> tags:'Someday/Maybe && !Complete' 
>>>> view:Project 
>>>> mode:global
>>>> group:Area
>>>> gView:bold
>>>> newButtonTags:'Project Someday/Maybe'
>>>> >>
>>>>
>>>> 
>>>> <>>> startTag:Project 
>>>> tags:'Complete' 
>>>> view:Project mode:global
>>>> dontShowEmpty:yes
>>>> group:Area
>>>> gView:bold
>>>> >>
>>>> 
>>>>
>>>> 
>>>> <>>> startTag:Project 
>>>> tags:'Dormant && !Complete' 
>>>> view:Project mode:global
>>>> group:Area
>>>> gView:bold
>>>> dontShowEmpty:yes
>>>> >>
>>>> 
>>>> }}}
>>>>
>>>> What I find is that when the sliders are collapsed, the buttons are 
>>>> rendered on the same line. I would like to have them on separate lines. 
>>>> When the first button is expanded the second button appears below, on a 
>>>> separate line, but I have not yet stumbled on the syntax to force a line 
>>>> break between the two collapsed slider buttons. 
>>>>
>>>> Help greatly appreciated!
>>>>
>>>

-- 
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/b626ac87-7ab7-4cc4-b926-a101c47019da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Collapsing and expanding parts and the whole of a list

2016-01-11 Thread cmari
@Mat, thanks for the more detailed info! In my examples at tiddlyspot, I 
tried to make clear that I don't want an accordion and I have multiple 
sliders in a single tiddler (so the Accordion is not what I want). 
I also don't want the category tiddler to be modified every time I open the 
slider (so the style solution isn't ideal either).
cmari

On Monday, January 11, 2016 at 2:56:27 AM UTC-8, Mat wrote:
>
> @cmari
>
> Proper reply:
>
> But first of all I should say: Take a look at the RevealWidget and the 
> "Accordion or Slider" chapter. Isn't this exactly what you want?
>
> Ok, the CSS way:
>
> <$button set="!!display" setTo="block">Show me
> <$button set="!!display" setTo="none">Hide me
>
> 
> Daaay-ooo!
> 
>
> 
> .display {display:{{!!display}};}
> 
>
>
> That last line might look funny if you're not familiar with CSS. It 
> translates to:
>
> For the class called display ... apply the CSS-property display ... and 
> set its value to the value in this tiddlers display field.
>
> The CSS display property controls whether or not to display a div.
>
> I've made the example as simple as possible which results in two buttons. 
> I guess you can use reveal statuses to show one or the other.
>

-- 
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/21342303-5c90-4291-bb7f-2af9b18d7f4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Collapsing and expanding parts and the whole of a list

2016-01-11 Thread cmari
@Eric, thanks, this worked perfectly. I had tried suffix, but didn't think 
about also using prefix. (Oddly, <> actually worked as you 
originally posted it, without changing to <>. This was 
discouraging because I couldn't figure out where it came from and thought 
it was (yet another) super-secret trick known only to the cognoscenti.)
cmari

On Sunday, January 10, 2016 at 11:51:11 PM UTC-8, Eric Shulman wrote:
>
> errata
>
> I used a variable reference, <> that I forgot to define in the 
> $list widgets
>
> either:
> A) add: variable="listitem" to each $list widget
> or
> B) use: tiddler=<> in each $action-setfield
>
> -e
>
>
>

-- 
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/e64c5ae0-6643-4d82-8ce1-a4ba0c4621e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Collapsing and expanding parts and the whole of a list

2016-01-10 Thread cmari
Hi Mat,
I appreciate your reply, but I have no idea how to implement what you've 
described, or to use it to accomplish what I'm trying to do. My examples 
didn't include anything called "thefield", and what I want to display is 
tiddlers, not fields. I know how to set fields using a button - but what I 
think I need to be able to do is to <$reveal> tiddlers based on the 
contents of a field - and I don't know how to do that. 

What's frustrating is that I knew how to do this with plugins in TWc. If 
this is "simple", that confirms my fear that I'm "simply" too dumb to make 
the transition to TW5.
cmari

On Sunday, January 10, 2016 at 4:47:37 PM UTC-8, Mat wrote:
>
> Simple w css, no?
>
> div..
> clicking button sets e.g field to "none" or "block"
> display:{{!!thefield}};
>
> <:-)
>
> On Monday, January 11, 2016 at 1:01:30 AM UTC+1, cmari wrote:
>>
>> Now that I have finally figured out how to expand and collapse separate 
>> parts of a filtered list independently of one another, 
>> I'd like to be able to expand or collapse the entire list with one click, 
>> and I can't figure out how to do that. 
>> I've put up examples of the brick walls I've run into at 
>> http://cmaritw5.tiddlyspot.com/
>> I was hoping to come up with a macro that would allow easy substitution 
>> of both fields and tags into the filters for the list. 
>> Has anyone done something like this already?
>> cmari
>>
>>

-- 
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/71cc7a87-341f-42ce-a216-e988e59503c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Collapsing and expanding parts and the whole of a list

2016-01-10 Thread cmari
Now that I have finally figured out how to expand and collapse separate 
parts of a filtered list independently of one another, 
I'd like to be able to expand or collapse the entire list with one click, 
and I can't figure out how to do that. 
I've put up examples of the brick walls I've run into at 
http://cmaritw5.tiddlyspot.com/
I was hoping to come up with a macro that would allow easy substitution of 
both fields and tags into the filters for the list. 
Has anyone done something like this already?
cmari

-- 
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/bf34-3d77-4e59-bd1d-5028522bbe68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New plugin: tobibeer/filter

2016-01-09 Thread cmari
Here's what I did:
Clicked the link to "Search Multiple Fields with a Subfilter" in this 
thread:
https://groups.google.com/d/msgid/tiddlywiki/7152daf5-f0f0-4282-9167-806f96106655%40googlegroups.com
 
<https://groups.google.com/d/msgid/tiddlywiki/7152daf5-f0f0-4282-9167-806f96106655%40googlegroups.com?utm_medium=email_source=footer>

At the top of the tiddler, I clicked the word "filter" in the sentence
*how to evaluate subfilters using the operator filter 
<http://tobibeer.github.io/tw5-plugins/#filter> to search multiple fields 
at once, optionally using the split 
<http://tobibeer.github.io/tw5-plugins/#split> filter*

This took me to a tiddler with an Info tab. First text in that tab is:
The plugin $:/plugins/tobibeer/filter 
<http://tobibeer.github.io/tw5-plugins/#%24%3A%2Fplugins%2Ftobibeer%2Ffilter> 
provides:

I dragged that link into an empty 5.1.10 TW, saved, and reloaded.

Then I created a new tiddler and pasted in the text of the first example in 
"Search Multiple Fields with a Subfilter". I changed the search term so it 
would find something in my file.
While editing, I clicked the "show preview" button. 
Removing the space in front of either of the plus signs (+) in the example 
produced the "Well this is embarrassing" error.

Hope that's clear!
cmari

On Saturday, January 9, 2016 at 12:30:54 PM UTC-8, Tobias Beer wrote:
>
>  Hi cmari,
>
> I think the link in the summary field inside your example tiddler "Search 
>> Multiple Fields with a Subfilter" still goes to the earlier version of the 
>> filter plugin? (I got javascript errors).
>
>
> Not sure what might have happened there. I tested Chrome and FF and get no 
> errors. Can you give more details when the error occurs?
>  
>
>> One other comment (bearing in mind I'm a non-expert): after reading the 
>> preface to the examples, I initially thought the search term was going to 
>> be the word "filter" itself (that's how I interpreted " using the filter 
>> operator *filter* to search for the word filter "). 
>>
>
> Oh, sorry. That must have been quite confusing. Fixed.
>
> It might help clarify things to state explicitly that in all of the 
>> examples the term being searched for is the word "Evaluate" (I think!).
>>
>
> Yes, that is correct. I have updated the example so now they probably make 
> a lot more sense. ;-)
>
> 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/f878bd7a-9901-4152-9968-19a511d0bfac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New plugin: tobibeer/filter

2016-01-09 Thread cmari
@Tobias,
I think the link in the summary field inside your example tiddler "Search 
Multiple Fields with a Subfilter" still goes to the earlier version of the 
filter plugin? (I got javascript errors).
>
>
> Here are a bunch of examples:
> Search Multiple Fields With A Subfilter @ tobibeer/plugins 
> <http://tobibeer.github.io/tw5-plugins/#Search%20Multiple%20Fields%20With%20A%20Subfilter>
>

One other comment (bearing in mind I'm a non-expert): after reading the 
preface to the examples, I initially thought the search term was going to 
be the word "filter" itself (that's how I interpreted " using the filter 
operator *filter* to search for the word filter "). 
It might help clarify things to state explicitly that in all of the 
examples the term being searched for is the word "Evaluate" (I think!).

cmari 

-- 
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/662c7f89-ceec-449f-88bc-3c66280ea316%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is it possible to apply an opacity setting to my tiddlers via css?

2016-01-03 Thread cmari

Perhaps this could be a palette tweak? (Or perhaps it already is and I 
haven't been able to find it). 

>
> As a followup, is it possible to make the sidebar have a background frame 
> similar to a tiddler?
>

Having spent some time poking around, I learned that you can change the 
background of the entire sidebar (site title and all), by putting this in a 
stylesheet tiddler:

.tc-sidebar-header {background-color:white; }

Alternatively, you could change the background of only what appears below 
the search field (including search results):

.tc-sidebar-lists .tc-tab-content, .tc-sidebar-lists .tc-search-results {
background-color: white; padding:3px;}

However, I'm not a CSS expert and the fact that these options seem to work 
perfectly well in Chrome and Firefox but don't do anything in AndTidWiki 
(where I'd really appreciate better visibility) makes me suspect there is 
probably a better way to do it. 
cmari

-- 
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/dafaac50-7db4-4814-9ca7-fa13a612698f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5] Text-Slicer Plugin

2015-08-15 Thread cmari
This is not actually about the slicer but an extremely minor question about 
the fold/unfold feature, which I really like - thanks! 

I wanted to add color to the new buttons, and was tripped up temporarily 
because the class format is slightly different. For consistency, could the 
class for the new images include the word button?  

Compare: 
svg class=tc-image-edit*-button* tc-image-button 
to: 
svg class=tc-image-fold-others tc-image-button 

cmari

On Saturday, August 1, 2015 at 5:31:06 AM UTC-7, Jeremy Ruston wrote:

 I've just pushed a new prerelease that includes an early cut of a tool to 
 slice longer texts into individual tiddlers based on headings and lists. 
 It's based on ideas that have come up in previous discussions about dealing 
 with long, structured tiddlers.

 You can try it out at:

 http://tiddlywiki.com/prerelease/editions/text-slicer/index.html

 You'll need to carefully follow the instructions in the HelloThere 
 tiddler:

 * Scroll down to the Sample Text tiddler and click on the text slicer 
 icon
 * Click the import button in the resulting import listing
 * Open the tiddler Sliced up Sample Text

 You should see a copy of the original text, but you can explore the table 
 of contents to see how it is composed of individual tiddlers that are 
 threaded together by tags.

 I'd welcome any feedback on the tool. I would also love some help in 
 finding a better sample text, something public domain that we can 
 re-distribute.

 Best wishes

 Jeremy


 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/968863bd-fe14-4fa8-8c70-19f85f2de6be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] BottomTabs plugin (v. 0.1)

2015-06-21 Thread cmari
In case I'm not the only person still very happily using the original 
BottomTabs, here is what I did to make the author list sort correctly 
(alphabetically, and in reverse): 
In the tiddler 
$:/plugins/amp/BT/lists/publications

Find: 
$reveal state=$:/temp/advancedsearch type=match text=
$list filter=[all[tiddlers]tag[$type$]$(order)$[$sort$]]

and delete $sort$ from the end of the second line:

$reveal state=$:/temp/advancedsearch type=match text=
$list filter=[all[tiddlers]tag[$type$]$(order)$[]]

Thank you again to Alberto!
cmari

On Saturday, January 10, 2015 at 1:58:28 PM UTC-8, Alberto Molina wrote:

 Hi Cmari,

 Thanks for your kind words and for the report. Lately, I've been doing 
 more coding than testing or even using the plugin, thus I'm not aware of 
 all the bugs. 

 Sorting by title and date works fine, but sorting by author is not 
 alphabetical.  Also, clicking the reverse checkbox didn't change anything 
 at all.


 I'll check that.

 Regards,

 Alberto 


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d52200c1-0219-48cd-a2e5-6bacf994c381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Announcing TiddlyWiki version 5.1.8

2015-04-19 Thread cmari
Hi Jeremy, 
I still can't successfully use the upgrader or drag a file from the period 
after March 21st. 
However, files dated before that (including 5.1.7 and earlier prerelease 
versions) can be upgraded to 5.1.8 successfully.  

If I hadn't been so impatient to see all the new features in action, I 
could have waited - but the export workaround was mentioned at just the 
right time.
cmari

On Sunday, April 19, 2015 at 2:06:57 AM UTC-7, Jeremy Ruston wrote:

 Hi Neil, Camarillo and Duarte

 Please can you confirm the version number of the wikis before you tried 
 the upgrade? Also, did you perform the upgrade at 
 http://tiddlywiki.com/upgrade.html?

 Many thanks,

 Jeremy
  
 —
 jeremy...@gmail.com javascript:


 On Sun, Apr 19, 2015 at 1:06 AM, Jeremy Ruston jeremy...@gmail.com 
 javascript: wrote:

 I haven't had a chance to investigate, but it looks like there was a 
 problem with the single quote fix. I'll release 5.1.9 tomorrow to resolve 
 this, apologies for the hiccup.

 Best wishes

 Jeremy
  
 —
 jeremy...@gmail.com javascript:


 On Sun, Apr 19, 2015 at 12:59 AM, cmari cem...@gmail.com javascript: 
 wrote:

 I had the same problem and saw that others also reported it. I spent a 
 lot of time trying the same things you've tried. What worked in the end was 
 exporting all my tiddlers to json format, following the instructions Eric 
 gave here:

 https://groups.google.com/d/msgid/tiddlywiki/a7d986a2-e389-49f3-929d-6cb1aee6ff7a%40googlegroups.com?utm_medium=emailutm_source=footer
 I was then able to drag the exported file into an empty new version 
 without any errors.
 cmari



 On Saturday, April 18, 2015 at 3:19:24 PM UTC-7, Neil Griffin wrote:

 Great to see this release, but I'm having trouble with the upgrader 
 which seems to be breaking all my single quotes (they all appear as 
 #39;).  I have used these in various places around filter strings and in 
 javascript macros and widgets, as well as in normal text, so it is causing 
 me a headache.  Tried in both Firefox and Chrome with the same result.  I 
 also tried downloading an empty TW and creating a tiddler with single 
 quotes which were handled correctly by the upgrader.  I didn't have this 
 problem a few weeks ago when I upgraded my wikis to the prerelease.

 Any ideas what might be going on?  Have I messed up my character 
 encoding or something?

 Cheers,

 Neil.



 On Friday, 17 April 2015 18:00:30 UTC+1, Jeremy Ruston wrote:

  I'm delighted to announce that TiddlyWiki version 5.1.8 has finally 
 been released to:

 http://tiddlywiki.com/

 Remember to keep careful backups before upgrading existing wikis at:

 http://tiddlywiki.com/upgrade.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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6a5b74ca-9605-40a9-ad5f-b35040d025fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Announcing TiddlyWiki version 5.1.8

2015-04-18 Thread cmari
I had the same problem and saw that others also reported it. I spent a lot 
of time trying the same things you've tried. What worked in the end was 
exporting all my tiddlers to json format, following the instructions Eric 
gave here:
https://groups.google.com/d/msgid/tiddlywiki/a7d986a2-e389-49f3-929d-6cb1aee6ff7a%40googlegroups.com?utm_medium=emailutm_source=footer
I was then able to drag the exported file into an empty new version without 
any errors.
cmari



On Saturday, April 18, 2015 at 3:19:24 PM UTC-7, Neil Griffin wrote:

 Great to see this release, but I'm having trouble with the upgrader which 
 seems to be breaking all my single quotes (they all appear as #39;).  I 
 have used these in various places around filter strings and in javascript 
 macros and widgets, as well as in normal text, so it is causing me a 
 headache.  Tried in both Firefox and Chrome with the same result.  I also 
 tried downloading an empty TW and creating a tiddler with single quotes 
 which were handled correctly by the upgrader.  I didn't have this problem a 
 few weeks ago when I upgraded my wikis to the prerelease.

 Any ideas what might be going on?  Have I messed up my character encoding 
 or something?

 Cheers,

 Neil.



 On Friday, 17 April 2015 18:00:30 UTC+1, Jeremy Ruston wrote:

 I'm delighted to announce that TiddlyWiki version 5.1.8 has finally been 
 released to:

 http://tiddlywiki.com/

 Remember to keep careful backups before upgrading existing wikis at:

 http://tiddlywiki.com/upgrade.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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c913a98d-c329-4bef-962e-f47c6ae3b53b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: tiddlyclip for chrome

2015-03-01 Thread cmari
Thanks, BJ. I couldn't get the linked file to work (I got a message saying 
the zip file had no contents), but knowing what I was looking for meant I 
was able to download tiddlyclip-master.zip directly from github, and that 
worked.
I'm so pleased to be able to use this in Chrome!
cmari

On Sunday, March 1, 2015 at 12:41:01 PM UTC-8, BJ wrote:

 apologies, the instructions should read:

 The chrome addon needs to be added locally. Right click the link below to 
 save the addon locally. (unzip it)

 https://github.com/buggyj/tiddlyclip/blob/0.0.7-alpha/tiddlyclip.zip

 click the menu button then click more tools then extensions, then load 
 unpacked extension
 cheers
 BJ

 On Sunday, March 1, 2015 at 12:29:37 PM UTC-6, cmari wrote:

 Hi BJ,
 I think I followed the instructions correctly, but when I click load 
 unpacked extension and select the location where I saved the xpi file, I 
 get the following error:
 Failed to load extension from: ~\Desktop
 Manifest file is missing or unreadable.

 Any suggestions? Thanks! 
 cmari 

 On Tuesday, February 24, 2015 at 9:03:04 AM UTC-8, BJ wrote:

 I have added a chrome addon for tiddlyclip - install instruction at 
 http://tiddlyclip.tiddlyspot.com/. I have also put tiddlyclip under the 
 mit license.
 cheers

 BJ



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: tiddlyclip for chrome

2015-03-01 Thread cmari
Hi BJ,
I think I followed the instructions correctly, but when I click load 
unpacked extension and select the location where I saved the xpi file, I 
get the following error:
Failed to load extension from: ~\Desktop
Manifest file is missing or unreadable.

Any suggestions? Thanks! 
cmari 

On Tuesday, February 24, 2015 at 9:03:04 AM UTC-8, BJ wrote:

 I have added a chrome addon for tiddlyclip - install instruction at 
 http://tiddlyclip.tiddlyspot.com/. I have also put tiddlyclip under the 
 mit license.
 cheers

 BJ


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is it possible to get a list of unique values of a single field?

2015-01-24 Thread cmari
Example...
each of type @ filters http://filters.tiddlyspot.com/#each%20of%20type

One pedantic footnote about the each approach, from experience: obviously 
if only one tiddler in your file contains a particular field value, e.g., 
[myfieldname[fieldvalue*1*]], if you use your radio button to change that 
tiddler's field value to [myfieldname[fieldvalue*2*]], then fieldvalue*1 *will 
no longer appear as an option in the radio button list.  For my use case, I 
found I still needed to create placeholder tiddlers containing the 
fieldvalues that I wanted to be always available for selection. 
cmari

On Saturday, January 24, 2015 at 7:41:37 AM UTC-8, Tobias Beer wrote:

 Why is *get* special, such that *[get[type]]* doesn't mean 
 *[each[type]get[type]*?


 I think it boils down to a matter of implementation. Possibly *get *came 
 after *each *and was designed for the purpose of fetching a single 
 tiddler's field, e.g. to set a variable. I guess it was not intended to 
 operate on a list of tiddlers. But the behaviour you sugest sounds like a 
 meaningful expectation because those duplicates really are undesired. 
 Otherwise, we'd need another *unique* filter operand to get rid of the 
 duplicates.

 So, theoretically, I think it could operate like *each*, but then I think 
 it should rather be *[has[type]each[type]get[type]*... not returning 
 blanks. But perhaps there is a case where you do want specifically declared 
 blanks, rather than undefined.

 I was about to extend *each*, so it does handle list fields, e.g. 
 *[each:list[]]* or *[each:list[my-list-field]*. But now I am thinking 
 that this isn't consistent with the way *each* actually works right now.

 Perhaps it should rather be: *[tag[foo]get:list[]]* or *[**tag[foo]*
 *get:list[my-list-field]]* with the behaviour you describe, thus 
 returning individual tiddler references of list fields, not those distinct 
 combinations or values thereof that would be returned now.

 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] xlist — rewritten (!) and plenty more powerful now!

2015-01-18 Thread cmari
Hi Tobias,
What I was not clever enough to figure out, is what you had done in the 
edited tabs macro that allowed the Topics tiddler to display:

All Publications http://xlist.tiddlyspot.com/#Publications on Business 
http://xlist.tiddlyspot.com/#Business...
(the second link having the name of, and link to, the tiddler displayed in 
the tab), rather than

All Publications http://xlist.tiddlyspot.com/#Publications on Topics 
http://xlist.tiddlyspot.com/#Topics...
(the second link having the name of, and link to, the curent tiddler)

I liked that feature, and was hoping it would be possible to keep it 
without breaking tiddler info!
cmari

On Sunday, January 18, 2015 at 9:44:01 AM UTC-8, Tobias Beer wrote:

 That has not changed.


 I was sure I did remove the problem
 and upload the changes.
 Somehow, I didn't.
 Try again.

 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] xlist — rewritten (!) and plenty more powerful now!

2015-01-18 Thread cmari
I realized it was in the template, thanks.  But in your previous version, 
$view field=title/ produced the title of the tab and now it doesn't.  
In case it's helpful to anyone else, after experimenting, I found that I 
could use currentTab instead of $view field-title/ in the first line 
of 
$:/.tb/templates/tab/xlist/topic
so that instead of:

All [[Publications]] on $link to=currentTab$view field=title//$link...


it says: 
All [[Publications]] on $link to=currentTab currentTab/$link ...

cmari

On Sunday, January 18, 2015 at 10:30:38 AM UTC-8, Tobias Beer wrote:

 Hi cmari,
  

 What I was not clever enough to figure out, is what you had done in the 
 edited tabs macro that allowed the Topics tiddler to display:
 I liked that feature, and was hoping it would be possible to keep it 
 without breaking tiddler info!


 It's not a feature of the *xlist* macro,
 but rather how the *tabs* macro works.

 You simply need to define templates
 like those referenced in this example:

 Tabs Of Index Tiddlers @ xlist 
 http://xlist.tiddlyspot.com/#Tabs%20Of%20Index%20Tiddlers

 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] xlist — rewritten (!) and plenty more powerful now!

2015-01-17 Thread cmari
Hi Tobias,
This is really great and I especially like the potential for easy 
substitutions.  One odd thing I noticed: 
I followed your Installation instructions in an empty TW 5 file.  Then I 
dragged in all the tiddlers related to the tiddler called Topics.  
However, in my file the first line on each of the tabs in Topics still 
said 
All Publications http://xlist.tiddlyspot.com/#Publications on Topics 
http://xlist.tiddlyspot.com/#Topics...
In your file, it says
All Publications http://xlist.tiddlyspot.com/#Publications on Economics 
http://xlist.tiddlyspot.com/#Economics...  (or Business)

After some poking around, I realized that if I dragged in your version of 
$:/core/macros/tabs
then Economics or Business replaced the word Topics.

But then I noticed that in the tiddler info dropdown, the fields 
information was wrong.  Instead of showing the current tiddler's fields 
(created and modified dates, lists, etc), the field information was the 
same for every tiddler:
   caption   {{$:/language/TiddlerInfo/Fields/Caption}}  tags  
$:/tags/TiddlerInfo  title


 $:/core/ui/TiddlerInfo/Fields

Any idea what's going on?

cmari




On Friday, January 16, 2015 at 5:45:24 AM UTC-8, Tobias Beer wrote:

 Ok, here's a (another) major update for *xlist*...

 http://xlist.tiddlyspot.com

 Now you can match and crosslist any combination of *fields* and *tags*, 
 see..

 http://xlist.tiddlyspot.com/#Variants

 Sorry for that, but to implement the above
 I had to do some fundamental rewiring, again.

 In other words, once again, the parameter order
 as well as available parameters have changed,
 so the new version is *incompatible* with the any one(s)!

 After a long night with mountains of macro code
 — only to be abandoned again — 
 I eventually realized that by introducing another filter parameter,
 I could remove three other parameters no longer needed
 and strip the macro code down to a neat minimum.

 Now you can use the following two filter parameters...

- *filter* — to define a basic item filter
- *groups* — to define a filter for the category groups

 Also there is now the *each* parameter
 which allows you to group by and match against
 categories derived form the discrete values of any field.

 Before there were the following parameters...

- *filter* — to define a filter for the category groups — redefined to 
*groups*
- *field* — to specify a text-reference for a list field — removed
- *match* — to specify a field to be matched — removed
- *value* — to specify the value for the *match* field — removed

 So, for anyone who has already looked at it
 or started implementing anything with *xlist*,
 please take another close look at the documentation 
 http://xlist.tiddlyspot.com
 and adapt your macro calls accordingly.

 Any future parameters shall come after existing ones.
 Promised!

 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] BottomTabs plugin (v. 0.1)

2015-01-10 Thread cmari
Hi Alberto,
I already liked tw-scholars, so I'm trying hard to keep up with all of your 
improvements!  One thing I noticed is that the author list (in 
$:/plugins/.../lists/publications) doesn't seem to be sorting properly.  
I tried creating new authors and publications in your dropbox version to 
test things in case there was some problem with my fields.  Sorting by 
title and date works fine, but sorting by author is not alphabetical.  
Also, clicking the reverse checkbox didn't change anything at all.  I wish 
I could provide actual help rather than just a report, but I'm very 
confused about where authors are defined.
Thanks so much for what you've created - I use it daily.
cmari

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Button to add 1 or 7 days to a date

2014-11-24 Thread cmari
Hi Andreas,
See this thread:
https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/datetime/tiddlywiki/Ez2OwDXBwk8/t0ZKXYjmKJ4J

which refers to Stephan's dateTimeMacro here:
http://tiddlystuff.tiddlyspot.com/

Works really well for me!
cmari

On Monday, November 24, 2014 8:46:05 AM UTC-8, Andreas wrote:

 Hi there,

 I have a field in a tiddler which holds a date (t_duedate: 2014-11-27).
 What I now want to do is to add seven days to this date by simply pressing 
 a button.

 How can I add a value to a field?
 Is there a solution for adding days?

 Hope you can help,
 Andreas


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Button to add 1 or 7 days to a date

2014-11-24 Thread cmari
I'm sure others could do this far more efficiently, but in case it helps, 
here's a minimalist version of what I cobbled together using both the 
dateTime macro and Matabele's mangletags and setfield widgets 
(http://gwiz.tiddlyspot.com/#Widgets%20for%20Buttons:[[Widgets%20for%20Buttons]]).
 


In order to make this work, the tiddler needs to have three fields:
-repeattype (with a value of months or days, e.g., 1M, 2D, 7D, etc.)
-duedate (with a value formatted without hyphens, e.g., 20141124)
-due-date (with a value formatted with hyphens, e.g., 2014-11-24. This one 
isn't actually essential, but allows the date to be displayed in the 
tiddler.  Note that changes to this date don't affect the duedate, but 
clicking the update button will re-align this date with the duedate).
I couldn't figure out how to avoid the two date versions for my purposes, 
but at least you only need to set them up once.

The tiddler text (which can also be used in transclusion in any other 
tiddler that contains the three fields):

\define nextdeadline(duedate,repeattype)
dateTime -0MM-0DD $(duedate)$ $(repeattype)$
\end

\define nextunformatteddeadline(duedate,repeattype)
dateTime 0MM0DD $(duedate)$ $(repeattype)$
\end

\define updatefields1(to, add2,add4, add5)

$setfield set=$to$!!due-date setTo=$(add4)$ 
$setfield set=$to$!!duedate setTo=$(add5)$
$mangletags message=tm-set-field$button  message=tm-mangle-tags
update/$button/$mangletags/$setfield/$setfield
\end

\define updatefields2()
$macrocall $name=updatefields1 to={{!!title}}  add2=dateTime 
-0MM-0DD 
\end

$set name=duedate value={{!!duedate}}
$set name=repeattype value={{!!repeattype}}
$set name=add4 value=nextdeadline 
$set name=add5 value=nextunformatteddeadline 

$edit-text tiddler={{!!title}} field=due-date type=date tag=input/
$edit-text

$list filter=[all[current]]updatefields2/$list
/$set
/$set
/$set
/$set






cmari

On Monday, November 24, 2014 9:07:38 AM UTC-8, Andreas wrote:

 Hi cmari,

 the dateTime module could be what I was searching for - thanks for this.

 The usage is described like this:
 The variable tag hold the current date.
 $set name=tag value=dateTime DD-MMM

 One question I still have:
 How do I get the resulting date from the variable tag into my field 
 t_duedate?
 (Sorry if this question is to stupid...)

 Andreas



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Adjust sameday filter results for time zone

2014-11-15 Thread cmari
For a long time I've been mystified by the fact that I could never get 
correct results when I experimented with what's described in 
http://tiddlywiki.com/#FilterOperator%3A%20sameday
where it says
[sameday[20140410]] Returns a list of the tiddlers modified on the 10th 
April 2014.

I am 8 hours behind UTC, and I assumed that had something to do with 
things.  But sameday doesn't seem to look for the UTC date that I can see 
in the modification field. 
If I try sameday with today's date (November 15th, or 20141115), for 
example, I get only tiddlers that were modified on the 14th (with a 
modified field of, e.g., 20141114160205254). 
On the other hand, if I give tomorrow's date (20141116), I do see today's 
tiddlers (even though they have a modification date of, e.g., 
20141115152548000). 

After lots of trial and error, I discovered that I can get the correct 
results (I think!) if I append a number to the date that is equal to or 
larger than the number of hours by which my time zone is behind UTC.
To get tiddlers I modified today (the 15th of November), I can use
[sameday[201411158]] 
(this works even for tiddlers modified at night, when the date in the 
modification field date has already changed to the next day).

Because I don't understand this, I am unfortunately not able to offer any 
assistance with updating documentation, but I do think it's confusing and 
I'm hoping that someone else might be able to insert some clarification 
into the sameday documentation.

Thanks,
cmari

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-07 Thread cmari
Thank you, Stephan, that widget was already essential to me, but the
additions are terrific.
cmari

On Mon, Oct 6, 2014 at 2:59 AM, Shash skmurth...@gmail.com wrote:

 Really incredible Stephan. Thanks a lot for your support on this.

 I will be looking forward for your enhancements. Thanks!

 Shash


 On Monday, October 6, 2014 11:54:44 AM UTC+5:30, Stephan Hradek wrote:

 P.S. planned enhancements Last Christmas :D and Easter calculation.

  --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Is there a way to use datetime module to add tomorrows date in a tag?

2014-10-07 Thread cmari
oops, I meant macro, not widget

On Tue, Oct 7, 2014 at 7:41 AM, cmari cema...@gmail.com wrote:

 Thank you, Stephan, that widget was already essential to me, but the
 additions are terrific.
 cmari

 On Mon, Oct 6, 2014 at 2:59 AM, Shash skmurth...@gmail.com wrote:

 Really incredible Stephan. Thanks a lot for your support on this.

 I will be looking forward for your enhancements. Thanks!

 Shash


 On Monday, October 6, 2014 11:54:44 AM UTC+5:30, Stephan Hradek wrote:

 P.S. planned enhancements Last Christmas :D and Easter calculation.

  --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Search in field contents?

2014-09-12 Thread cmari
Hi Stephan,
Thanks, that led me down an interesting rabbit-hole. I had to use 
$:/temp/advancedsearch instead of $:/temp/search in order to get any 
results. Then of course, I got results for *all* fields (which of course 
was what I asked for - but quickly realized I didn't actually want!).  I 
tweaked things to exclude fields in which the search term wasn't found.  
I'd really like to also exclude the fields title, text, and tags, but 
I couldn't figure out how to do that (and my fumbling efforts produced many 
javascript errors and hung pages). Here's what I came up with, in case it's 
of interest:

\define searchInField(field, for)
$list filter=[!is[shadow]!is[system]field:$field$/$for$/]$field$: 
ulli$link$view field=title//$link /li/ul/$list
\end
$reveal state=$:/temp/advancedsearch type=nomatch text=
$list filter=[!is[shadow]!is[system]fields[]] variable=fieldname
$macrocall $name=searchInField field=fieldname for={{$:/temp/
advancedsearch}}/ 
/$list
/$reveal

cmari

On Monday, September 8, 2014 12:05:21 AM UTC-7, Stephan Hradek wrote:

 Small enhancement:

 \define searchInField(field, for)

 $list filter=[!is[shadow]!is[system]field:$field$/$for$/]

 $link$view field=title//$link

 /$list

 \end

 $reveal state=$:/temp/search type=nomatch text=
 $list filter=[!is[shadow]!is[system]fields[]] variable=fieldname

 Searching in field: fieldname

 $macrocall $name=searchInField field=fieldname 
 for={{$:/temp/search}}/

 /$list
 /$reveal


 This will hide the results when no search text was entered.


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Search in field contents?

2014-09-12 Thread cmari
thanks, that's so simple (and powerful) that it makes me feel really stupid
for not having known about it!
cmari

On Fri, Sep 12, 2014 at 8:36 AM, Jeremy Ruston jeremy.rus...@gmail.com
wrote:

 Hi cmari

 You can exclude fields like this:

 \define searchInField(field, for)
 $list filter=[!is[shadow]!is[system]field:$field$/$for$/]$field$:
 ulli$link$view field=title//$link /li/ul/$list
 \end
 $reveal state=$:/temp/advancedsearch type=nomatch text=
 $list filter=[!is[shadow]!is[system]fields[]] -title -text -tags
  variable=fieldname
 $macrocall $name=searchInField field=fieldname for={{$:/temp/
 advancedsearch}}/
 /$list
 /$reveal

 Best wishes

 Jeremy


 On Fri, Sep 12, 2014 at 4:28 PM, cmari cema...@gmail.com wrote:

 Hi Stephan,
 Thanks, that led me down an interesting rabbit-hole. I had to use
 $:/temp/advancedsearch instead of $:/temp/search in order to get any
 results. Then of course, I got results for *all* fields (which of course
 was what I asked for - but quickly realized I didn't actually want!).  I
 tweaked things to exclude fields in which the search term wasn't found.
 I'd really like to also exclude the fields title, text, and tags, but
 I couldn't figure out how to do that (and my fumbling efforts produced many
 javascript errors and hung pages). Here's what I came up with, in case it's
 of interest:

 \define searchInField(field, for)
 $list filter=[!is[shadow]!is[system]field:$field$/$for$/]$field$:
 ulli$link$view field=title//$link /li/ul/$list
 \end
 $reveal state=$:/temp/advancedsearch type=nomatch text=
 $list filter=[!is[shadow]!is[system]fields[]] variable=fieldname
 $macrocall $name=searchInField field=fieldname for={{$:/temp/
 advancedsearch}}/
 /$list
 /$reveal

 cmari


 On Monday, September 8, 2014 12:05:21 AM UTC-7, Stephan Hradek wrote:

 Small enhancement:

 \define searchInField(field, for)

 $list filter=[!is[shadow]!is[system]field:$field$/$for$/]

 $link$view field=title//$link

 /$list

 \end

 $reveal state=$:/temp/search type=nomatch text=
 $list filter=[!is[shadow]!is[system]fields[]] variable=fieldname

 Searching in field: fieldname

 $macrocall $name=searchInField field=fieldname
 for={{$:/temp/search}}/

 /$list
 /$reveal


 This will hide the results when no search text was entered.

  --
 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 http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/d/optout.




 --
 Jeremy Ruston
 mailto:jeremy.rus...@gmail.com

 --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Search in field contents?

2014-09-07 Thread cmari
I find myself using a lot of fields, and I wonder if anyone has come up 
with an easy way to search for the contents of fields.  As best I can tell, 
you need to know a field's name in order to search for its contents?  
As an example, two of the publications in the demo at 
http://tw5.scholars.tiddlyspot.com/ are books and are labelled as such in a 
field.  However, a search for the word book will not find them.  You need 
to know know that the field where the information is stored is called 
publication type, you need to go to advanced search, and you need to put 
[publication_type[book]] into the filter search.  Note that I am in no way 
criticizing Alberto's great tool (I know he has other ways of identifying 
books and I'm a happy adapter of his approach). I'm just wondering if there 
is a quicker way to find all the tiddlers that contain the word book in 
their fields.

Thanks - and as always, apologies if I missed an answer that's already been 
given.
cmari

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Announcing TiddlyWiki 5.0.16-beta

2014-09-02 Thread cmari
Hi Jeremy,
Minor point among all the daunting major ones: it looks to me as though the
documentation for removesuffix
http://tiddlywiki.com/#FilterOperator%3A%20removesuffix

was copied from removeprefix but the example didn't get changed.
cmari


On Tue, Sep 2, 2014 at 6:03 AM, Jeremy Ruston jeremy.rus...@gmail.com
wrote:

 I'm delighted to announce the release of TiddlyWiki 5.0.16-beta:

 http://tiddlywiki.com

 The new features and bug fixes are listed below, but the most significant
 changes are internal. In particular, we've adopted new prefixes for
 messages, classes and variables that mean that this release will break
 almost all plugins and customisations created for earlier versions. See the
 release note for more details.

 Making such a big change is always undesirable, and is not undertaken
 lightly. I'm hoping that TW5 will enjoy a long life, and be used for many
 decades to come. That's why I think it's worth taking some pain now in
 order to try to make the eventual product better.

 Anyhow, other changes in this release include:

 * Amended behaviour of the tm-browser-refresh message so that it no longer
 clears the location hash
 * Fixed problem with single line macro definitions incorrectly including
 whitespace in the value
 * Extend TableOfContentsMacro to use the caption field if present
 * Added suffix and removesuffix filter operators

 Another important addition is the introduction of a preliminary version of
 the tw2parser plugin (developed by @buggyj). This component allows
 TiddlyWiki5 to display wikitext created for TiddlyWiki Classic. As well as
 supporting the classic WikiText format, tw2parser includes a number of
 macros and other features from TWC. The new component is not yet ready for
 primetime, but you can experiment and find out more at:

 http://tiddlywiki.com/classicparserdemo.html

 You can upgrade at http://tiddlywiki.com/upgrade.html - but please,
 please make sure that you keep careful backups of your content.

 Any feedback or questions welcome here. Any questions from a development
 perspective should be posted to the dev group over at
 http://groups.google.com/group/TiddlyWikiDev.

 Many thanks to all the contributors for their patient work on this release,

 Best wishes

 Jeremy

 --
 Jeremy Ruston
 mailto:jeremy.rus...@gmail.com

 --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Announcing TiddlyWiki 5.0.16-beta

2014-09-02 Thread cmari
Since I said I thought it would be daunting (after seeing that there were
1200 instances of tw- in my file), I'm coming back to report that
search/replace in a text editor made things relatively easy.  Half the
instances of tw- were related to tw-scholar, so I changed those to
something else temporarily.  The examples in the release notes and the list
of messages in tiddlywiki.com helped with most of the rest.

The only slightly confusing thing (to me) was config-toolbar, which I
thought might need to be separately treated because it appears as part of
both a message and a class.  It does still seem a bit counter-intuitive
that the class name uses the tv- prefix (tv-config-toolbar-class), rather
than tc-, but it certainly makes the search/replace process easier.
cmari


On Tue, Sep 2, 2014 at 11:26 AM, Jeremy Ruston jeremy.rus...@gmail.com
wrote:

 Hi Danielo

 Apologies, I didn't mean to imply that the actual task of adapting code
 for 5.0.16 is trivial, just that the nature of the changes is relatively
 straightforward because they are regular changes.

 A tool that does the search and replacing may be feasible. In some cases
 there may still need to be manual intervention/verification, I guess.

 Right now upgrader modules don't get told the version number of the
 incoming TW document, which would be needed in this case so that the
 upgrader can determine whether or not to make the replacements for a
 certain tiddler.

 Best wishes

 Jeremy



 On Tue, Sep 2, 2014 at 4:33 PM, Danielo Rodríguez rdani...@gmail.com
 wrote:



 In terms of the details of the change, it really is as simple as the
 release note says: a search and replace from tw-tc, tm and tv. I think
 that that is all anyone needs to know to adapt existing code to the change.
 (There are some prefixless classes that have gained the tc prefix too, and
 they are listed in the ticket referenced in the release note).



 It can sound trivial from a human perspective, but it is not fro an
 automatic process. How can you distinguish between a class, a variable and
 a message? The only reliable way is to have a list of the old messages and
 its new equivalent. If you have that list already , or at least a list of
 the old ones classified by classes.

 Maybe you can consider include that list in the upgrade mechanism and let
 it make the search and replace.




 --
 Jeremy Ruston
 mailto:jeremy.rus...@gmail.com

 --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Editable Table plugin.

2014-07-23 Thread cmari
I am using Editable Tables in TW 5.0.13 (it's really useful for
comparing/updating/synchronizing fields in many tiddlers all at once -
thanks, Danielo!).  I'm pretty sure that all I did to make things work was
add Stephan's fix for split-tiddler.
cmari


On Wed, Jul 23, 2014 at 3:01 PM, Birthe C strikkeglad...@googlemail.com
wrote:

 Hi Stephen
 You did everything right. Braintest is running TW 5.08 and thus Editable
 Table works. The problem is changes in filters that made split not work in
 later versions. *BUT*Read here:
 https://groups.google.com/d/msg/tiddlywiki/i1X9j8YsESk/U5gIFC1fnGAJOn
 Stephan Hradek wrote a fix http://tiddlystuff.tiddlyspot.com/ you will
 find it in tiddler Selfmade Lists. Try that one.

 Birthe

  Wednesday, July 23, 2014 11:17:31 PM UTC+2, Stephen Kimmel wrote:

 Maybe I'm just slow but I went to Braintest (http://braintest.tiddlyspot.
 com/) and called up the tiddler Inline editable tables. It listed four
 tiddlers to copy over:

- $:/core/modules/filters/split.js

 http://braintest.tiddlyspot.com/#%24%3A%2Fcore%2Fmodules%2Ffilters%2Fsplit.js


- $:/plugins/skeeve/newtiddler.js

 http://braintest.tiddlyspot.com/#%24%3A%2Fplugins%2Fskeeve%2Fnewtiddler.js


- CSS-Table http://braintest.tiddlyspot.com/#CSS-Table


- Editable-Table http://braintest.tiddlyspot.com/#Editable-Table

 Then for good measure I also did the drop and drag on the three sample
 entry tiddlers, Danielo, Dorothy and Full.

 Because sometimes the things aren't live until you load them, I saved the
 wiki and reloaded it.

 The Editable-Table tiddler looks like this:
 Editable-Table

  Edit
 Danielo
 Dorothy
 Full

  with the plus sign next to the word Name and the writing pen next to the
 names.  On the Braintest page it I get Name, User, Grupo, Role and for Ful,
 I get bla, bla and bla. When I click on the writing pen icon I get editable
 spaces while on mine I get nothing.

 Obviously I am missing something but I'm not sure what. Perhaps an
 unlisted tiddler. I just don't know.

 I love the idea of editable tables but...

  --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Search titles only

2014-07-18 Thread cmari
Forgive me if I've missed information that's already been posted about 
this.  I created a tiddler with the word current in its title, and then 
realized that tiddler was going to be very difficult to find among all the 
others that contain the word current in their text.  This made me realize 
how difficult it was (for me, anyway) to actually come up with a way to 
filter tiddlers by words in their titles.  I'm hoping that if I submit my 
stumbling approach, others will offer even better ideas.  For now, this is 
what I've done to tweak what's already in $:/core/ui/SideBarLists:

Copy (clone) $:/core/ui/SideBarLists to a new tiddler for experimentation.

At the top of the new tiddler, add 

\define MyTitleSearch()
$list filter=[field:title/$(searchitem)$/(i)]$link to={{!!title}}$view 
field=title//$linkbr/$list 
\end

Just before the line that says:
$reveal state=$:/temp/search type=nomatch text=

add the following:

hr
In titles:br
$set name=searchitem value={{$:/temp/search}}
MyTitleSearch
/$set
hr

Save the tiddler and try searching for current or list (in that 
tiddler's search box).
cmari

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Search titles only

2014-07-18 Thread cmari
I knew I had seen something about this before, but I couldn't find it.  You 
were 5 whole months ahead of me - thanks!
cmari

On Friday, July 18, 2014 1:06:14 PM UTC-7, Alberto Molina wrote:

 Hi cmari, 

 try the search box in tesis.tiddlyspot.com

 If you want to see how it works, open $:/_ui/searchbox

 Regards, 

 Alberto 



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] CSS Styling and Themes

2014-07-12 Thread cmari
Hi Matabele,
This is really nifty and looks as though it might offer a really useful way
to access things on a small screen!

On my small android phone (using AndTidWiki), I found that I needed to tap
the bottom of the TOC bar (not the double-angle buttton) to open the menu -
otherwise I wound up inadevertently opening one of the tiddlers at the top
of the menu (e.g., Widget Messaging in the Stack).  The menu fills my
screen, but I suspect that could be adjusted.
It might help to add the option of a separate close button for the menu,
since the mouseover effects don't work on (my) phone or tablet?  There is
currently a close button that does the job, but I think it's really the
hide-sidebar button in TopBarRight (which means that too long a tap will
obviously also close the right side-bar).
cmari


On Sat, Jul 12, 2014 at 8:55 AM, Ton Gerner ton.ger...@gmail.com wrote:

 Hi Matabele,

 You succeeded in making that side menu TOC. Very, very nice.
 You are making a very 'personal' TW5 in this way.

 A lot to explore for me.

 Thanks,

 Ton



 On Saturday, July 12, 2014 5:18:53 PM UTC+2, Matabele wrote:

 Hi Dave

 On Saturday, July 12, 2014 4:53:26 PM UTC+2, David Gifford wrote:


 That hidden TOC on the right is nice. I am not sure how to scroll down
 to see elements that run off the bottom of the screen. But the fact that it
 can be done already in TW5 is great. Maybe the hidden TOC could have some
 kind of internal scrolling?


 The slider menu is already running into the sidebar scrollbar -- I think
 another scrollbar would be confusing. I wondered, perhaps, if the whole
 thing should rather be moved to the LHS to avoid colliding with the
 scrollbars.

 The height of the box can be adjusted in the stylesheet -- I made mine
 big enough for my full TOC. Perhaps, I should trim this down a little to
 fit small screens -- this was the application for which this toy was
 intended. I don't have a mobile to test on which makes it difficult for me
 to get the settings right.

 Provided you know the widgets exist, they'll be there when you need them.
 All were written to overcome specific problems I encountered, but were
 written in such a way that they could be used elsewhere. The ones I find
 most useful are:
 -- the $setfield widget (this allows multiple text reference values to
 be set with one button)
 -- the $maketid widget (a modified version of Skeeve's $newtiddler
 widget)
 -- the $mangletags widget (this allows the setting, removal or
 replacement of a tag)
 -- roughly in that order.

 The others are fairly specialised, although the $makelist widget has a
 few applications of general interest, such as opening a list of tiddlers
 selected with a filter expression.

 regards

  --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [tw5] CycleTags button in TW5?

2014-07-08 Thread cmari
Stephan, I somhow missed this illustration when you first posted it.  It
was really helpful - thanks!  Also, once I saw it, I was reminded of one of
your earlier illustrations here:
https://groups.google.com/forum/?hl=en#!topicsearchin/tiddlywiki/myvar/tiddlywiki/4Hlv2Sn5TYc

Working through the specific cycle tags example with the benefit of your
general illustrations and Matabele's definitions and code tweaks has been a
great way to increase my own understanding of both the SetWidget and the
MacroCallWidget.  So thanks again to both of you!
(As a non-expert, I'm never sure whether documentation is missing or
whether I'm simply not getting the full benefit of existing documentation
because I don't understand what I'm seeing).
cmari




On Tue, Jul 1, 2014 at 10:32 PM, Stephan Hradek stephan.hra...@gmail.com
wrote:

 Can you upload your wiki because this absolutely makes no sense.

 When I put this into the current tiddlywiki.com wiki:


 https://lh4.googleusercontent.com/-_exDJ0BValY/U7OZVwOZWQI/AOQ/C3qudpMdVZ0/s1600/Bild+16.png
 \define test(now)

 |Brackets |$(now)$ |
 |None |$now$ |

 \end

 ! with a set

 $set name=now value=I'm from a set

 test I'm a parameter

 /$set

 ! without set

 test I'm a parameter


 I get


 https://lh4.googleusercontent.com/-_exDJ0BValY/U7OZVwOZWQI/AOQ/C3qudpMdVZ0/s1600/Bild+16.png

  --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [tw5] CycleTags button in TW5?

2014-07-06 Thread cmari
Hi Matabele,
Thanks so much for both the very clear and succinct summary of correct
syntax and the tidied code!

cmari


On Thu, Jul 3, 2014 at 11:05 PM, Matabele matabele.b...@gmail.com wrote:

 Hi Mans

 After further testing, I have found that fields work better than data
 entries -- especially when switching from one list to another. A single
 tiddler may still be used for the lists -- the lists being placed in fields
 rather data entries and called with:

 lists!!days

  -- rather than

 lists##days

 It is possible to use a variable -- in general this requires the use of
 $set widgets, as in:

 $set name=list value=lists!!days
 $set name=target value=Title

 -- or even

 $set name=list value={{!!list}}
 $set name=target value={{!!title}}

 These variables can then be used in the macrocalls, for example:

 \define nexttag()
 [list[$(list)$]after[$(oldtag)$]][list[$(list)$]first[]]+[first[]]
 \end

 regards

 On Friday, July 4, 2014 2:30:12 AM UTC+2, Måns wrote:

 Hi Matabele


 I can't help wondering if:

 Is it possible to change the library index part (lists##days)to a
 variable eg.: lists##$variable$ and make the current part(s)
 (set=!!current and $set name=oldtag value={{!!current}}) also into a
 variable and turn everything into a single cycle tags macro where you
 specify the tiddler and the list eg.:

 cycleTags TiddlerName days or cycleTags (current) months
 ??

 Cheers Måns Mårtensson

  --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5] CycleTags button in TW5?

2014-07-01 Thread cmari
If you'll please not laugh too loudly, here's what I've been doing with 
mangletags.  It cycles through a list of tags, leaving other tags in 
place.  It works pretty well, except I don't know how to go back to the 
beginning of the list once the end has ben reached.  Any help would be 
gratefully accepted!

For this example, create a tiddler called Daylist, and give it a list field 
containing Mon Tue Wed ...
In your tiddler where you want to cycle the tags, add the tag Mon, and 
create a field current with the same value as the tag (Mon).  
Then either put the code inside that tiddler or use the {{||cycleTags}} 
option.  
Code:
\define nexttag(now)
[list[Daylist]after[$(now)$]] 
\end

\define swaptag(to, newtag, oldtag)
$setfield set=$to$!!current setTo=$newtag$
$mangletags find=$(oldtag)$ add=$newtag$ message=tw-set-field
$button message=tw-mangle-tags cycle /$buttonbr/$mangletags/
$setfield
\end

\define prepare2()
$macrocall $name=swaptag to={{!!title}}  newtag=definenexttag/
\end

$set name=now value={{!!current}} 
$set name=oldtag value=now 

$list filter=nexttag variable=definenexttag 

$list filter=[all[current]]
$link{{!!title}}/$link prepare2br
/$list

/$list

/$set
/$set

cmari



On Tuesday, July 1, 2014 7:41:31 AM UTC-7, Måns wrote:

 Hi Stephan

 Very nice solutions - both of them! Thank you very much :-)
 They both do what I need now and it doesn't matter that they use all of 
 the tagfield value..
 I guess I could change it to work on any other field if I want other tags 
 to the tiddlers..

 Of course I'm also wondering if it is possible to create yet another 
 generic tagcycler which will allow other tag values on a tiddler side by 
 side - and not overwrite them... eg. task + a cycle of tags like: 
 urgent or [[on hold]] or done etc..

 Thanks again - Your help is very much appreciated :-)

 Cheers Måns Mårtensson


 Den tirsdag den 1. juli 2014 12.10.51 UTC+2 skrev Stephan Hradek:

 A more generic approach. Create a tiddler cycleTags

 \define btn()
 $button set=$(transcluder)$!!tags setTo={{!!title}}$view field=
 titleclear/$view/$button
 \end
 $set name=transcluder value={{!!title}}
 $list filter=[[]] [is[current]list[!!tagcycle]] +[after{!!tags}] [[]] 
 +[limit[1]]btn/$list
 $set

 Put this into your tiddler you want to rag:
 {{!!title||cycleTags}}

 Or this if you want to tag another tiddler from somewhere:
 {{My Tiddler to tag||cycleTags}}

 Add a field tagcycleto the tiddler to tag which contains the tags 
 youwamnt in the sequence you want them (A B C)



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5] CycleTags button in TW5?

2014-07-01 Thread cmari
Thank you both, Måns and Stephan - that's a great improvement!  I think 
I've said before that I don't understand why parentheses are needed in 
situations like [$(now)$], but they are clearly required in this case 
(omitting them causes the tag to switch to the item before rather than 
after). 
cmari

On Tuesday, July 1, 2014 2:47:46 PM UTC-7, Måns wrote:

 Hi cmari and Stephan

 If I write:

 \define nexttag(now)
 [list[Daylist]after[$(now)$]][list[Daylist]first[]]+[first[]]
 \end

 seems to work fine :-)

 @cmari - Matabele's widgets: mangletags and setfield are very powerfull 
 indeed - Nice to see how you make them work in this context!! :-)

 Cheers Måns mårtensson

 Den tirsdag den 1. juli 2014 18.42.51 UTC+2 skrev Stephan Hradek:


 First I think

 [list[Daylist]after[$(now)$]]



 should be

 [list[Daylist]after[$now$]]



 But I might be mistaken.

 Then I think this should help you go to the start:

 [list[Daylist]after[$now$]] [[list[Daylist]first[]] +[first[]]



 At least I hope.

 This would add the first element of Daylist after your next element.
 [[list[Daylist]first[]]



 So if you have a next element, you will now have 2 elements. If there 
 was no next element, you will just have the first of the daylist.

 This then will limit the result to the first element
 +[first[]]







-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Preview of 5.0.13

2014-06-23 Thread cmari
Still can't delete a field without making another change to the tiddler,
correct?


On Mon, Jun 23, 2014 at 2:31 AM, Måns humam...@gmail.com wrote:

 Hi Jeremy


 I've just fixed this problem and uploaded a new prerelease to
 http://tw5test.tiddlyspot.com. If it all looks well I'll release later
 today or tomorrow morning,


 It seems to be fixed now thank you :-)

 If you drag some html into 5.13 it won't change type to txt/html unless
 you do it manually.

 When you change type to txt/html and the content is shown in an iframe -
 text won't be UTF8 compatible!
 Characters like (danish) Æ, ø and å won't be shown correctly..

 Cheers Måns Mårtensson

 --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Preview of 5.0.13

2014-06-23 Thread cmari
Thanks, Mans and very sorry for the confusion - I was in the wrong tab and
thought I was still looking at the preview website.
cmari


On Mon, Jun 23, 2014 at 6:54 AM, Måns humam...@gmail.com wrote:

 In the previous preview of TW 5.13 I couldn't delete a field and save it
 without making another change to the tiddler - I could however delete a
 field value and save an empty field value with it ...

 Den mandag den 23. juni 2014 15.50.50 UTC+2 skrev Måns:

 Hi cmari


 Still can't delete a field without making another change to the tiddler,
 correct?


 I can confirm that it *is* possible to delete a field and/or a field
 value - without having to make other changes to the tiddler - in the latest
 preview.

 Cheers Måns Mårtensson

  --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] The $mangletags widget

2014-06-19 Thread cmari
Sorry, I wasn't trying to be cryptic!  I was referring to your previous 
message, where I thought you were talking about clicking a single button to 
affect all the tiddlers that had been filtered by a list.  Here's what you 
wrote:

 I have been experimenting -- the $mangletags widget can be used to 
create a simple search and replace along with a $list widget:

ul$list filter=[tag[tag-to-replace]]
$mangletags find=tag-to-replace add=tag-to-substitute
li$button message=tw-mangle-tags 
class=btn-invisible{{!!title}}/$button/li
/$mangletags/$list/ul

 Is there any way to automate the generation of the widget message in such 
a way that all of the substitutions will take place with a single button 
press? 

cmari

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] The $mangletags widget

2014-06-07 Thread cmari
Multiple substitutions with a single button - did you ever find a way to do 
this?  I'd be really interested!
cmari

On Friday, May 30, 2014 9:07:01 AM UTC-7, Matabele wrote:

 Hi 

 I have been experimenting -- the $mangletags widget can be used to 
 create a simple search and replace along with a $list widget:

 ul$list filter=[tag[tag-to-replace]]
 $mangletags find=tag-to-replace add=tag-to-substitute
 li$button message=tw-mangle-tags 
 class=btn-invisible{{!!title}}/$button/li
 /$mangletags/$list/ul

 Is there any way to automate the generation of the widget message in such 
 a way that all of the substitutions will take place with a single button 
 press? 

 regards

 On Friday, May 30, 2014 2:13:12 PM UTC+2, Danielo Rodríguez wrote:

 Wow!

 Another piece to the stack! Glad to see you so busy. Thank you for all 
 your widgets. Currently I have no need to try it out, but I will keep it in 
 my mind.

 Regards

 El viernes, 30 de mayo de 2014 12:40:51 UTC+2, Matabele escribió:

 Hi

 I have added another widget at: http://gwiz.tiddlyspot.com/

 I needed to modify the tags in the template and the $maketid widget 
 overwrites the tags in the template tiddler. Whilst it is possible to do 
 this in some contexts with the $fieldmangler widget, the parameter to the 
 message is used to specify the tag, and according to my stacking mechanism, 
 the title of the target tiddler should be propagated with the parameter to 
 the message. Thus a whole new $mangletags widget and an associated 
 tw-mangle-tags message (to avoid confusions with the widget messages 
 associated with the $fieldmangler widget.)

 The $mangletags widget can be stacked around a button widget and can 
 do any of the following:
-- append a tag to the tags field of the target tiddler
-- find and remove a tag from the tags field of the target tiddler 
 (if present)
-- find and replace a tag from the tags field of the target tiddler 
 (if present)
-- send a different widget message.

 The unfamiliar attributes are 'add=' and 'find='
-- to add a tag, use only: add=tag-to-add
-- to remove a tag, use only: find=tag-to-remove
-- to find and replace a tag use: find=tag-to-be-replaced and 
 add=tag-to-substitute

 Hope this is of use -- there is a demo on the site to show what the 
 widget does. The logic is a little complicated -- hope my code works in all 
 contexts :-)

 regards



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] The $maketid and $setfield widgets

2014-06-03 Thread cmari
Thanks for creating widgets to do exactly what I'd been puzzling over!  One 
thing I still can't figure out: Is is possible to create a single button 
that simultaneously:
1. sets field info AND
2. removes a (specified) tag?
Thanks!
cmari

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] The $maketid and $setfield widgets

2014-06-03 Thread cmari
Knowing that it was possible gave me the fortitude to continue with my 
trial-and-error flailing!
I still don't quite understand the pattern for which macro to use first and 
when to add which message where, but in case it's helpful for someone else, 
here's my working solution to accomplish the following with a single button:
1. set a field
2. set another field
3. add one tag
4. remove another

$setfield set=!!field1 setTo=value1
$setfield set=!!field2 setTo=value2
$mangletags find=oldtag message=tw-set-field
$mangletags add=newtag
$button message=tw-mangle-tagsbutton text here/$button
/$mangletags/$mangletags/$setfield/$setfield

(I haven't included a target because I put this in a tiddler called 
MyButton and then use it inside other tiddlers, e.g., {{!!title||MyButton}} 
)

This is really helpful - thanks!
cmari

On Tuesday, June 3, 2014 8:42:20 AM UTC-7, Matabele wrote:

 Hi cmari

 Yes -- using the $setfield and $mangletags widgets available here: 
 http://gwiz.tiddlyspot.com/

 $mangletags find=tag-to-remove
 $setfield set=!!field-to-set setTo=value-for-field 
 message=tw-mangle-tags
 $button message=tw-set-field param=target-tiddlerSet/$button
 /$setfield/$mangletags

 Have a look at the Demos on the site -- the code should give you some 
 ideas on how to use the widgets. The 'Another Demo', in particular, does 
 something similar to your needs.


 On Tuesday, June 3, 2014 5:26:24 PM UTC+2, cmari wrote:

 Thanks for creating widgets to do exactly what I'd been puzzling over!  
 One thing I still can't figure out: Is is possible to create a single 
 button that simultaneously:
 1. sets field info AND
 2. removes a (specified) tag?
 Thanks!
 cmari



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] The $maketid and $setfield widgets

2014-06-03 Thread cmari
Thanks for that explanation - very helpful!  Thanks also for the reminder 
about the find and replace possibility.  My solution evolved from one in 
which I had figured out how to use setfield to add a tag - so I had that 
piece already and was really focusing on shoehorning in tag removal.  Now 
that I've eliminated an entire $mangletags the whole thing is even more 
satisfyingly elegant
cmari

On Tuesday, June 3, 2014 12:14:13 PM UTC-7, Matabele wrote:

 Hi cmari

 I don't know what you are trying to achieve, but there's also a 'find and 
 replace' option for the $mangletags widget. Your code using two widgets 
 will add 'newtag' regardless of whether the tiddler was previously tagged 
 with 'oldtag' -- with the find and replace option, 'newtag' will be added 
 only to those tiddlers that were previously tagged 'oldtag'.

 The syntax in this case: $mangletags find=oldtag add=newtag 

 The widgets may be used in any order -- however, the default behaviour in 
 most cases is to pass on the received message to the next widget in the 
 stack. it is easier, therefore, to stack widgets of the same type adjacent 
 to one another -- changing the message only when the widget type changes 
 (as you have done.) The $maketid widget is the exception, as the 
 parameter caught by the widget becomes the default for the template 
 (maintaining compatibility with the standard 'tw-new-tiddler' message) -- 
 and the generated parameter is set to the value of the 'title' attribute. 
 All of the other widgets pass on the title of the target tiddler as the 
 parameter to the message by default (unless changed with 'param='), and 
 pass on the same message by default (unless changed with 'message='.)

 Hope this better explains how to use the widgets.

 regards

 On Tuesday, June 3, 2014 7:33:28 PM UTC+2, cmari wrote:

 Knowing that it was possible gave me the fortitude to continue with my 
 trial-and-error flailing!
 I still don't quite understand the pattern for which macro to use first 
 and when to add which message where, but in case it's helpful for someone 
 else, here's my working solution to accomplish the following with a single 
 button:
 1. set a field
 2. set another field
 3. add one tag
 4. remove another

 $setfield set=!!field1 setTo=value1
 $setfield set=!!field2 setTo=value2
 $mangletags find=oldtag message=tw-set-field
 $mangletags add=newtag
 $button message=tw-mangle-tagsbutton text here/$button
 /$mangletags/$mangletags/$setfield/$setfield

 (I haven't included a target because I put this in a tiddler called 
 MyButton and then use it inside other tiddlers, e.g., {{!!title||MyButton}} 
 )

 This is really helpful - thanks!
 cmari



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Can't delete fields in 5.0.12?

2014-05-25 Thread cmari
whoops, I see I'm late to this 
(https://github.com/Jermolene/TiddlyWiki5/issues/619). 
I'm not sure this issue ever made it to Google Groups, though, so in case 
it's helpful to anyone else, here's the workaround suggested there:
Workaround: 

In addition to deleting the field, make a change in the text of the tiddler 
or add another field. Then the deletion gets saved.

cmari


On Sunday, May 25, 2014 12:25:29 PM UTC-7, cmari wrote:

 As best I can tell, removing fields worked in 5.0.10, but no longer works 
 in an otherwise empty 5.0.12 file.

 In 5.0.12, if I open a tiddler and remove a field (using the trash can 
 button next to the field), the field will disappear as expected.  But as 
 soon as I save the tiddler, the field returns.  

 cmari


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5]list filter field !value question

2014-05-25 Thread cmari
Hi 

Hi Måns,
Maybe I don't understand what you're doing, but the following seemed to 
work for me:

$list filter=[!mark[1]]$view field=1//$list
cmari


On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also doesn't 
 work...
 I expected that it would show the text value of my field 1 if the field 
 mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 Cheers Måns Mårtensson 



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5]list filter field !value question

2014-05-25 Thread cmari
Does it help to tag to the filter?
$list filter=[tag[sang]skift[1]]span class=red$view 
field=1//span/$list$list filter=[tag[sang]!skift[1]]$view 
field=1//$list

On Sunday, May 25, 2014 2:44:12 PM UTC-7, Måns wrote:

 Hi cmari

 I want to create a quiz battle between two teams, where one team chooses a 
 number/button - the teacher clicks it - and a word from a full sentence 
 gets revealed. 
 If the word isn't red the team will try to guess/remember the full 
 sentence.
 If the word is red - the other team will have a go at it - or choose yet 
 another number/button...

 When I set up the quiz I want to be able to choose which field value is 
 formatted as red text.


 My attempt http://hitsang.tiddlyspot.com

 Here mark is skift

 As you can see :
 $list filter=[skift[1]]span class=red$view 
 field=1//span/$list$list filter=[!skift[1]]$view 
 field=1//$list

 shows both versions of the text value of the field skift (both black and 
 red) - and if you set the value of the field skift to anything other than 
 1 - the text is hidden...

 There must be something wrong somewhere ...?

 Cheers Måns Mårtensson

 Den søndag den 25. maj 2014 23.21.11 UTC+2 skrev cmari:

 Hi 

 Hi Måns,
 Maybe I don't understand what you're doing, but the following seemed to 
 work for me:

 $list filter=[!mark[1]]$view field=1//$list
 cmari


 On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also doesn't 
 work...
 I expected that it would show the text value of my field 1 if the 
 field mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 Cheers Måns Mårtensson 



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5]list filter field !value question

2014-05-25 Thread cmari
sorry, typo: Does it help to *add a* tag to the filter?
$list filter=[tag[sang]skift[1]]
span class=red$view field=1//span/$list$list 
filter=[tag[sang]!skift[1]]$view field=1//$list

On Sunday, May 25, 2014 3:05:48 PM UTC-7, cmari wrote:

 Does it help to tag to the filter?
 $list filter=[tag[sang]skift[1]]span class=red$view 
 field=1//span/$list$list filter=[tag[sang]!skift[1]]$view 
 field=1//$list

 On Sunday, May 25, 2014 2:44:12 PM UTC-7, Måns wrote:

 Hi cmari

 I want to create a quiz battle between two teams, where one team chooses 
 a number/button - the teacher clicks it - and a word from a full sentence 
 gets revealed. 
 If the word isn't red the team will try to guess/remember the full 
 sentence.
 If the word is red - the other team will have a go at it - or choose yet 
 another number/button...

 When I set up the quiz I want to be able to choose which field value is 
 formatted as red text.


 My attempt http://hitsang.tiddlyspot.com

 Here mark is skift

 As you can see :
 $list filter=[skift[1]]span class=red$view 
 field=1//span/$list$list filter=[!skift[1]]$view 
 field=1//$list

 shows both versions of the text value of the field skift (both black 
 and red) - and if you set the value of the field skift to anything other 
 than 1 - the text is hidden...

 There must be something wrong somewhere ...?

 Cheers Måns Mårtensson

 Den søndag den 25. maj 2014 23.21.11 UTC+2 skrev cmari:

 Hi 

 Hi Måns,
 Maybe I don't understand what you're doing, but the following seemed to 
 work for me:

 $list filter=[!mark[1]]$view field=1//$list
 cmari


 On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also 
 doesn't work...
 I expected that it would show the text value of my field 1 if the 
 field mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 Cheers Måns Mårtensson 



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Tabbed left slider menu for v_5.0.10

2014-05-11 Thread cmari
Hi Matabele,
Your approach is making me optimistic that TW5 can be functional as well as 
merely fun for me, so I'm making an effort to give something back - but 
please ignore this if it doesn't fit with your ideas!

1. (This is a really minor point).  At the bottom of the tiddler 
$:/_leftmenu, in this line:
tabs [!has[draft.of]tag[$:/tags/leftmenu]sort[title]] $:/_leftmenu 1 
$:/state/tab1

I think that $:/_leftmenu 1 may be  a holdover from a previous version and 
should be updated?  (On the other hand, it's very possible I don't 
understand the tabs widget.  I didn't think I saw any difference when I 
changed this, so maybe it's no big deal).

2. My minor idea: I'm always tweaking tiddlers, which meant that using 
modified as the basis for sorting contexts, days, and months wasn't 
working very well for me.  To affect sort order, I did the following:

a. In each context, day, and month tiddler, I added a field (I called it 
gtid-order) and inserted the appropriate values for chronological sorting 
(01 for Jan, 02 for Feb, etc.).

b. In the following places, I change the sorting filter to 
[sort[gtid-order]]:

   - $:/_tagbar-context
   - macro definition \define tagPill(tag) ($:/_leftmenu)
   - macro definition \define editTags(type) ($:/_edit-tags)

c. Part b took care of sorting on the leftmenu, but I still wanted 
day/month tags to be displayed chronologically in tiddlers and 
transclusions.  For that, I took advantage of your color definition.  In  
$:/_display-panel I deleted this line

$list 
filter=[is[current]tags[]sort[title]]$link{{!!title||$:/_showtag}}/$link/$list
and replaced it with:
$list 
filter=[all[current]tags[]sort[title]]-[field:color[#89C6AF]]$link{{!!title||$:/_showtag}}/$link/$list$list
 
filter=[all[current]tags[]has[gtid-order]field:color[#89C6AF]sort[gtid-order]]
 
$link{{!!title||$:/_showtag}}/$link/$list

d. To really control sorting order, it's also possible to change 
$:/core/ui/ViewTemplate/tags, replacing the shadow contents with:
div class=tw-tags-wrapper$list 
filter=[all[current]tags[]sort[title]]-[field:color[#89C6AF]] 
template=$:/core/ui/TagTemplate storyview=pop/$list 
filter=[all[current]tags[]field:color[#89C6AF]sort[gtid-order]] 
template=$:/core/ui/TagTemplate storyview=pop//div
Thanks again for all the great ideas!
cmari



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Tabbed left slider menu for v_5.0.10

2014-05-11 Thread cmari
Hi Matabele,
Your approach is making me optimistic that TW5 can be functional as well as 
merely fun for me, so I'm making an effort to give something back - but 
please ignore this if it doesn't fit with your ideas!

1. (This is a really minor point).  At the bottom of the tiddler 
$:/_leftmenu, in this line:
tabs [!has[draft.of]tag[$:/tags/leftmenu]sort[title]] $:/_leftmenu 1 
$:/state/tab1
I think that $:/_leftmenu 1 may be a holdover from a previous version and 
should be updated?  (On the other hand, it's very possible I don't 
understand the tabs widget.  I didn't think I saw any difference when I 
changed this, so maybe it's no big deal).

2. My minor idea: I'm always tweaking tiddlers, which meant that using 
modified as the basis for sorting contexts, days, and months wasn't 
working very well for me.  To affect sort order, I did the following:

a. (this is the tedious part):  In each context, day, and month tiddler, I 
added a field (I called it gtid-order) and inserted the appropriate 
values for chronological sorting (01 for Jan, 02 for Feb, etc.).

b. In the following places, I change the sorting filter to 
[sort[gtid-order]]:
   
   - $:/_tagbar
   - the macro definition \define tagPill(tag) in $:/_leftmenu
   - the macro definition \define editTags(type) in $:/_edit-tags

c. Part b took care of sorting on the leftmenu, but I still wanted 
day/month tags to be displayed chronologically in tiddlers and 
transclusions.  For that, I took advantage of your color definition.  In  
$:/_display-panel I deleted this line

$list 
filter=[is[current]tags[]sort[title]]$link{{!!title||$:/_showtag}}/$link/$list

and replaced it with:
$list 
filter=[all[current]tags[]sort[title]]-[field:color[#89C6AF]]$link{{!!title||$:/_showtag}}/$link/$list$list
 
filter=[all[current]tags[]has[gtid-order]field:color[#89C6AF]sort[gtd-order]]
 
$link{{!!title||$:/_showtag}}/$link/$list

d. To really control sorting order, it's also possible to change 
$:/core/ui/ViewTemplate/tags, replacing the shadow contents with:

div class=tw-tags-wrapper$list 
filter=[all[current]tags[]sort[title]]-[field:color[#89C6AF]] 
template=$:/core/ui/TagTemplate storyview=pop/$list 
filter=[all[current]tags[]field:color[#89C6AF]sort[gtid-order]] 
template=$:/core/ui/TagTemplate storyview=pop//div

Thanks again for this great resource!
cmari







On Saturday, May 10, 2014 12:08:24 PM UTC-7, Matabele wrote:

 Hi Ton

 Thanks for the thumbs up -- your guides played a large part in starting me 
 off on this whole customisation gig. From these guides I noticed how easy 
 it was for a user with non-existent javascript skills to customise TW5 
 (with TWC I pretty much stuck with using plugins -- indeed I used mostly 
 entire pre-customised versions of TWC.) The major bug in my customised TW5 
 is now due to an incompatibility between the only plugin I make use of 
 ($newtiddler), and the core code for tag pills. Without javascript I am 
 incapable of fixing this -- I, therefore, look forward to the version of 
 TW5 where I need no use of such plugins.

 I hope I can inspire others in the same way that you inspired me :-)

 regards

 On Thursday, May 8, 2014 9:14:47 PM UTC+2, Ton Gerner wrote:

 Hi Matabele,

 Up till now I did not have time to play around with your GTD.
 Now I did play around, and I am very impressed.

 Glad that my customization guide(s) could be used by others *and* could 
 inspire others. You bring customization to a higher level.
 Your GTD shows how much you can do with the standard core without using 
 plugins. And I think that is the real advantage of TW5 compared to 
 TWclassic.

 Thanks for sharing.

 Cheers,

 Ton



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Tabbed left slider menu for v_5.0.10

2014-05-08 Thread cmari
Hi Matabele,
Thanks for all the great ideas and implementation! 
The only problem I have come across is that, in Chrome, the this is 
embarrassing javascript error pops up if you do the following:

Open the GTD tab
Click the todo button
Click one of the plus signs (to add a Context, Tickler, or Project)

I wish I were good enough at debugging to help figure out why
cmari



On Thursday, May 8, 2014 4:50:50 AM UTC-7, Matabele wrote:

 Hi

 Had a look in Firefox - the scrollbars look better with the Vanilla 
 palette, and not too bad with the Blue and Blanca palettes. I notice the 
 colour doesn't change across the palette's -- I guess this might be tricky, 
 especially to get things looking good on all browsers, and for all 
 palettes. Perhaps, I can work out a way for the user to set this for their 
 environment.

 The scrollbars are terrible in Opera :-(

 regards

 On Thursday, May 8, 2014, Birthe C strikke...@googlemail.comjavascript: 
 wrote:

 Hi Matabele

 Everything looks fine to me. You have worked hard on this and it shows.
 I think it is ready for the regular use test.

 Really the only thing I could find is cosmetic. In your beautiful green 
 theme, scrollbars turning lightblue ;-)

 Birthe

 On Thursday, May 8, 2014 8:25:35 AM UTC+2, Matabele wrote:

 Hi

 I have uploaded a revised version: http://wills.tiddlyspot.com/

 I have applied fixes for the tag pills in the 'GTD' tab, and the tag 
 pills in the Tickler folders -- also attended to several styling problems.

 This clears most of the outstanding issues -- I think the system is now 
 usable (until something breaks!) I have tested this only in my environment 
 -- please advise if there is anything that needs attending to in your 
 environment.

 regards

  -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/tiddlywiki/PcGZjDE4QZ0/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: TW5 Split operator not working on 5.0.10

2014-04-30 Thread cmari
Thank you, Stephan!
cmari


On Wed, Apr 30, 2014 at 2:46 PM, Stephan Hradek stephan.hra...@gmail.comwrote:

 I've posted a fix on tiddlystuff.tiddlyspot.com

 Please not that I'm still not at TW 5.0.10 so you need to copy and paste
 the source you will find at the bottom of Selfmade Lists into your

 $:/core/modules/filters/split.js tiddler.

 I think this should help you faster than waiting for me to create a real 
 plugin.

  --
 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 http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Concatenate fields

2014-04-04 Thread cmari
I'm sure someone else could come up with something more elegant, but I 
think the method in this thread
https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/linkimage$20tw5/tiddlywiki/T4iAJWt4CdE/MFeao7hpvokJ
would work.  E.g., 

\define linkpdf(title)
object data=file:///C:/somefolder/somotherfolder/$title$.pdf type=
application/pdf width=100% height=500px/

\end

$macrocall $name=linkpdf title={{!!filename}}/


cmari



On Friday, April 4, 2014 6:39:24 AM UTC-7, Ulrik Stervbo wrote:

 I did try that but that doesn't work (object 
 data={{!!path}}{{!!filename}} type=application/pdf width=100% 
 height=500px/). 

 The path is defined in a field in the tiddly. The file name is also 
 defined in a field in the same tiddly


 2014-04-04 15:34 GMT+02:00 Danielo Rodríguez rdan...@gmail.comjavascript:
 :

 It depends on how do you are going to use that, but you can use.
 {{!!path}}{{!!filename}}


 The question is, where is the path defined?
 El viernes, 4 de abril de 2014 14:52:02 UTC+2, Ulrik Stervbo escribió:

 Hello list,

 I'm trying to generate a template to link to external files (I know this 
 defeats the purpose of a single HTML but I expect to have a lot of images, 
 pdfs and other things). To include PDfs I use: object data={{!!filename}} 
 type=application/pdf width=100% height=500px/

 I would like to have the field 'filename' to contain just the file name 
 and have another field 'path' which contains the (unchanging) path to a 
 directory next to the tiddlywiki. How can I combine these two fields to 
 generate a path with file name pointing to the data?

 Cheers,
 Ulrik

  -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/tiddlywiki/-5SPFwSesZc/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 tiddlywiki+...@googlegroups.com javascript:.
 To post to this group, send email to tiddl...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/tiddlywiki.
 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Dynamically populate the 'param' parameter of $button

2014-04-03 Thread cmari
Does it work like this?  (note that the field name can't actually contain 
uppercase letters).

[tag{!!ATag}]

cmari

On Thursday, April 3, 2014 7:00:05 AM UTC-7, Ulrik Stervbo wrote:

 Thanks - sorry I wasn't clear, I wanted to use the value defined in a 
 field to dynamically generate a list of tiddlers containing that tag.


 On Thursday, 3 April 2014 14:57:31 UTC+2, Stephan Hradek wrote:



 Am Donnerstag, 3. April 2014 14:17:17 UTC+2 schrieb Ulrik Stervbo:

 Is there a way to do a similar thing with filters? tag[{{!!ATag}}] does 
 not work.


 tag{!!ATag}




-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 field pres-set value

2014-03-21 Thread cmari
Once you have your list filter, $:/core/ui/EditTemplate/type has an example 
of setting up the dropdown (sorry if that part was already completely 
obvious).
cmari

On Friday, March 21, 2014 12:05:36 PM UTC-7, Stephan Hradek wrote:

 Check the Listselect Widget on http://tiddlystuff.tiddlyspot.com 


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] image resize and wrap text around

2014-03-18 Thread cmari
Yes, I was too quick - what I suggested won't affect float.  It should, 
however, keep the image inside the tiddler.
cmar

On Tuesday, March 18, 2014 6:56:37 AM UTC-7, Stephan Hradek wrote:

 No, this is not an TW issue. It's normal HTML/CSS.


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] image resize and wrap text around

2014-03-18 Thread cmari
Hi Vpl,
Can't remember where I found this, but try using this format (in 
particular, don't use the word style):

img src=solar.png width=50% height=50% float=right

cmari

On Tuesday, March 18, 2014 6:25:01 AM UTC-7, vpl wrote:

 Hi,

 I'm concerned by the fact that the image is exceeding the tiddler size as 
 I showed on my example. Isn't it a tiddywiki issue here ?
 For example when the size defined in my css is below the size of the 
 tiddler text (on the left in my example) all is fine.
 But If I increase upper this limit then the image start overlapping other 
 tiddlers (like I showed on my example) ..

 Thanks 
 Vpl



 Le mardi 18 mars 2014 12:48:13 UTC+1, Stephan Hradek a écrit :

 Ah!

 That's not a TiddlyWiki but a CSS issue and it's normal and expected with 
 floating elemenst. Search around in this group we already had this before.

 In general you need to have something with a clear:both in its style. 
 If I remember correctly I even posted an example which solves this without 
 putting in any additional elements, jsut CSS.



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] group by field

2014-03-17 Thread cmari
Hi Stephan,
Sorry, my example was put up too quickly (it was actually taken from 
straight from your example, posted at 
http://dl.dropboxusercontent.com/u/118970/wiki/tw5tribalknowledge.html.  
But I had forgotten I'd already used MyList for testing other macros 
elsewhere in the TW).  I'm now using ImportantList instead of MyList at 
http://cmaritw5.tiddlyspot.com.  

But what I'm still clueless about is how to actually write the filters to 
create the outer and inner lists.  
cmari

On Monday, March 17, 2014 1:26:56 AM UTC-7, Stephan Hradek wrote:



 Am Montag, 17. März 2014 05:23:14 UTC+1 schrieb Stephan Hradek:


1. Create for each importance a tiddler with the importance's name 
and the importance's value as a field
2. Make the first list over these tiddler, sorted by importance value 
field
3. Make the inner list find those tiddlers havig the importance's 
name in their field 


 \define MyFilter()
 [tag[$(MyTag)$]itemtype[$(itemtype)$]sort[title]]
 \end

 $set name=MyTag value={{!!title}}
   $list filter=[has[impval]nsort[impval]]
 $set name=itemtype value={{!!title}}
   div class=tw-menu-list-item
 $link$view field=title//$link
   /div
   $list filter=MyFilter
 div class=tw-menu-list-subitem
   $link to={{!!title}}$view field=title//$link
 /div
   /$list
 /$set
   /$list
 /$set


  The problem with sorting in your case is (I guess): each does not 
 switch to your itemtype, meaning: You don't have a list containing least 
 important, most important... but you will have one tiddler having one of 
 the importances.


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] group by field

2014-03-17 Thread cmari
Actually, I'm even more baffled now, because in my own local TW, I can 
click on important in the list and it will open the tiddler called 
important.  That obviously doesn't work in my example on Tiddlyspot.
cmari

On Monday, March 17, 2014 8:35:23 AM UTC-7, cmari wrote:

 Hi Stephan,
 Sorry, my example was put up too quickly (it was actually taken from 
 straight from your example, posted at 
 http://dl.dropboxusercontent.com/u/118970/wiki/tw5tribalknowledge.html.  
 But I had forgotten I'd already used MyList for testing other macros 
 elsewhere in the TW).  I'm now using ImportantList instead of MyList at 
 http://cmaritw5.tiddlyspot.com.  

 But what I'm still clueless about is how to actually write the filters to 
 create the outer and inner lists.  
 cmari

 On Monday, March 17, 2014 1:26:56 AM UTC-7, Stephan Hradek wrote:



 Am Montag, 17. März 2014 05:23:14 UTC+1 schrieb Stephan Hradek:


1. Create for each importance a tiddler with the importance's name 
and the importance's value as a field
2. Make the first list over these tiddler, sorted by importance 
value field
3. Make the inner list find those tiddlers havig the importance's 
name in their field 


 \define MyFilter()
 [tag[$(MyTag)$]itemtype[$(itemtype)$]sort[title]]
 \end

 $set name=MyTag value={{!!title}}
   $list filter=[has[impval]nsort[impval]]
 $set name=itemtype value={{!!title}}
   div class=tw-menu-list-item
 $link$view field=title//$link
   /div
   $list filter=MyFilter
 div class=tw-menu-list-subitem
   $link to={{!!title}}$view field=title//$link
 /div
   /$list
 /$set
   /$list
 /$set


  The problem with sorting in your case is (I guess): each does not 
 switch to your itemtype, meaning: You don't have a list containing least 
 important, most important... but you will have one tiddler having one of 
 the importances.



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] group by field

2014-03-17 Thread cmari
Hi Stephan, you are right of course - I had only seen your message with the 
three-step description, not the reply in which you included the tiddler 
contents.
Your solution works perfectly, thanks very much!
cmari

On Monday, March 17, 2014 9:42:47 AM UTC-7, Stephan Hradek wrote:

 Why don't you check my reply then. I'm pretty sure you can understand that 
 and apply it to your real example.


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Color of text in tag pills

2014-03-16 Thread cmari
Hello,
In an effort to improve the readability of colored tag pills, I tweaked 
TagTemplate and EditTemplate/Tags to allow for a fontcolor field in 
addition to the color field.  
But while I was searching for any other discussion of this question, I came 
across this QA last November between Dave and Jeremy (in this thread: 
https://groups.google.com/forum/?hl=en#!topic/tiddlywiki/69P2zrHEW2U):

Question:

 4. Could there be a 'tag pill text color' field?..


Answer:
I'm against tags being able to specify both their background and foreground 
colours. It makes it more likely we'd get garish tags in the wild. I'd 
prefer to instead tackle the problem of ensuring that the tag pill text is 
visible regardless of the colour.

I don't want to be out of compliance (though I promise I have no garish 
intentions!), and I'd be happy to accept a different, more automatic 
adjustment for visibility.  Are there still plans for that (or did I 
perhaps just overlook something)?
cmari

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Visual timeline widget plugin v0.8.1 released

2014-03-15 Thread cmari
I too was initially more intrigued by the example than the plugin itself, 
as I'm in the midst of planning the trip on which we'll be able to check 
off a fourth item on that list!
cmari

On Saturday, March 15, 2014 2:18:24 PM UTC-7, Jon wrote:

 Excellent - must find a use for this. 
 Interesting example for me, as I only live 3 miles from Bingley Five Rise 
 Locks!

 On Saturday, 15 March 2014 12:08:16 UTC, emkay wrote:

 I have released an updated version of my vis.js based timeline plugin.

 The main changes that may be of interest are:
 * Removed list and tiddler attributes from widget - unified using the 
 filter attribute
 * support 'now' as a value for the end date or start date fields
 * test for end dates before start date in timeline
 * In refresh handle a tiddler excluding itself from the timeline

 As usual, a demonstration of the widget and it's help tiddler can be 
 seen at:

 http://emkayonline.github.io/tw5visjs

 You can install it by dragging it from the demonstration's ControlPanel 
 into your wiki.  It requires TW5 version = 5.0.8-beta.

 Full documentation, source and tests can be found at:

 https://github.com/emkayonline/tw5visjs

 Have fun,

 Martin



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: What is your TW5 plugin wishlist?

2014-03-14 Thread cmari
I was just about to ask the title with spaces question - thank you 
Stephan!  
I despair at ever learning how to put brackets, dollar signs and quotation 
marks in the right place, so in case it's helpful to someone else, after 
putting together Stephan's newtiddler solution, Dave's idea of adding it to 
the ViewToolbar, 
and Ton's helpful instructions for adding toolbar buttons, I came up with 
this process for adding New here:

Step one, get $:/plugins/skeeve/newtiddler from: 
http://tiddlystuff.tiddlyspot.com/

Step two, save and reload

Step three, create a tiddler:
Tiddler: SourceTemplateSkeleton
Tag: $(tags)$
(Note that once the tiddler is saved the tag appears to be blank and 
although it will show up as a tiny bar at the top of the Tags list, you 
won't be able to tell what it is and it can't be added or removed like 
other tags)

Step four, create another tiddler:
Tiddler: $:/_Newhere
Tag: $:/tags/ViewToolbar

\define get_title(l)
$l$$(title)$]]
\end
$set name=title value={{!!title}}$set name=tags value=get_title 
[[$newtiddler skeleton=SourceTemplateSkeleton title=your title 
here class=btn-invisible
span title=Create a tiddler tagged with this tiddler's 
title@@font-size:8pt;New here@@/span/$newtiddler/$set/$set

Optional Step five to use an image instead of text in the toolbar:
Replace @@font-size:8pt;New here@@ with an image tiddler, e.g. 
{{myIcon.svg}}

Optional Step six to change the order of things on the toolbar:
By default, New here will appear to the right of the other icons in the 
toolbar.  If you want it somewhere else, open the tiddler  
$:/tags/ViewToolbar and insert $:/_Newhere into the list in the order you 
prefer.

Optional Step seven, if you always want your newly created tiddler to have 
specific content, additional tags, and/or fields:
add text, tags or fields to SourceTemplateSkeleton

cmari

On Friday, March 14, 2014 12:11:24 AM UTC-7, Stephan Hradek wrote:

 One addition: As you want to use titles as tags, and titles may contain 
 spaces, the button needs to be a bit more complicated.

 \define get_title(l)
 $l$$(title)$]]
 \end
 $set name=title value={{!!title}}$set name=tags value=get_title 
 [[$newtiddler skeleton=SourceTemplate title=your title 
 hereNewHere/$newtiddler/$set/$set


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] TagglyTagging setup help?

2014-03-11 Thread cmari
The MPTW blog contains a link to this site where you can play around to see 
the difference between Group by tags and sitemap:
http://animals.tiddlyspot.com/
cmari
 


 Also, What's the difference between the Group by tags and sitemap view 
 options? 

 Thanks in advance!

 -Cheers
 Leo


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] TranscludeWidget vs. transclusion in WikiText

2014-03-03 Thread cmari
Hi all,
The mode option in the TranscludeWidget (which is great!) allows something 
like this in a tiddler:

Some text $transclude tiddler=A mode=block/$transclude tiddler=B 
mode=block/ and even more text.

I tend to prefer block transclusion, which made me notice that the 
documentation for using WikiText 
(http://tiddlywiki.com/static/Transclusion%2520in%2520WikiText.html) 
doesn't really make clear that achieving the same effect without the 
widget, as best I can tell, 
requires the not entirely intuitive procedure of listing the transcluded 
tiddlers on separate lines 
(with no trailing spaces, and preceded by an additional blank line):

___
Some text 

{{A}}
{{B}}
 and even more text.
_


So two things: 
1. perhaps the documentation could be updated, and 
2. perhaps there could even be built-in templates to allow for something 
like {{A||block}} vs. {{A||inline}}?
(or 3, I'm sure cleverer people will think of even better ideas and/or 
correct my misunderstandings).
cmari


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] Transclusion to include titles

2014-03-03 Thread cmari
Hi Jon,
I think this is the same question you asked yesterday 
(http://groups.google.com/forum/?hl=en#!topic/tiddlywiki/fsbIXaknCyE)?  
The full template that Stephan pointed you toward would give you results 
that include tiddler titles:

$list filter=[tag[A]sort[created]]

{{!!title||full}}
/$list

Alternatively, slide 6 in http://giffmex.org/TiddlyQuickly.html 
demonstrates how you could just add $view field=title/ (and a couple of 
line breaks) to what you've already got:
$list filter=[tag[A]sort[created]]

!$view field=title/
$transclude/
/$list

cmari


On Monday, March 3, 2014 11:49:32 AM UTC-8, Jon wrote:

 Hi,

 $list filter=[tag[A]]$transclude/br/$list

 This appears to transclude the text of each tiddler tagged with A, but 
 it doesn't include the title of each tiddler.

 Is this possible, and if so, what would the code be?

 Thanks
 Jon.


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] TranscludeWidget vs. transclusion in WikiText

2014-03-03 Thread cmari
Thanks Mario!  I did realize that I could create a template for myself, but 
as it's taken me some time to figure out templates I guess I was starting 
to wonder how much TW5 users should be expected to need to learn - whether 
perhaps there are some common templates that could be standard?  Or at 
least collected in an obvious place, with clear instructions for how to 
deploy them.
cmari

On Monday, March 3, 2014 1:49:32 PM UTC-8, PMario wrote:

 On Monday, March 3, 2014 8:10:48 PM UTC+1, cmari wrote:

 So two things: 
 1. perhaps the documentation could be updated, and 
 2. perhaps there could even be built-in templates to allow for something 
 like {{A||block}} vs. {{A||inline}}?


 That's actually the way it works.

 create a tiddler named: blockwiht the following line content. 

 $transclude mode=block/


 now you can do {{a||block}} {{b||block}}   inline is not necessary, 
 because it is default.

 -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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] group by field

2014-03-02 Thread cmari
Hi Scott,

I was fiddling around with something similar yesterday.  In case it's of 
interest, here's the (far more rudimentary approach than Stephan's) 
approach I came up with.  Note that this doesn't make use of tags at all, 
it simply finds all the tiddlers that contain a field called subtopic, and 
then lists those tiddlers (alphabetically) by subtopic. You could of course 
sort the lists differently, and you could filter for a particular tag by 
adding, e.g., [tag[Movie], to the second list filter. I would have liked to 
be able to search for tiddlers tagged with the current tiddler's title, or 
even tag, but I don't know how to do that in any generic way, so I opted 
instead to use a unique field name in the tiddlers I wanted in my list.  

(Also, obviously, you could take out the styles; I was just seeing what I 
could do with the options that already existed).

$list filter=[!is[system]has[subtopic]each[subtopic]sort[subtopic]]div 
class=tw-menu-list-item$link to={{!!subtopic}}$view 
tiddler={{!!subtopic}} field=title//$link 
/div
$list filter=[subtopic{!!subtopic}sort[title]]
div class=tw-menu-list-subitem
$link to={{!!title}}$view field=title/ /$link
/div/$list/$list

cmari

On Sunday, March 2, 2014 12:45:26 AM UTC-8, Scott Kingery wrote:

 I'm just getting started experimenting with TW5. What I want to do is have 
 a field called subtopic and then have those grouped on a list.

 The results looking something like:
 Movies (main topic and title of tiddler)
 Comedy (subtopic)
 Drama (subtopic)

 The following is the general idea but doesn't have the syntax to group.

 $list filter=[has[subtopic]sort[subtopic]]
 h2$view field=subtopic//h2$link to={{!!title}}$view 
 field=title//$linkbr
 /$list
  
 Can this be done?
 Thanks,
 Scott



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] Is it possible to use a dropdown to select tags from within a certain group without affecting the other tags attached to a tiddler?

2014-02-24 Thread cmari
Hi Stephan!
I'm really only playing around with things you developed, so I'm not an 
expert, but I thought:
1. your list splitter is a great way to tell a radio button about its 
siblings, BUT
2. radio buttons can only affect field values, not tags?

cmari


On Sunday, February 23, 2014 11:04:27 PM UTC-8, Stephan Hradek wrote:

 Hi cmari!

 I also wanted to create a widget which would be able to do that. The 
 problem is that it is easily achievable if you're allowed to use the DOM 
 tree in order to retrieve the other values. But this does not conform to 
 TiddlyWiki's model where the DOM tree might change whilc your widget is 
 still working. This paradigm makes some things more complicated as one 
 might think they are.

 I also wanted the radio buttons to be able to set and remove tags, but I 
 failed as I found no good way of making a radio button know about its other 
 siblings. This would be required in order to be able to remove the other 
 values.


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


  1   2   3   >