[tw5] Need help getting a button to function

2022-05-05 Thread Robert Payne
Hi All, I have added an Open All button to the Page Toolbar with a message attribute equal to tm-open-all-tiddlers. Now, I need help getting the button to actually work. What I want to do when the button is clicked is go through all of the Default Tiddlers and add them to the Story River.

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

2021-10-27 Thread vpl
Hi guys, I need a bit of help to understand how to access getTiddler method from a javascript library When I develop *macro* (module-type) I use this.wiki. filterTiddlers (...) methods and all works fine when I invoke this macro from a tiddler script But I would like to develop a

Re: [tw5] Need help getting rid of iframe

2021-03-02 Thread Robert Payne
Matt, it does not make it possible to view files that are separate from the TW file. On Monday, March 1, 2021 at 4:41:37 PM UTC-5 Mat wrote: > Robert, would this by any chance make it possible to view files that are > separate from the TW file, and have the seen content *interact *with the >

Re: [tw5] Need help getting rid of iframe

2021-03-01 Thread Mat
Robert, would this by any chance make it possible to view files that are separate from the TW file, and have the seen content *interact *with the surrounding TW? For example, to view a text file that has the text "foo [[bar]] baz" and the [[bar]] is a working link to the bar tiddler? (As you

Re: [tw5] Need help getting rid of iframe

2021-03-01 Thread Robert Payne
Hi All, I solved the whole thing by borrowing code from the VisualEditor plugin that added the x-htmlp custom content type. The user is able to add content using the summernote editor, another visual editor for which I made a plugin. After the user saves the tiddler, the content renders

Re: [tw5] Need help getting rid of iframe

2021-02-27 Thread Eric Shulman
On Saturday, February 27, 2021 at 7:25:58 PM UTC-8 rpayn...@gmail.com wrote: > My client wants to be able to create/edit content using only the editor > for text/html. He finds switching the content type to “text/vnd.tiddlywiki” > before saving a tiddler too burdensome. > When

Re: [tw5] Need help getting rid of iframe

2021-02-27 Thread strikke...@gmail.com
I might be totally out in the woods here, but I remember that http://bjtools.tiddlyspot.com/ experimented with formats for the VisualEditor. The format named: text/x-perimental and the description: html with TW markup. Birthe søndag den 28. februar 2021 kl. 04.25.58 UTC+1 skrev

Re: [tw5] Need help getting rid of iframe

2021-02-27 Thread Robert Payne
Hi All, Jeremy, you are exactly right. I want to remove the iframe used to display tiddlers with the type "text/html". My client wants to be able to create/edit content using only the editor for text/html. He finds switching the content type to “text/vnd.tiddlywiki” before saving a tiddler

Re: [tw5] Need help getting rid of iframe

2021-02-27 Thread Jeremy Ruston
Hi Robert, pmario I think Robert is talking about the iframe that is used to display tiddlers with the type “text/html”. The reason is that “text/html” is the content type of an entire HTML document, and the only way to reliably display an entire HTML document is an iframe. If your text is in

[tw5] Need help getting rid of iframe

2021-02-26 Thread Robert Payne
Can someone tell me what needs to be done to make text/html content render in the tiddler body, rather than rending using an iframe? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from

[tw5] Need help (yet again) with filter {match}

2020-05-26 Thread Tony K
relevant portion of the code below <$vars lastEntry="""{{{ [split[]!is[blank]last[]] }}}"""> <$list filter="[split[]!is[blank]]" variable="entry"> <> <$text text=<>/> <$set name=isLast filter="[match]" value="true" emptyValue="false">

[tw5] Need help tweaking 'export as static', so the font is added after

2019-04-15 Thread David Gifford
Hi all I would like to save myself steps when I export tiddlers to static. I would like the export process to automatically insert the Google fonts code after the . https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,700; rel="stylesheet">

[tw5] Need help testing new Documentation Tiddlers

2019-02-14 Thread S. S.
Although this post should ideally be in the tiddlywikidev Google Group, please indulge me to intrude here, as this group is more active. On TiddlyWiki's Github page, I have made pull request #3767

[tw5] need help

2019-01-30 Thread Lilian Cipciriuc
Sorry if offtopic Haven't been using tiddlywiki for long and have restarted several days ago. Unfortunately i am having troubles saving the embpy.html file The save function is not saving the file... every time when opening the closed file it is empty again and has nothing inside from the work

[tw5] need help with regex filter

2018-10-30 Thread Dave
Hi, I want to create a sort of "agenda" system by listing tiddlers that have the text ";;2018-10-30" or similar in them. This kind of works: <$set name="digit-pattern" value=";;[0-9]{4}-[0-9]{2}-[0-9]{2}"> <]">> It lists out the tiddlers by title as links What I can't figure out is how

Re: [tw] Re: [TW5] Need help writing better macro

2016-04-21 Thread infurnoape
t Samsung Galaxy S® 5 Original message From: PMario <pmari...@gmail.com> Date: 4/20/16 8:30 AM (GMT-07:00) To: TiddlyWiki <tiddlywiki@googlegroups.com> Subject: Re: [tw] Re: [TW5] Need help writing better macro On Wednesday, April 20, 2016 at 2:31:39 PM UTC+2,

