[tw5] Re: What creates tiddlers from links
On Monday, December 20, 2021 at 8:33:13 PM UTC+1 springer wrote: > I'm perplexed a bit, since I'm well aware you're a wizard relative to my > bumbling-tinkering ways. But it seems that when you say "this missing > tiddler hint is hardcoded in the core", you imply it's tricky and dangerous > to tinker with... > That may be your interpretation, but I didn't write it's dangerous. > Isn't the Missing Tiddler hint easily overridden by erasing or replacing > the contents of the following shadow tiddler? > > $:/language/MissingTiddler/Hint > That's the text in the missing tiddler body. But the edit-toolbar button of a missing tiddler also should work in a consistent way. That's not easy to achieve with the current mechanism. There should be an easy and standardized way for plugin authors to allow users to modify the behaviour, without modifying the plugin or the core tiddlers. This should make it possible for several different plugins to work together. At the moment the last plugin that "modifies" the core tiddler wins and overwrites the behaviour of every other plugin that may want to use the same functionality. -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/a79dbfcb-e91c-4f5b-a3e9-c1d8f03a81a9n%40googlegroups.com.
[tw5] Help with filter
Hi, I have this as the 1st line of a filter <$list filter=[regexp:text[Footnotes##myref1]]> to find 'myref1' references, but I've discovered that it's also finding 'myref11', 'myref12' etc. What do I need to include to get an exact match? Regards 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f98f179c-191c-42d6-af11-b8db49ceefd6n%40googlegroups.com.
[tw5] Re: What creates tiddlers from links
PMario, I'm perplexed a bit, since I'm well aware you're a wizard relative to my bumbling-tinkering ways. But it seems that when you say "this missing tiddler hint is hardcoded in the core", you imply it's tricky and dangerous to tinker with... Isn't the Missing Tiddler hint easily overridden by erasing or replacing the contents of the following shadow tiddler? $:/language/MissingTiddler/Hint Its contents can be replaced by anything -- including a new-journal-here button, right? So, in a number of my teaching-related tiddlywiki instances, I've zapped the Missing Tiddler hint (as well as "empty filter" message on Shiraz dynamic tables, which is a bit more deeply hard-coded into the plugin). I do this because I have set up ViewTemplate nodes for missing tiddlers (```<$list filter="[all[current]is[missing]]"> ... ```) , and don't want visitors to be distracted by the missing tiddler message. (My own use case for removing the hint: have participant name-codes listed in hidden "list" field of various tiddlers, assign each participant a virtual permalink with their #name-code initials at end, so that the custom ViewTemplate shows each one a custom overview of tiddlers where they're listed -- but with no easily-browsed or easily-searched way to surf among other participants' name-codes. Not perfect privacy, but not *obviously* public either.) Perhaps I'm misunderstanding what Sher is looking for, or I'm missing some other point here. But I'm curious where the misunderstanding lies! -Springer On Monday, December 20, 2021 at 12:43:11 PM UTC-5 PMario wrote: > On Monday, December 20, 2021 at 4:11:34 PM UTC+1 sheri...@gmail.com wrote: > > So my question is: what core tiddler creates these tiddlers from links? >> Then I can go and modify it to my hearts content. >> > > Hi Sher, > > The default ViewTemplate shows a missing tiddler hint, that allows us to > create a "standard tiddler". ... This missing tiddler hint is hardcoded in > the core atm. ... So there is no easy fix. > > > > At the moment I'm working on a "dynamic" missing tiddler body, for the TW > core. It uses the new cascade filter system, that will allow us to be much > more flexible in the future with exactly your usecse. > > I'm implementing the new mechanism for the markdown plugin atm. It looks > like this: (NOT final!) > > [image: dynamic-edit-button-01.gif] > > There is a new body with a new "edit MD" button in the body text and the > toolbar. > If one of those buttons will be clicked a new text/markdow tiddler will be > created. > > As you can see, the whole new body is useful *but* a bit too "aggressive" > ... The new tiddler doesn't look empty anymore :/ > > So I'm looking for better mechanism, that will allow us more flexibility > and still have an "empty feeling" for non existing tiddlers. > > There should be a possibility to create dynamic toolbar buttons, that > should allow us to use "user defined templates" instead of the default > tiddler template ... > > -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/a3a98c30-b917-4053-a5b6-6314aea3fb6an%40googlegroups.com.
[tw5] Re: How to create a tiddler that opens in View(?)Saved(?) mode not Edit mode
On Monday, December 20, 2021 at 10:16:10 AM UTC-8 sheri...@gmail.com wrote: > ...tiddlers open in the already saved condition i.e. not in edit mode... > Instead of using `<$action-sendmessage $message="tm-new-tiddler" ... />` use `<$action-createtiddler ... >` See https://tiddlywiki.com/#ActionCreateTiddlerWidget for parameter details. enjoy, -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/d8da5463-834e-4510-a5bb-06de7fef9858n%40googlegroups.com.
[tw5] Re: What creates tiddlers from links
Neat. Firstly it's nice that it isn't obvious where this happens. I don't mind looking around but I hate missing it when I've been looking. In my particular use cases I can see a use for one of just a standard empty tiddler or a tiddler that I can configure the way I want much like the new-tiddler new-journal tiddlers. Your dynamic toolbar sounds like it would allow that. Might be nice to have a choice for the entire wiki to always do one or the other or allow for choice on the fly. Personally the "not empty" look doesn't phase me. Right now the first tiddler seen is still not "my" tiddler just a question on whether to create it or not; so being asked how I want it to be created is fine and even desirable if I have more than one option. Thanks for the info and for your efforts on behalf of improving tiddlywiki. It's great. Regards Sher On Monday, December 20, 2021 at 12:43:11 PM UTC-5 PMario wrote: > On Monday, December 20, 2021 at 4:11:34 PM UTC+1 sheri...@gmail.com wrote: > > So my question is: what core tiddler creates these tiddlers from links? >> Then I can go and modify it to my hearts content. >> > > Hi Sher, > > The default ViewTemplate shows a missing tiddler hint, that allows us to > create a "standard tiddler". ... This missing tiddler hint is hardcoded in > the core atm. ... So there is no easy fix. > > > > At the moment I'm working on a "dynamic" missing tiddler body, for the TW > core. It uses the new cascade filter system, that will allow us to be much > more flexible in the future with exactly your usecse. > > I'm implementing the new mechanism for the markdown plugin atm. It looks > like this: (NOT final!) > > [image: dynamic-edit-button-01.gif] > > There is a new body with a new "edit MD" button in the body text and the > toolbar. > If one of those buttons will be clicked a new text/markdow tiddler will be > created. > > As you can see, the whole new body is useful *but* a bit too "aggressive" > ... The new tiddler doesn't look empty anymore :/ > > So I'm looking for better mechanism, that will allow us more flexibility > and still have an "empty feeling" for non existing tiddlers. > > There should be a possibility to create dynamic toolbar buttons, that > should allow us to use "user defined templates" instead of the default > tiddler template ... > > -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/27be79cd-ac84-4dc4-a782-00e4cc58e750n%40googlegroups.com.
[tw5] How to create a tiddler that opens in View(?)Saved(?) mode not Edit mode
Greetings; I have journal and regular tiddlers that have check boxes and text edit boxes in the text field. It is not necessary for the user to see or access the text field in edit mode and in fact confuses things. I would like to have these tiddlers open in the already saved condition i.e. not in edit mode. I have tried adding: <$action-sendmessage $message="tm-save-tiddler" title=<> /> to the $:/core/ui/Actions/new-tiddler after the already present: : <$action-sendmessage $message="tm-new-tiddler" title=<> text=<> tags=<> first-time=""/> (I added the first-time field) But it doesn't work as the tiddler is created and opens in edit mode. I have worked around it (somewhat for the time being with a BEGIN button that hides the content until the button press saves the tiddler) but I don't really that solution. So...what am I missing here. Your help is greatly appreciated. Regards Sher -- 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/6a30a8e8-4af4-4e41-938a-c21d88633699n%40googlegroups.com.
[tw5] Re: What creates tiddlers from links
On Monday, December 20, 2021 at 4:11:34 PM UTC+1 sheri...@gmail.com wrote: So my question is: what core tiddler creates these tiddlers from links? > Then I can go and modify it to my hearts content. > Hi Sher, The default ViewTemplate shows a missing tiddler hint, that allows us to create a "standard tiddler". ... This missing tiddler hint is hardcoded in the core atm. ... So there is no easy fix. At the moment I'm working on a "dynamic" missing tiddler body, for the TW core. It uses the new cascade filter system, that will allow us to be much more flexible in the future with exactly your usecse. I'm implementing the new mechanism for the markdown plugin atm. It looks like this: (NOT final!) [image: dynamic-edit-button-01.gif] There is a new body with a new "edit MD" button in the body text and the toolbar. If one of those buttons will be clicked a new text/markdow tiddler will be created. As you can see, the whole new body is useful *but* a bit too "aggressive" ... The new tiddler doesn't look empty anymore :/ So I'm looking for better mechanism, that will allow us more flexibility and still have an "empty feeling" for non existing tiddlers. There should be a possibility to create dynamic toolbar buttons, that should allow us to use "user defined templates" instead of the default tiddler template ... -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/e463c1c4-cd54-421f-a19a-f08fc9b1efdfn%40googlegroups.com.
[tw5] Re: [Help?] n00b: Example code: How-To: Using scrollable
A! Wow - this is great! Thanks! On Sunday, December 19, 2021 at 2:15:43 PM UTC-8 cj.v...@gmail.com wrote: > Good stuff ! > > If you had a whole bunch of "scrollable's" throughout your TiddlyWiki, and > if you wanted the same style for all of them, you could setup the style > once in a style sheet tiddler or (better in my mind) setup a template > tiddler, such that you could have: > > {{Goals||scroll}} > > That's assuming all instances of scrolling are are the same. > > If and when you are interested in that kind of thing, let me know. > > Cheers ! > > On Sunday, December 19, 2021 at 4:46:28 PM UTC-4 JS2 wrote: > >> Thank You - Thank You - Thank You,... >> >> I had no idea it what this simple - S many site searched - looking >> and trying,... >> >> 1. Create a New Tiddler: Example >> >> 2. Copy and paste: >> >> >> >> .tc-scrollable-demo { >> border: 1px solid <>; >> background-color: < >; >> padding: 1em; >> height: 300px; >> position: relative; >> } >> >> >> <$scrollable class="tc-scrollable-demo"> >> >> {{Goals}} >> >> >> >> Tag: none >> Type: default >> Field: none >> >> 3. Test >> >> Violla! >> >> I'm wondering if there are others out there that stumbled as well - and >> unsure how to do this, >> >> It would be simple enough (I would think) to have this included in the >> https://tiddlywiki.com/static/ScrollableWidget.html page - as an example >> - but am not sure. >> >> Thank You Again! >> >> -JS2 >> >> On Sunday, December 19, 2021 at 12:09:19 PM UTC-8 cj.v...@gmail.com >> wrote: >> >>> G'day, >>> >>> Just as a reference point for discussion: >>> >>> Download the attached, drag into TiddlyWiki.com for import, and take a >>> look at the "Scrollable Sample" tiddler. >>> >>> >>> >>> On Sunday, December 19, 2021 at 3:38:55 PM UTC-4 JS2 wrote: >>> Hi, I am new to TiddlyWiki - and have searched the last couple of days on the basic usage - with not much luck on actually "how" to use the scrollable - seriously - no actual examples. Issue: * I have a table - and display {{ToDo's}} within a cell - but do not know how to use "scrollable" * I need to limit the width, height and font-size for my {{ToDo's}} in the cell. This is the best I found: * https://tiddlywiki.com/static/ScrollableWidget.html So - armed with that - the "best" I can think of is the following: 1. Create a Tiddler: Top_1 <-- with my instructions <$scrollable> Widget Content Outer Widget Content Inner Tags: none Type: default field: none 2. Create a Tiddler: Top_1b <-- The demo CSS .tc-scrollable-demo { border: 1px solid <>; background-color: <>; padding: 1em; height: 400px; position: relative; } Tags: none Type: txt/css field: "class:" Value:"tc-scrollable-demo" 3. Create a Tiddler: Top_1c <-- The demo Scrollable code example <$scrollable class='tc-scrollable-demo'> <$list filter='[!is[system]]'> <$view field='title'/>: <$list filter='[all[current]links[]sort[title]]' storyview='pop'> <$link><$view field='title'/> Tags: none Type: none Field: "class" Value: ".tc-scrollable-demo" 4. Create a Tiddler: Top_1d <-- What I really need !scrollable frame * Outside Frame Outside 1 Inside 1: <$scrollable class='tc-scrollable-demo'> Before Outer but inside Scrollable - before DIV Widget Content Outer {{Completed_ToDos}} Widget Content Inner {{Active_ToDos}} Inner:Done {{Completed}} Outer: Done Inside 1: DONE Outside 1: DONE ,... and of course - the Frames does not limit the height. Help? Thanks >>> -- 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/d1a69470-b007-4655-b888-a2d5e4c8990bn%40googlegroups.com.
Re: [tw5] assigning macro output to a variable
I know I'm late, but variables may work better than arguments if you want to keep the filter separate. \define check_feature() [getindextrim[]match[Y]] <$let feature={{!!current_chosen_feature}} has_feature=<> <$list filter="[tag[system]filter]" variable="sys"> <$link to=<>> <> On Thursday, December 16, 2021 at 8:06:14 PM UTC-5 brian@gmail.com wrote: > CarloGgi, > > On Wed, Dec 15, 2021 at 2:02 PM CarloGgi wrote: > >> \define check_feature(feature) [getindex[$feature$]trim[]match[Y]] >> >> <$set name="has_feature" value=<$macrocall $name='check_feature' >> feature='IFTTT'/> > >> >> <$list filter="[tag[system]filter]" variable="sys"> >><$link to=<>> <> >> >> >> >> >> > [...] > >> <$macrocall $name='check_feature' feature={{!!current_chosen_feature}}/> >> >> where of course field 'current_chosen_feature' wouldbe set by the >> <$select> widget. >> > > Filter operators can use transclusions for parameters. That should help > with this case. Something like this (untested): > > > <$list filter="[tag[system]] > :filter[getindex{!!current_chosen_feature}trim[]match[Y]]" variable="sys"> > > > See https://tiddlywiki.com/#Filter%20Parameter. > > Brian > -- 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/0e22c86b-d6fc-4d7b-a3b3-b840f9a52ae1n%40googlegroups.com.
[tw5] What creates tiddlers from links
Greetings; I have made major mods to both the journal and tiddler creation in terms of having specific titles, text content and fields created when clicking on the new tiddler or new journal buttons. I notice however that when I click on a link in a tiddler for a not yet existing tiddler the newly created tiddler is; well call it a standard tiddler - showing non of the modifications that I have for the tiddlers when using the new tiddler or new journal button. Now, this is actually good since in this case I actually want different text and fields upon creation. I've looked all through the titles for core modules and can't find anything that remotely sounds like it is the trigger. So my question is: what core tiddler creates these tiddlers from links? Then I can go and modify it to my hearts content. Thanks Sher -- 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/20949e28-792b-474e-9e3c-0ab4c2b758e7n%40googlegroups.com.