[tw5] Re: Global wikilink styling depending on the target "weight" field value

2020-09-06 Thread Eric Shulman
On Sunday, September 6, 2020 at 4:52:32 AM UTC-7, Shareda wrote: > > Hello! I want to improve link styling in my TiddlyWiki, and I need some > help. In my wiki almost every tiddler describes some concept. Each concept > (tiddler) has a numerical field "weight". I want links to any concept >

[tw5] Re: How do I change the order of already opened tiddlers in the story river?

2020-09-06 Thread talha131
OMG. So simple. Thanks a lot, Eric. TW is powerful, but it is made even more robust by active gurus like you. -- 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

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

2020-09-06 Thread David Gifford
I added all the various timer, clock and calendar tools you have in that file, to the toolmap here (https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM#z=KD7kUsUIFmx3Us0teMLUILMI). Thanks for these great tools, Eric! On Friday, September 4, 2020 at 9:49:01 PM UTC-5 Eric Shulman wrote: > Hi all, >

[tw5] How do I change the order of already opened tiddlers in the story river?

2020-09-06 Thread talha131
Say I have opened four tiddlers. 1. A 2. B 3. C 4. D Is it possible to change the order so that C comes on top? Like so 1. C 2. B 3. A 4. D I am not trying to keep the tiddler C always on top. I want to change the order temporarily in the story river. -- You received this message because

[tw5] Global wikilink styling depending on the target "weight" field value

2020-09-06 Thread Shareda
Hello! I want to improve link styling in my TiddlyWiki, and I need some help. In my wiki almost every tiddler describes some concept. Each concept (tiddler) has a numerical field "weight". I want links to any concept tiddler that has a "weight" field to be displayed with style="background:

[tw5] Re: How do I change the order of already opened tiddlers in the story river?

2020-09-06 Thread Eric Shulman
On Sunday, September 6, 2020 at 5:49:03 AM UTC-7, talha131 wrote: > > Say I have opened four tiddlers. > Is it possible to change the order so that C comes on top? Like so > I am not trying to keep the tiddler C always on top. I want to change the > order temporarily in the story river. > This

[tw5] Re: Sort tiddlers by substring?

2020-09-06 Thread amreus
Heh, thank. That is exactly my current solution. I am wondering if there could be a new filter (or option) in the "nsort" family of filters which would ignore any non-number characters. I looked at the Javascript functions in sort.js and the sortTIddlers function in wiki.js for a clue but I

[tw5] Re: Code in code

2020-09-06 Thread vinvi...@gmail.com
Hi Eric Shulman, I see.. Deleted the double quote. Still not working yet. Been working on it for hours now, but I can't figure it out. :(( [image: 2020-09-06 (4).png][image: 2020-09-06 (3).png]. Op zaterdag 5 september 2020 om 22:40:18 UTC+2 schreef Eric Shulman: > On Saturday, September

[tw5] Re: Code in code

2020-09-06 Thread vinvi...@gmail.com
Eric, I have solved the problem. Have upgraded to a new version of the plugin. It's working. Many thanks for your help Op zaterdag 5 september 2020 om 22:40:18 UTC+2 schreef Eric Shulman: > On Saturday, September 5, 2020 at 12:58:44 PM UTC-7, vinvi...@gmail.com > wrote: >> >> I see what

Re: [tw5] Re: Adjusting IFrame Trick I would like to implement in TW

2020-09-06 Thread Ste
Could this be used with ethercalc (https://ethercalc.net/) or other node.js apps? I remember someone dropped social Calc spreadsheets into tiddlywiki ages and ages ago. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw5] Re: Sort tiddlers by substring?

2020-09-06 Thread amreus
Eric, Outstanding. Thanks for sharing your expertise. I happen to be using 5.1.23-prerelease, so the new sortsub filter works perfectly. Also thank you for the example of splitting sub-strings using split and rest, as well as the technique for creating a temporary list, sorting that, and

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131
Thank you Brian. I was trying to achieve something like this li {list-style-type: decimal; } li li {list-style-type: lower-alpha; } But it seems nesting rules using @@ is not possible. ​ -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-06 Thread TW Tones
This answer lays with yourself. Perhaps fine if your not editing the plugin Tiddler. However can I suggest source-link The reason is you could then write wiki text to turn the contents of any field name with -link into a link by the prefixes name E.g. source is the title of a link stored in

[tw5] Re: How to apply a macro or a template to all the tag tiddlers?

2020-09-06 Thread Eric Shulman
On Sunday, September 6, 2020 at 8:17:02 AM UTC-7, talha131 wrote: > I have a macro, which basically list all the tiddlers tagged with the > current tiddler in a vertical tab list > How do I automatically apply it to all the tiddler that are a tag? > Say I create a new tag example. Then, > >

[tw5] What is the purpose of source field in a tiddler?

2020-09-06 Thread talha131
As per the docs : source is field is used by the core for The source URL associated with a tiddler Is there a practical example of it being used? What I am looking for? I want to add a field that can be used for links to the source of the tiddler. Say

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread Eric Shulman
On Sunday, September 6, 2020 at 11:22:37 AM UTC-7, talha131 wrote: > > Thank you Mat. I ended up using your solution. > Just to note... we discussed this just 4 days ago in the topic titled "Regarding list bullets" In fact, this is *exact* same solution that YOU yourself posted, here:

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131
Yeah, Eric. I meant that's the solution I used.  -- 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

[tw5] Re: How do I remove a suffix from a variable?

2020-09-06 Thread leeand00
Okay I got it...had to make a small plugin, but it appears to work... /*\ title: $:/core/modules/macros/tw5filterTemplatePrefix.js type: application/javascript module-type: macro Macro to return something less the prefix. \*/ (function(){ /*jslint node: true, browser: true */

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread Mat
@talha131 ...or maybe I should say @@.talha131 ;-) Try this @@.myclass *foo **bar @@ .myclass li {list-style-type: decimal; } .myclass li li {list-style-type: lower-alpha; } i.e you define a new class and apply this class. In the above, the class is defined in a local styleblock. If you

[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-06 Thread talha131
Though I could not find official documentation, but it seems source field has special usage in TW. For example, this edition uses source field for creating a hierarchy of tiddlers. http://tw5.scholars.tiddlyspot.com/ It is also used for the source URL of a plugin. (optional) Source URL of

[tw5] How to show a list of tiddlers linked or transcluded or used inside via macro in the tiddler?

2020-09-06 Thread talha131
I have noticed that when you link to tiddlers using [[Tiddler Title] then it updates the “Reference” tab of the tiddler info. But if I only transclude the tiddler {{Tiddler Title}} or use a macro, <> Then the tiddler does not end up in the “Reference” tab. I am looking for a way to show

[tw5] Re: How do I remove a suffix from a variable?

2020-09-06 Thread Eric Shulman
On Saturday, September 5, 2020 at 12:05:24 PM UTC-7, leeand00 wrote: > > So I'm using a filter, and it's working great to remove the suffix and add > another one...see below: > [tag[templates]tag[EditingTemplate]] +[removesuffix[Template]] +[addsuffix > [ - Underground]] > But...what I really

[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 ? 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

Re: [tw5] Re: Adjusting IFrame Trick I would like to implement in TW

2020-09-06 Thread Jan
Hi Steve, to adjust the size -as Eric pointed out- the source of the Iframe has to point to the same domain. So if you are running an instance of ethercalc there, this should work. Best wishes Jan. Am 06.09.2020 um 12:00 schrieb Ste: Could this be used with ethercalc (https://ethercalc.net/)

[tw5] Re: Global wikilink styling depending on the target "weight" field value

2020-09-06 Thread Shareda
(that's why i drill to link.js widget). Soon I will try to apply your way (Transclusion with Templates) with backlinks and other link structure features in my wiki. воскресенье, 6 сентября 2020 г. в 21:29:27 UTC+6, Shareda: > Oh, good and clear enough for me! Thank you! One more detail: what

[tw5] Variables in title when clicking "New Tiddler" button?

2020-09-06 Thread Logan Chin
Hi all, I've spent the past couple days trying to optimize my wiki for when school starts. I have created a "New Tiddler" button to press for each new lecture of a given class; I have designed it such that the requisite course tags/fields are filled every time a new tidier is created. I am

[tw5] Re: How to show a list of tiddlers linked or transcluded or used inside via macro in the tiddler?

2020-09-06 Thread talha131
>From what I looked up, it does not seem possible. All the solutions are made on top of “Reference” tab. None of them take into account tiddlers transcluded in the tiddler. For example, 1. https://akhater.github.io/drift/ 2. https://hchaase.github.io/HC-Plugins/ 3.

[tw5] Re: Global wikilink styling depending on the target "weight" field value

2020-09-06 Thread Shareda
Oh, good and clear enough for me! Thank you! One more detail: what if i have links like [[form of keyword|original keyword]] ? How can I remake it or play around? I already have one mechanism based on macros like <> but it is not good becuse of backlinks are not tracing throuh this macro.

[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-06 Thread talha131
Thank you Saq. This was helpful. I ran it on a couple of shadow tiddlers and fixed my configuration using compareTiddlerText. ​ -- 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,

[tw5] Re: Variables in title when clicking "New Tiddler" button?

2020-09-06 Thread Eric Shulman
On Sunday, September 6, 2020 at 9:02:15 AM UTC-7, Logan Chin wrote: > > I have created a "New Tiddler" button to press for each new lecture of a > given class; I have designed it such that the requisite course tags/fields > are filled every time a new tidier is created. > I am wondering if there

[tw5] How to apply a macro or a template to all the tag tiddlers?

2020-09-06 Thread talha131
I have a macro, which basically list all the tiddlers tagged with the current tiddler in a vertical tab list \define tagVerticalTabsUnsorted(defaultTid:"") @@float:right; {{||$:/core/ui/TagTemplate}} @@ <$macrocall $name="tabs" tabsList="[tag]"default=<<__defaultTid__>> state="$:/state/tab1"

[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131
Thank you Mat. I ended up using your solution. -- 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

[tw5] Re: How to apply a macro or a template to all the tag tiddlers?

2020-09-06 Thread talha131
Genius solution Eric! ​ -- 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

[tw5] Re: How do I remove a suffix from a variable?

2020-09-06 Thread Saq Imtiaz
Not sure you need the JavaScript. Assuming input: Spelling Template Desired output: Spelling - Underground Try: <$set name="tiddlerToCreateFromTemplate" value={{{[removeSuffix[Template]addSuffix[- Underground]]}}} > OR <$set name="tiddlerToCreateFromTemplate"