Re: [tw] Re: [TW5] Need help writing better macro

2016-04-20 Thread PMario
On Wednesday, April 20, 2016 at 2:31:39 PM UTC+2, Andrew wrote: > > You are right, I really went at this from the wrong angle. Ok, so I would > like to have slider or toggle buttons that when clicked, they reveal some > text. The problem is that in order to be able to reset all of them with a >

RE: [tw] Re: [TW5] Need help writing better macro

2016-04-20 Thread infurnoape
results from within another macro. Not possible right? Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5 Original message From: PMario <pmari...@gmail.com> Date: 4/19/16 11:41 PM (GMT-07:00) To: TiddlyWiki <tiddlywiki@googlegroups.com> Subject: [tw] Re: [TW

[tw] Re: [TW5] Need help writing better macro

2016-04-20 Thread PMario
Hi Andrew, It would be easier, if you describe, what you want to achieve, instead of posting some code and let us reverse engineer it, to find out (guess) what you want. Also if I copy paste the code to tiddlywiki.com it doesn't do anything. -mario -- You received this message because

[tw] [TW5] Need help writing better macro

2016-04-19 Thread infurnoape
I've got the following but it is getting long. Any suggestions to condense this?define reveal-tagpill1a() $:/temp/$(currentTiddler)$!!TagPill1a define reveal-tagpill2a() $:/temp/$(currentTiddler)$!!TagPill1a define reveal-tagpill3a() $:/temp/$(currentTiddler)$!!TagPill1a define

[tw] Re: [TW5] Need help with TW5-script

2016-03-29 Thread Knut Franke
On Saturday, March 26, 2016 at 12:10:03 AM UTC+1, Mark S. wrote: > > I'm still very confused about all this. If all that a macro does is > substitution, how does it help to put everything inside of the macro? > You're not alone. As Eric pointed out, you basically use macros to trigger some

[tw] Re: [TW5] Need help with TW5-script

2016-03-25 Thread Eric Shulman
On Friday, March 25, 2016 at 4:10:03 PM UTC-7, Mark S. wrote: > > Hi Eric, > > That seems to be the final tweak. I put the triple quotes in (not BJ) > before I realized that the name/argument were mismatched. I fixed the > mismatch, but should have removed the quotes. > > I'm still very confused

[tw] Re: [TW5] Need help with TW5-script

2016-03-25 Thread 'Mark S.' via TiddlyWiki
Hi Eric, That seems to be the final tweak. I put the triple quotes in (not BJ) before I realized that the name/argument were mismatched. I fixed the mismatch, but should have removed the quotes. I'm still very confused about all this. If all that a macro does is substitution, how does it

[tw] Re: [TW5] Need help with TW5-script

2016-03-25 Thread Eric Shulman
On Friday, March 25, 2016 at 2:53:48 PM UTC-7, Mark S. wrote: > > <$macrocall $name="amacro" x="""{{$:/html2tw/title}}"""/> > > Maybe some other tweak? > should be: <$macrocall $name="amacro" x={{$:/html2tw/title}}/> e.g., remove the tripled-quotes so that the parameter retrieves the value

[tw] Re: [TW5] Need help with TW5-script

2016-03-25 Thread Mat
Could be more problems but one is it should probably read: <$set name="name_of_tiddler" value="$x$"> i.e with quotes around $x$. Maybe even """$x$""". <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw] Re: [TW5] Need help with TW5-script

2016-03-25 Thread 'Mark S.' via TiddlyWiki
Thanks BJ. I had great hopes for this approach. But in this case, <> is empty and doesn't even show up when dropped in ... as shown below. I had to tweak your suggested code to match up parameter and argument names. I put the label THIS IS EMPTY to show where there's no contents at all being

[tw] Re: [TW5] Need help with TW5-script

2016-03-25 Thread BJ
Hi mark, this is a typical tw5 2'gotcha' <$set name="text2convert" value=<> > the macro only does basic text substitution. You need to use this pattern <$set name="text2convert" value={{$x$}} > and so must put your code inside a macro \define amacro(x) <$set name="name_of_tiddler"

[tw] Re: [TW5] Need help with TW5-script

2016-03-25 Thread 'Mark S.' via TiddlyWiki
Hi Jed, I've tried this in all sorts of iterations. I was hoping that wrapping a macro in a macro could finally force it to acknowledge the actual text in the dereferenced name tiddler. Your variation put this into the "converted" tiddler: *{{TitleIUsedInTheForm}}* So the literal string with

[tw] Re: [TW5] Need help with TW5-script

2016-03-25 Thread Jed Carty
It is probably the <$set name="text2convert" value=<> > line that does it. Why don't you just use one macro instead of creating a macro that just calls a second macro? Make textin: \define textin() {{$(name_of_tiddler)$}} and use that as the value for text2convert instead of textin2 --

[tw] [TW5] Need help with TW5-script

