[tw5] Re: List inside macro parameter

2024-08-16 Thread Eric Shulman
Hi! The problem is that in order to render bullet items, you need the `$text` macro param to be rendered using "block" mode, rather than "inline" mode. To achieve this, all you need to do is to include a blank line in your macro, immediately before the `$text$`, like this: ``` *\define In

[tw5] Re: Contents in sidebar not showing up

2024-08-06 Thread Eric Shulman
Capitalization matters! The correct tag is "$:/tags/SideBar". -e P.S. The active TiddlyWiki group discussion site has moved to https://talk.tiddlywiki.org It uses a "discourse" server, which provides many more features than GoogleGroups. Hope to see you there! On Tuesday, August 6, 2024 at 10

[tw5] Re: [TW5] Delete tiddler on click/mass delete

2024-03-06 Thread Eric Shulman
If you can use a filter to get the list the tiddlers you want to delete, then you can use the delete button (“trash can”) in $:/AdvancedSearch > Filters tab to bulk delete all matching tiddlers. If you want to exclude a few specific tiddlers from your filtered list, you can add -[[NameOfTiddler

Re: [tw5] Re: controlling the background image

2024-02-15 Thread Eric Shulman
Try this: Create a new tiddler (e.g., "SetPageBackground"), tagged with ` $:/tags/Stylesheet`, containing: ``` <$let curr={{$:/HistoryList!!current-tiddler}}> body.tc-body { background-image:url(<$macrocall $name="datauri" title={{{ [get[bg]] }}} $output="text/plain"/>); background-size:{{{ [get[b

[tw5] Re: is it possible to list fields that have a specific prefix ?

2023-07-09 Thread Eric Shulman
Try this: ``` <$list filter="[tag[Song]sort[]] :filter[get[year]prefix[198]]"> ``` On Sunday, July 9, 2023 at 3:59:21 PM UTC-7 odda...@gmail.com wrote: > How about listing fields whose value has a specific prefix? > > Right now I have a list filter that looks like this: > > <$list filter="[field

[tw5] Re: It would be nice if drag and drop mechanism didn't happen everywhere

2023-05-28 Thread Eric Shulman
The `$dropzone` widget used to trigger drag-and-drop $:/Import handling is defined in `$:/core/ui/PageTemplate`: ``` <$dropzone enable=<>> ``` which also defines the `tv-enable-drag-and-drop` variable, which gets it's value from the contents of `$:/config/DragAndDrop/Enable`, and has a default v

[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-19 Thread Eric Shulman
The TWCore setting `$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize` assumes that it includes the CSS units (e.g., “px”). However, the $range widget only sets a numeric value, thus losing the default “px” suffix. To work around this, try the following: ``` <$let target="$:/themes/tiddlywiki/va

[tw5] Re: Reveal Widget rendering issues.

2023-05-09 Thread Eric Shulman
Wikitext syntax relies upon a leading blank line to indicate that "block" mode rendering should be applied to the bullet item. In addition, the bullet item within the $reveal widget also results in a new containing "ul" element which includes a margin above/below, resulting in the unwanted whi

[tw5] Re: URL Import Gadget (URL to WikiText external link)

2023-05-01 Thread Eric Shulman
To create the bookmarklet: (note: these instructions are for Chrome. Similar actions are available for other browsers, though the menu item and dialog may vary somewhat) - First, select and copy the code posted by cskrisz to your clipboard: ``` javascript: navigator.clipboard.write

[tw5] Re: Using Filter Notation in code for Table of Contents

2023-04-25 Thread Eric Shulman
On Tuesday, April 25, 2023 at 8:40:38 AM UTC-7 springer wrote: ``` <$macrocall $name="toc-tabbed-external-nav" tag="Common Operators" exclude="all Operator" /> ``` As best I can tell, it fails when BOTH the tag and the exclude string have spaces. Before the TOC code change, the `excluded` v

[tw5] Re: Render a custom type as text/plain

2023-04-01 Thread Eric Shulman
Worked perfectly. And thanks for the link and >> explanation! I'll use the Discourse server for these type of questions >> going forward. >> Again, 1000 thanks! >> Cheers, >> Gabriel >> >> On Saturday, April 1, 2023 at 6:35:04 PM UTC+2 Eric Shu

[tw5] Re: Render a custom type as text/plain

2023-04-01 Thread Eric Shulman
Addendum: Instead of [type[text/x-fountain]then[$:/core/ui/ViewTemplate/body/rendered-plain-text]] your cascade definition should be: [type[text/x-fountain]then[$:/core/ui/ViewTemplate/body/code]] The difference is that the first definition will render embedded wikitext syntax, while the second

[tw5] Re: Render a custom type as text/plain

2023-04-01 Thread Eric Shulman
You want to use the TWCore's "cascade" mechanism (see https://tiddlywiki.com/#Cascades) * Create a tiddler (e.g., "$:/config/ViewTemplateBodyFilters/x-fountain"), containing: [type[text/x-fountain]then[$:/core/ui/ViewTemplate/body/rendered-plain-text]] * Tag it with `$:/tags/ViewTemplateBody

[tw5] Re: Creating Tiddler from Template but just the body

2023-02-16 Thread Eric Shulman
Instead of use the `$param` parameter, you can set the `text` field content in the same way you are setting the content of the `title` and `tags` fields. Something like this should do: ``` <$action-sendmessage $message="tm-new-tiddler" title=<> text={{000template}} tags=<>/> ``` Note how the `t

[tw5] Re: Using Filter Notation in code for Table of Contents

2023-02-10 Thread Eric Shulman
ppen to have a workaround ;) ... > On Thursday, January 26, 2023 at 7:34:38 PM UTC-5 Eric Shulman wrote: > >> For the first problem (excluding items tagged with "Todo"), try this: >> ``` >> <$set name="todo" filter="[tag[Todo]]"&

[tw5] Re: Macro

2023-02-05 Thread Eric Shulman
Give this a try: ``` \define checkbox-list(values,fieldname) <$list filter="[enlist[$values$]]" variable="thisValue" > <$checkbox listField="$fieldname$" checked=<>> <> \end ``` Notes: * If the `values` list has items that contain double quotes or square brackets, those characters will interfere

[tw5] Re: Upon first edit, field creates a temporary tiddler, causing the focus to move away from the field

2023-02-03 Thread Eric Shulman
When the `$:/temp/BAM/Settings` tiddler is first created, it causes everything following the `$tiddler` widget to be refreshed, which triggers the loss-of-focus that you observed. While creating the temporary tiddler on startup certainly does fix this issue, there is another solution that does

[tw5] Re: Using Filter Notation in code for Table of Contents

2023-01-26 Thread Eric Shulman
For the first problem (excluding items tagged with "Todo"), try this: ``` <$set name="todo" filter="[tag[Todo]]"> <$macrocall $name="toc-selective-expandable" tag="ML" sort="sort[created]" exclude=<> /> ``` Notes: * The `$set` widget gets the list of all tiddlers tagged with "Todo" and stores

[tw5] Re: Undefined widget 'let'

2022-12-05 Thread Eric Shulman
The `$let` widget was added to the TWCore in v5.2.1 (8 December 2021). The error you are seeing indicates that you are using a version of TW that is older than v5.2.1. To fix this, you need to upgrade your TiddlyWiki. Go to https://tiddlywiki.com/upgrade. -e On Monday, December 5, 2022 at

[tw5] Re: why my macro return is not rendered correctly ?

2022-12-05 Thread Eric Shulman
There's no need to use javascript for this macro. Instead, you can create a tiddler named "$:/plugins/vpl/jazzbokMem/db_macros_plan", tagged with `$:/tags/Macro`, containing: ``` \define db_macros_plan(opt) <$let audio_path={{$opt$!!audio_ref}}> <$list filter="[search:title[file/audio/cours]]"

[tw5] Re: What if SQL statements could be used in TiddlyWiki?

2022-11-24 Thread Eric Shulman
This is some interesting stuff! I notice that in the PDF output, if a tiddler listed in "The record set" table doesn't have some fields (or the field value is blank, or two fields have exactly the same value), that row of the table omits the corresponding cell, rather than showing a blank place

[tw5] Re: Ignore "the" and "a" in dynamic list?

2022-11-14 Thread Eric Shulman
Take a look at the actual documentation tiddler (not the static version) here: https://tiddlywiki.com/#How%20to%20remove%20stop%20words Edit that tiddler to see the implementation. It contains this macro definition: ``` \define compare-without-stopwords() [search-replace:i:regexp[^The |A ],[

[tw5] Re: What is Red "Draft of" button at lower left on page load?

2022-10-27 Thread Eric Shulman
If you are editing a tiddler and that tiddler is removed from the StoryRiver without ending the active edit, you get a "red button" for that tiddler. Clicking the red button re-displays the tiddler editor in the StoryRiver so you can continue editing. Here's an example of how to produce this e

[tw5] Re: triggering send-message from a permalink URL

2022-10-09 Thread Eric Shulman
Try this: 1) In your TiddlyWiki, create a new tiddler named "download", containing: ``` \import $:/plugins/benwebber/dnd/ui/Buttons/export-player-edition <$list filter="[{$:/info/url/search}match[?download]]"> <> ``` 2) tag this tiddler with `$:/tags/StartupAction/PostRender` Then, to trigger

[tw5] Re: SOS tagging help

2022-10-08 Thread Eric Shulman
After tagging, the tiddler "Intro" shows a tag pill for "Dervla Murphy". Clicking this tag pill shows a drop down that includes a link to the "Intro" tiddler. Note that, while there is also a tiddler named "Dervla Murphy", that tiddler does not *automatically* show a list of tiddlers that are ta

[tw5] Re: coloring dropdown options

2022-09-29 Thread Eric Shulman
he explanation. Never mind. I need to find a way to > "dynamically" change the color of the <$select> tag itself (which has > class/style attributes), or find an other way to do what i want. ;-) > > Thank you. > > On Wednesday, 28 September 2022 at 17:37:37 UTC+2

[tw5] Re: coloring dropdown options

2022-09-28 Thread Eric Shulman
except that the chosen option does not > remain colored. > Is this behavior on purpose ? > > On Tuesday, 27 September 2022 at 16:54:30 UTC+2 Eric Shulman wrote: > >> You can you CSS `class` or `style` attributes to specify the `background` >> color attribute, like th

[tw5] Re: coloring dropdown options

2022-09-27 Thread Eric Shulman
You can you CSS `class` or `style` attributes to specify the `background` color attribute, like this: Using classnames: ``` .red { background:red; } .green { background:green; } .blue { background:blue; } <$select field="color"> item 1 item 2 item 3 ``` Using direct styles and a $li

[tw5] Re: Limiting tiddler width

2022-09-23 Thread Eric Shulman
Create a tiddler (e.g., "SetTiddlerWidth"), tagged with `$:/tags/Stylesheet`, containing: ``` <$list filter="[{$:/state/sidebar}match[no]]"> .tc-tiddler-frame { width:50vw; min-width:600px; margin-left:auto; margin-right:auto; } ``` Notes: * The contents of `$:/state/sidebar` are automatically s

[tw5] Re: [TW5] Save Changes button, Action before saving changes

2022-08-22 Thread Eric Shulman
You can prevent a tiddler from being saved in the file by creating a global macro named `publishFilter()` that removes the specific tiddler title, like this: Create a tiddler (e.g., "MyPublishFilter"), tagged with `$:/tags/Macro`, containing: ``` \define publishFilter() -[[$:/state/GMKey]] \end

[tw5] Re: Tag Cloud (TiddlyWiki coding fun)

2022-07-11 Thread Eric Shulman
Indeed, TagCloud has been done before... https://tiddlytools.com/filtergenerators.html#TiddlyTools%2FFilterGenerators%2FTagCloud On Monday, July 11, 2022 at 3:52:17 PM UTC-7 cj.v...@gmail.com wrote: > Hello, > > I just had an itch to code this thing. I'm sure this has been done many > times b

[tw5] Re: How to change the color of Tw icons

2022-06-27 Thread Eric Shulman
This will do what you want: ``` @@fill:yellow;{{$:/core/images/tip}}@@ ``` enjoy, -e On Monday, June 27, 2022 at 9:35:59 AM UTC-7 Juan Palomo wrote: > Hello everyone. > > Is there any way to change the color of TW's system icons? The fact is > that I would like to use some icons in a table that

[tw5] Re: Tell me, is it possible to make a listing list in the Tiddlywiki field

2022-06-19 Thread Eric Shulman
>From your drawing, it seems that you want a text input field that also displays a progressively filtered dropdown list of items that have at least a partial match for the current text input. If this is the case, then my TiddlyTools `edit-list` macro (https://tiddlytools.com/edit-list.html) can

[tw5] Re: Just a reminder: using filters in permalinks

2022-06-12 Thread Eric Shulman
On Sunday, June 12, 2022 at 11:51:35 AM UTC-7 cj.v...@gmail.com wrote: > Yeah, I can't figure out the code block thing. > Posting in Google Groups, sometimes the triple-tick marks are needed, > sometimes the single-tick marks. > For multi-line code blocks, use tripled tick-marks, on separate lin

Re: [tw5] Re: Persistant memo textbox

2022-06-08 Thread Eric Shulman
One more addition. Put the following at the start of the "TiddlerNotesTemplate" definition: ``` <$list filter="[is[tiddler]]"> ``` This bypasses displaying the TiddlerNotesTemplate for shadow tiddlers (e.g., `$:/AdvancedSearch`), so you can't add notes that will automatically convert a shadow t

Re: [tw5] Re: Persistant memo textbox

2022-06-08 Thread Eric Shulman
I suggest also added a "heading" above the textarea. Something like this: ``` <$button class="tc-btn-invisible"> {{$:/core/images/delete-button}} <$action-setfield $tiddler=<> $field="notes"/> ''Notes:'' <$macrocall $name="copy-to-clipboard-above-right" src={{!!notes}}/> <$edit-text tag="te

[tw5] Re: Persistant memo textbox

2022-06-07 Thread Eric Shulman
Try this: Create a tiddler (e.g. "TiddlerNotesTemplate"), tagged with $:/tags/ViewTemplate, containing: <$edit-text tag="textarea" class="tc-edit-texteditor" field="notes"/> This will add a multi-line textarea input at the bottom of every tiddler. enjoy, -e On Tuesday, June 7, 2022 at 2:26:59 P

[tw5] Re: Help.

2022-06-02 Thread Eric Shulman
It looks like you have an incomplete installation of TiddlyMap. The installation instructions for TiddlyMap (see http://tiddlymap.org/#Installation) say: "Drag *all* the links below into the browser window that contains your TiddlyWiki." `TW5-TiddlyMap (v0.17.8+10010)` This is the core TiddlyMa

[tw5] Re: Filter display of Dictionary List items based on tiddler's field??

2022-05-24 Thread Eric Shulman
quot;> <> ``` This allows you to click on the item text to toggle the checkbox. -e On Tuesday, May 24, 2022 at 9:12:15 AM UTC-7 David wrote: > Thanks! > > That is perfect!. I think I have several other pages that can enjoy this > kind of feature, as well. > > On Tuesd

[tw5] Re: Filter display of Dictionary List items based on tiddler's field??

2022-05-24 Thread Eric Shulman
On Tuesday, May 24, 2022 at 4:36:35 AM UTC-7 David wrote: > ``` > <$list > filter="[indexes[]search:title:literal[Vegas]sort[]]" > variable=item> > ``` > But it seems your code snippet is not working with the variable/field in > there. It works fine when I put some static text there, though, a

[tw5] Re: Filter display of Dictionary List items based on tiddler's field??

2022-05-23 Thread Eric Shulman
On Monday, May 23, 2022 at 6:04:21 PM UTC-7 David wrote: ``` <$list filter="[all[current]indexes[]containssort[]]" variable=item> ``` `contains>` is incorrect for two reasons: * The field reference `!!searchText` should enclosed with curly braces: `{!!searchText}`, not angle brackets. Remember

[tw5] Re: Can I save tiddlywiki without re-downloading it?

2022-05-03 Thread Eric Shulman
The default TiddlyWiki saver uses the browser's built-in "download a file" process, which includes general security handling to prevent unwanted "stealth payloads" from being installed on your system. One major advantage of the "download saver" is that it doesn't require any special setup. Th

[tw5] Re: Shiraz plugin: dynamic table gets search ui

2022-04-15 Thread Eric Shulman
On Thursday, April 14, 2022 at 11:04:08 PM UTC-7 passingby wrote: > I have both of your tiddlers copied. And as expected the PowerSearch works > on its own perfectly. I have also installed the Shiraz plugin and working > on its own as well. Then I created another tiddler containing the > overri

[tw5] Re: How can I filter fields that start with a specific string?

2022-04-03 Thread Eric Shulman
Try this: ``` <$list filter="[fields[]prefix[entry]]" variable="thisfield"> <$view field=<>/> ``` enjoy, -e On Sunday, April 3, 2022 at 4:05:56 PM UTC-7 thyl...@gmail.com wrote: > Hi, > I am trying to view multiple fields that begin with a specific string. > I am using fields: > entry 1 > en

[tw5] Re: [Question] Lists of tiddlers filtered on two columns into a table

2022-03-30 Thread Eric Shulman
LIST B=TidB TidD TidE >> ROWS=3 >> >> But the table still empty >> >> Le mercredi 30 mars 2022 à 16:58:15 UTC+2, Eric Shulman a écrit : >> >>> On Wednesday, March 30, 2022 at 7:44:07 AM UTC-7 arm...@gmail.com wrote: >>> >>>> Than

[tw5] Re: [Question] Lists of tiddlers filtered on two columns into a table

2022-03-30 Thread Eric Shulman
On Wednesday, March 30, 2022 at 7:44:07 AM UTC-7 arm...@gmail.com wrote: > Thanks also for your code and notes for my understanding! > When I try it, I only see the table header "a | b" but no rows after that. > Is there a way to debug what is in the "rows" variable ? > Just before the `` element

[tw5] Re: [Question] Lists of tiddlers filtered on two columns into a table

2022-03-30 Thread Eric Shulman
Give this a try: ``` <$set name="A" filter="[tag[a]!is[system]sort[title]]"> <$set name="B" filter="[tag[b]!is[system]sort[title]] -[enlist]"> <$vars rows={{{ [enlistcount[]] [enlistcount[]] +[maxall[]] }}}> ab <$list filter="[range[1],]" variable=row> <$link to={{{ [enlist

[tw5] Re: How to transclude a list and modify its indentation level automatically to match the destination tiddler indentation level

2022-03-23 Thread Eric Shulman
First, you'll need to use the `<$transclude>` widget with optional parameter `mode=block`. This will allow the transclusion to properly handle the bullet items contained in the transcluded tiddler. Then, to insert the transcluded bullet items at a level below the current level, you'lll need to

[tw5] Re: Scaling shown pdfs?

2022-02-25 Thread Eric Shulman
Here's a little macro that I've been working on. It handles both internally-stored (base64 encoded data URIs) and externally-stored (using _canonical_uri) PDFs. It uses URL parameters to omit the default PDF viewer's toolbar, and can also automatically scroll to a specified page within the PD

[tw5] Re: Method of using "nth-child(even)" with ""?

2022-02-20 Thread Eric Shulman
at works! > > I can generally grasp how this works, though I'm not familiar with > <__txt__>splitregexp[\n]] > > the only time I've seen \n is to create a new line in python, is it doing > the same here? > > > > On Sunday, February 20, 2022 at 8:1

[tw5] Re: Method of using "nth-child(even)" with ""?

2022-02-20 Thread Eric Shulman
ler named "test". -e On Sunday, February 20, 2022 at 4:46:32 PM UTC-8 justin.hu...@gmail.com wrote: > Ah, well- that's a bummer haha > > Thank you! > On Sunday, February 20, 2022 at 7:30:21 PM UTC-5 Eric Shulman wrote: > >> Although HTML `` elements can display multiple

[tw5] Re: Method of using "nth-child(even)" with ""?

2022-02-20 Thread Eric Shulman
Although HTML `` elements can display multiple lines of text, each line is not a separate child element. Thus, a CSS rule such as `nth-child(even)` doesn't have any effect within the `` element. -e On Sunday, February 20, 2022 at 4:13:04 PM UTC-8 justin.hu...@gmail.com wrote: > Hello all, titl

[tw5] Re: TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for processing

2022-02-19 Thread Eric Shulman
Charlie, To format code examples so they are viewable on https://talk.tiddlywiki.org/, enclose the code portion of your post inside *triple backticks placed on separate lines* *immediately before and after the code*, like this: ``` this content will appear as a code block when viewed on https:/

[tw5] Re: Custom export formats: TiddlyWiki available for study

2022-02-16 Thread Eric Shulman
On Wednesday, February 16, 2022 at 1:31:27 PM UTC-8 cj.v...@gmail.com wrote: > ...some kind of trigger needs to be setup in TiddlyWiki to check local > storage (a manual trigger would involve a human pressing a button; an > automated trigger would involve some kind of timer in TiddlyWiki to trig

[tw5] Re: Adding duplicate title in title list

2022-02-16 Thread Eric Shulman
Answer to question #1: By default, titles resulting from a filter are only listed once, with the last instance of a given title "dominantly appended" to the list (i.e., duplicates are removed). Thus, in your example, adding `[[foo]]` to the end of the list automatically removed the first insta

[tw5] Re: Adding Meta Tag to Head Section

2022-02-10 Thread Eric Shulman
1. Create a tiddler tagged with $:/tags/RawMarkup 2. Enter your meta tag syntax in the text field 3. Press "done" button to finish editing 4. Save-and-reload your TiddlyWiki enjoy, -e On Thursday, February 10, 2022 at 12:14:53 PM UTC-8 r

[tw5] Re: How to link to file using relative path?

2022-01-25 Thread Eric Shulman
On Tuesday, January 25, 2022 at 11:03:58 PM UTC-8 reinhard...@gmail.com wrote: > Is there a way to edit one's own posts? > Editing your own posts is one of the many features that GoogleGroups has *REMOVED* from their interface. This steady "decay" in utility of the GoogleGroups interface has

[tw5] Re: Dynamic class

2022-01-23 Thread Eric Shulman
Remove the quotes around `"""<>"""`. Like this: ``` <$macrocall $name="tabs" tabsList="""[tag[$tName$]nsort[order]]""" class=<> /> <$macrocall $name="testFunction" alignmentTabs=<> tName="""$tName$""" /> ``` On Sunday, January 23, 2022 at 1:29:55 AM UTC-8 thomas.sch...@gmail.com wrote: > Hel

[tw5] Re: Strange List Issue with list-links

2022-01-18 Thread Eric Shulman
Here's your code that doesn't work: ``` \define listtitle() ''Books by $(currentTiddler)$'' \define filter() "[tag[$(currentTiddler)$]tag[Book]]" <$list filter=<> variable="_"> < <> ``` Here's what's wrong: 1) There is a missing `>` at the end of `<`. As a result, the macro call isn't closed

[tw5] Re: Clickable fields in the 'Fields' tab of the info button

2022-01-15 Thread Eric Shulman
The "Fields" tab content is defined in: $:/core/ui/TiddlerFieldTemplate, which contains: ``` <$text text=<>/> <$view field=<>/> ``` If you change `<$view field=<>/>` to `<$transclude field=<>/>` then the display of the field contents will be "wikified". This will cause any WikiWords co

[tw5] Re: Possible bug in list-links macro

2022-01-14 Thread Eric Shulman
On Friday, January 14, 2022 at 6:26:11 AM UTC-8 PMario wrote: > On Friday, January 14, 2022 at 1:24:16 PM UTC+1 Eric Shulman wrote: > ... > >> However, `<>` is a merely a "convenience" macro for >> outputting a bullet list of links. >> If you want a

[tw5] Re: Possible bug in list-links macro

2022-01-14 Thread Eric Shulman
The behavior you describe (showing the tiddler's caption field if present, even if blank) is specifically described in the macro documentation (see https://tiddlywiki.com/#list-links%20Macro). However, `<>` is a merely a "convenience" macro for outputting a bullet list of links. If you want a m

[tw5] Re: export tiddler automatically

2021-12-30 Thread Eric Shulman
$:/library/sjcl.js]] [[$:/StoryList]] [[$:/temp/info-plugin]] and [prefix[$:/temp/time]]` - default filename/format is "changes.json" Get the update here: TiddlyTools/Time/AutoSaver <https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAutoSaver> -e On Thursday, December 30, 202

[tw5] Re: export tiddler automatically

2021-12-30 Thread Eric Shulman
On Thursday, December 30, 2021 at 4:45:06 PM UTC-8 mohamed...@hotmail.com wrote: > thank you very much Eric > I just posted an update to TiddlyTools/Time/AutoSaver: * improved "settings" popup interface (better layout and "reset" handling for defaults) * added startup() macro and $:/tags/Start

[tw5] Re: export tiddler automatically

2021-12-30 Thread Eric Shulman
suspend the current countdown, or "stop" to halt the countdown. -e On Thursday, December 30, 2021 at 10:00:26 AM UTC-8 Eric Shulman wrote: > On Wednesday, December 29, 2021 at 2:39:23 PM UTC-8 mohamed...@hotmail.com > wrote: > >> Is there way to export a particular

[tw5] Re: export tiddler automatically

2021-12-30 Thread Eric Shulman
On Wednesday, December 29, 2021 at 2:39:23 PM UTC-8 mohamed...@hotmail.com wrote: > Is there way to export a particular tiddler automatically, so as in some > scheduled task in the background, that lets say every 30 minutes would > trigger a command to export a specific tiddler in a particular

[tw5] Re: How to create a tiddler that opens in View(?)Saved(?) mode not Edit mode

2021-12-20 Thread Eric Shulman
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/#Action

[tw5] Re: Hover over word to reveal transcluded content of another tiddler

2021-12-19 Thread Eric Shulman
instead of using the shorthand transclusion `{{TiddlerA}}` use the `<$transclude>` widget with the `mode=block` parameter, like this: ``` <" >> ``` enjoy -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop re

[tw5] Re: Trim [[ or trim ]] not working

2021-12-17 Thread Eric Shulman
On Friday, December 17, 2021 at 7:54:00 AM UTC-8 sheri...@gmail.com wrote: > ``` > <$vars prefix="[[" suffix=" ]]"> > <$list filter="[[smpConfig]get[animals]trim:prefix[]]"/> > > ``` > If I don't have the trim part then the output is: [[Fox ]] [[Beaver ]]... > all good but once the trim is add

[tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread Eric Shulman
To change the text of the window title (but not the SiteTitle or SiteSubtitle), edit the shadow tiddler: `$:/core/wiki/title` and set it's content to whatever you want. enjoy, -e On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote: > Is that possible? If so how? > > For e

[tw5] Re: Text overflowing inside "tc-drop-down"?

2021-11-30 Thread Eric Shulman
By default, `tc-drop-down` applies CSS `white-space:nowrap`. In addition, for links it also applies `display:block; padding:0 14px 0 14px;`. To override these default styles, you can define and apply your own CSS class (e.g., "my-drop-down"), like this: 1) Create a stylesheet tiddler, tagged w

[tw5] Re: How to get simple i=i+2 in wiki macros?

2021-11-29 Thread Eric Shulman
Use this calculation: `<$text text={{{ [subtract[1]divide[3]trunc[]add[1]] }}}/>` enjoy, -e On Sunday, November 28, 2021 at 11:26:32 PM UTC-8 Siniy-Kit wrote: > Thank you Cj. And how can we get this list? > 1 HelloThere > 1Learning > 1 Working with TiddlyW

[tw5] Re: How can I link an external URL to an internal image and a shown tooltip?

2021-11-27 Thread Eric Shulman
The standard HTML syntax for adding a tooltip to a link uses the `title` attribute, like this: ``` [img[image.png]] ``` Alternatively, you can use the TW wikitext syntax for adding a tooltip to an internal image, like this: ``` [img[tooltip text|image.png]] ``` enjoy, -e -- You received this me

[tw5] Re: Please help us test v5.2.1-prerelease so we can expedite its release

2021-11-23 Thread Eric Shulman
On Tuesday, November 23, 2021 at 2:14:09 PM UTC-8 Mat wrote: > `<$list filter="""[tag[Moment]tagging[]] > :filter[match]""">` > In my 5.1.24-prerelease it behaves like I want, i.e it checks if the > current tiddlers name matches a limited set of titles and only then > displays the content. But

[tw5] Re: [Theme] Zacht - A clean and soft theme for TiddlyWiki

2021-11-22 Thread Eric Shulman
On Monday, November 22, 2021 at 8:32:04 AM UTC-8 ale...@gmail.com wrote: > Looks very nice! When I try and drag and drop it into my TW, the import > page just shows download.url and not the theme itself? This is a problem that started with the most recent update to Google Chrome (v96.0.4664.45

[tw5] Re: The title of the tab is duplicate

2021-11-21 Thread Eric Shulman
When I view the $:/core tiddler (or any other plugin tiddler) on https://TiddlyWiki.com, the tabs only show their text once (e.g., "readme" and "contents"). Have you installed any other plugins or made any modifications to shadow tiddlers that might affect the tabs display? -e On Sunday, Nove

[tw5] Re: can I create a tiddler without it entering edit mode?

2021-11-21 Thread Eric Shulman
Another handy use of ActionSetFieldWidget is to "clone" a tiddler, simply by setting the title field. Let's suppose you have a Tiddler named "TidA", and you want to make a complete copy of it named "TidB". You can achieve this via: `<$action-setfield $tiddler="TidA" title="TidB" />` While this

[tw5] Re: can I create a tiddler without it entering edit mode?

2021-11-21 Thread Eric Shulman
You can use https://tiddlywiki.com/#ActionCreateTiddlerWidget or https://tiddlywiki.com/#ActionSetFieldWidget to create tiddlers without opening them in the Story Column. enjoy, -e On Sunday, November 21, 2021 at 2:27:29 PM UTC-8 andres@gmail.com wrote: > So doing a project and I am creatin

[tw5] Re: gg VS talk

2021-11-11 Thread Eric Shulman
On Thursday, November 11, 2021 at 7:52:00 AM UTC-8 Mat wrote: > > Visit our new, *experimental* Discourse discussion: talk.tiddlywiki.org > > How long is talk.tw gonna be experimental? > I think the experiment has been successful. I am inclined to remove the word "experimental" from the GG head

[tw5] Re: Combobox idea

2021-11-04 Thread Eric Shulman
On Thursday, November 4, 2021 at 12:31:14 PM UTC-7 Télumire wrote: > Here's the code to push the dropdown in the proper place : > There are layout problems with this solution. To see the issues, try putting "before" and "after" text surrounding the "combobox" span: > *BEFORE* > <$select fie

[tw5] Re: Combobox idea

2021-11-04 Thread Eric Shulman
On Thursday, November 4, 2021 at 4:38:55 AM UTC-7 Mat wrote: > I just came up with a simple idea for how to create comboboxes. Basically > it is an EditTextWidget just before the SelectWidget and the select widget > is styled to only show the arrow and both widgets refer to the same field. > My

[tw5] Re: selectedClass on button just stopped working?

2021-11-01 Thread Eric Shulman
According to the documentation in https://tiddlywiki.com/#ButtonWidget, the `selectedClass` parameter is assigned "if the popup is triggered or *the tiddler specified in set already has the value specified in setTo*" However, in your `$button` code, the `setTo` parameter is calculated using a f

[tw5] Re: $action-setfield "spaced name field"=how?

2021-11-01 Thread Eric Shulman
On Sunday, October 31, 2021 at 11:07:05 PM UTC-7 Mat wrote: > How did you manage to reply in that "read only" thread? And I cannot? > TiddlyTalk "admins" (Boris, Jeremy, Mario, Mark, and myself) can post replies to a read-only category. In principle, admins should always make sure that we post

[tw5] Re: Need help to create a javascript library & invoke this.wiki.xxxx() from it

2021-10-27 Thread Eric Shulman
On Wednesday, October 27, 2021 at 1:44:07 AM UTC-7 vpl wrote: > `var stats_tiddlers = this.wiki.filterTiddlers(stats_tiddler_filter);` > Try using `$tw` instead of `this`: ``` var stats_tiddlers = $tw.wiki.filterTiddlers(stats_tiddler_filter); ``` -e -- You received this message because you ar

[tw5] Re: Sidebar Navigation: Trying to use TW as an SRD

2021-10-20 Thread Eric Shulman
The TiddlyWiki standard distribution includes a set of macros to display a hierarchical "Table of Contents" https://tiddlywiki.com/#Table-of-Contents%20Macros https://tiddlywiki.com/#Table-of-Contents%20Macros%20(Examples) For your purposes, you probably want to use the `<>` macro. enjoy, -e --

[tw5] Re: customize order of tag display

2021-10-08 Thread Eric Shulman
On Thursday, October 7, 2021 at 7:45:43 PM UTC-7 gavin@gmail.com wrote: > Finally got it to work. The tiddler titled $:/config/TagsOrder (and also > tagged $:/config/TagsOrder) had to have each tag incased in [[*]] > notation and line separated > [[Tag]] > [[Another Tag]] > [[An Yet Another]

[tw5] Re: customize order of tag display

2021-10-08 Thread Eric Shulman
On Thursday, October 7, 2021 at 12:20:17 PM UTC-7 gavin@gmail.com wrote: > How would we achieve this without altering the core/ui shadow tiddler? > Given the current definition of `$:/core/ui/ViewTemplate/tags`, I don't see any other way to make this change without altering that shadow tiddl

[tw5] Re: Just a Filtering Code Pattern

2021-09-25 Thread Eric Shulman
I just tested this on both 5.1.23 and 5.2.0pre. I created one tiddler containing ``` {{{ [tag[Tag 1],[Tag 2],[Tag 3],[Tag 4]] :filter[tags[]count[]compare:eq[4]] }}} ``` and another tiddler with the four tags (note capitalization and spaces in the tag values). It *does* seem to work on both

Re: [tw5] Re: Filter tiddlers with exactly one tag.

2021-09-23 Thread Eric Shulman
On Thursday, September 23, 2021 at 3:57:35 PM UTC-7 thor...@gmail.com wrote: > How might I make this searching tiddler more robust in the presence of > "tags with spaces", since I also use spaces to delimit tags in the > `edit-text`? > The problem is the use of `<$set name="tagList" filter="[en

Re: [tw5] Re: Filter tiddlers with exactly one tag.

2021-09-23 Thread Eric Shulman
> > On Thursday, September 23, 2021 at 6:07:22 PM UTC-4 thor...@gmail.com > wrote: > >> I just learned that list widgets can be nested; why does the above list >> return "the titles of the 10 tiddlers with the appropriate tags rather than >> printing the string "playground,rust,test,two words"

Re: [tw5] Re: Filter tiddlers with exactly one tag.

2021-09-22 Thread Eric Shulman
On Wednesday, September 22, 2021 at 5:23:57 AM UTC-7 cj.v...@gmail.com wrote: > [tag[playground]tag[rust]tag[test]tag[two words]] > The OP goal was to find tiddlers that have all the specified tags, but ONLY those tags and no others. The problem is that the filter you suggest will also match t

[tw5] Re: Filter tiddlers with exactly one tag.

2021-09-21 Thread Eric Shulman
On Tuesday, September 21, 2021 at 10:52:04 PM UTC-7 thor...@gmail.com wrote: > I tried to experiment with > `[enlist{!!tags}sort[]join[,]match[playground,rust,test,two words]]` and > uploaded the results. `[enlist{!!tags}sort[]join[,]]` returns the same > thing as `[enlist{!!tags}sort[]join[,]m

[tw5] Re: Filter tiddlers with exactly one tag.

2021-09-21 Thread Eric Shulman
On Tuesday, September 21, 2021 at 7:41:06 PM UTC-7 thor...@gmail.com wrote: > I have 10 tiddlers tagged with both `playground` and `rust` > (`[tag[rust]tag[playground]]` returns them all, but _pretend_ that I could > have tiddlers with more than just two tags). In advanced search, > `[field:tag

[tw5] Re: Filter tiddlers with exactly one tag.

2021-09-21 Thread Eric Shulman
On Monday, September 20, 2021 at 7:38:43 PM UTC-7 thor...@gmail.com wrote: > ...is there a shorthand to only output those tiddlers with _exactly_ the > one tag I'm requesting > Even though the "tags" field contains a list of tiddler titles, it is also just a simple text value and you can use th

[tw5] Re: How do I use a URL in a macro?

2021-09-20 Thread Eric Shulman
On Monday, September 20, 2021 at 12:35:18 AM UTC-7 thor...@gmail.com wrote: > I can make the first method work by putting the URL in quotes, but I would > like to avoid that in general because it's more typing :): `< http://foo.org"; bar>>`. Why are the quotes required? I thought macro > expansi

[tw5] Re: How to add a button to the up-right to close others?

2021-09-16 Thread Eric Shulman
By default the “close others” button appears in the tiddler View Toolbar “more” dropdown (as Birthe has shown). If you want to move this button from the “more” dropdown to the main tiddler View Toolbar, open the $:/ControlPanel (the gear icon in the sidebar), select the “Appearance” tab, then

[tw5] Re: Count[], sum[] etc. in nested lists?

2021-09-13 Thread Eric Shulman
errata: I changed a variable name, but missed one line. Change this: <> tasks, <> are completed: to this: <> tasks, <> are completed: -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails fro

[tw5] Re: Count[], sum[] etc. in nested lists?

2021-09-13 Thread Eric Shulman
On Monday, September 13, 2021 at 2:18:59 PM UTC-7 Mark S. wrote: > Another way is to put the entire nested listed set into a text field of a > wikify widget. Then render and enlist the output. Sometimes there are > additional complications if your output tiddlers (tasks) have spaces in > them.

[tw5] Re: Count[], sum[] etc. in nested lists?

2021-09-13 Thread Eric Shulman
On Monday, September 13, 2021 at 6:51:14 AM UTC-7 cj.v...@gmail.com wrote: > Aside: we could merge the two <$list> filters together That wouldn't work in this case, as the inner filter uses `{!!frequency}`, which depends upon the outer filter to set the `currentTiddler` value to each tiddler

[tw5] Re: shortcut to open the control panel

2021-09-12 Thread Eric Shulman
https://tiddlywiki.com/#WidgetMessage%3A%20tm-navigate On Sunday, September 12, 2021 at 5:52:49 AM UTC-7 imleg...@gmail.com wrote: > I know it is a stupid question, I check the keyboard shortcut not found > the related command. > I try to edit my own shortcut by using message > https://tiddlywi

  1   2   3   4   5   6   7   8   9   10   >