2016-03-25 Thread 'Mark S.' via TiddlyWiki
I wrote a javascript macro for converting html into TW5 markup. It works fine when I run it on a tiddler with a known name. But when I tried to launch it it from a form, it never gets the text -- even though the macro itself sitting on it's own line will run perfectly. In the form, I collect

[tw] Re: [TW5] Need help constructing my first "subfilter" run. {{DesignWrite}}

2016-02-17 Thread Hegart Dmishiv
Hi Tobias, Y'know, you're absolutely right! Gosh what a n00b I am! I forgot that there is an intervening level of tags between DesignWrite Readings and Hypertext. (2016, January 9)

[tw] Re: [TW5] Need help constructing my first "subfilter" run. {{DesignWrite}}

2016-02-17 Thread Tobias Beer
hi Hegart I have tiddlers tagged with the week number, in this case *Week #01: > January 18 — 24*, and I have tiddlers tagged with a type of activity, > such as *DesignWrite Readings*. In my example, I am trying to find all > tiddlers that contain both of those tags. Here's my filter: > >

[tw] [TW5] Need help constructing my first "subfilter" run. {{DesignWrite}}

2016-02-16 Thread Hegart Dmishiv
Tzag everyone, I've been reading through the TW5 docs and trying to work out how to implement a secondary filter run, or a "subfilter". The docs say that if I prefix my subfilter run with a plus (+) symbol, then the subfilter *"receives the

[tw] Re: TW5 Need help with macro and transclusion as parameter

2015-06-08 Thread Ezequiel Malamud
Ok, I found a workaround that solves my problem. I made the argument to be a list of tiddler titles and parsed them inside the PlotData function. Here is (finally) a MRWE (R stands for really). Thanks for your help Mark! -- You received this message because you are subscribed to the Google

[tw] Re: TW5 Need help with macro and transclusion as parameter

2015-06-07 Thread 'Mark S.' via TiddlyWiki
What I've done, and it might not be the best approach, when I've needed to concatenate two transclusions (which is what you're doing) is to call a macro within a macro. *\define myMacro(cat1: cat2:)* *$macrocall $name=helper scat1=$cat1$ scat2=$cat2$ /* *\end* *\define helper(scat1: scat2:)*

[tw] TW5 Need help with macro and transclusion as parameter

2015-06-07 Thread Ezequiel Malamud
Hi all, I'm new using TiddlyWiki file:///media/ezequiel/KINGSTON/TP/EMTW.html#TiddlyWiki and I'm having some trouble to get a macro working using a transclusion output as parameter. None of the following works: *myMacro myParam={{myTiddlerA!!some-field}}{{myTiddlerB!!some-field}}* *myMacro

[tw] Re: TW5 Need help with macro and transclusion as parameter

2015-06-07 Thread Ezequiel Malamud
First of all thanks for your help Mark, I was able use your code and it works exactly as it should, except ( I suspect ) when the macro is defined in Javascript as it is in my case. I made a MWE, exported it as JSON and attached it here. The problem with my naive approach is that if there are

[tw] Re: TW5 Need help with macro and transclusion as parameter

2015-06-07 Thread Ezequiel Malamud
Thanks for your quick reply, unfortunately I couldn't make it work or I didn't understand you. myMacro in the code you supplied only displays the concatenated transclusions {{Value1}} {{Value2}}, how can I use that as the argument of another macro? Also I get an undesired result if the tiddler

[tw] Re: TW5 Need help with macro and transclusion as parameter

2015-06-07 Thread 'Mark S.' via TiddlyWiki
You know, I'm not sure if you can call a parameterized macro from within another macro. But you can call it from within a widget, and you can call a macro as a widget. I put strings around the transclusions. I made a little macro to test the calling called echo. And I simplified the code:

Re: [tw] Re: [TW5] Need help with an experimental TiddlerInfo tiddler

2013-10-23 Thread Jeremy Ruston
Hi Dave This is the pesky inline vs. block behaviour rearing it's head again. The quickest fix would be to add `type=ul` to each of the $list widgets: |tiddlerinfotable|k |''Listed (parent topics):''br$list filter=[is[current]listed[]!is[system]] itemClass=tw-menu-list-item emptyMessage=This

Re: [tw] Re: [TW5] Need help with an experimental TiddlerInfo tiddler

2013-10-23 Thread David Gifford
Thanks Stephan and Jeremy! I ultimately went with Stephan's fix because my ul styles always include double spacing and bullets, and I don't want that for the TiddlerInfo panel. Dave On Wed, Oct 23, 2013 at 2:40 AM, Jeremy Ruston jeremy.rus...@gmail.comwrote: Hi Dave This is the pesky inline

[tw] [TW5] Need help with an experimental TiddlerInfo tiddler

2013-10-22 Thread David Gifford
Hi all, I am experimenting with the TiddlerInfo tiddler at http://giffmex.org/davesexperiment.html. But I need some help. If you open the aforementioned link, then open the information panel for the GettingStarted tiddler, you will see what I am trying to do: replace the tabs in the info

[tw] Re: [TW5] Need help with an experimental TiddlerInfo tiddler

2013-10-22 Thread Stephan Hradek
Does this CSS help? body span.tw-list-frame span.tw-list-element { display:block; } -- 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