[tw] Re: [TW5] Code style with plugin development by example

2016-01-11 Thread BJ
Hi Devin, my plugin modules end up like this: ( function ( module , exports , console , setInterval , clearInterval , setTimeout , clearTimeout , Buffer , $tw , require ) { ( function ( ) { /*\ title: $:/core/modules/parsers/wikiparser/abstractwikiparser.js type:

Re: [tw] Re: Name formatting using caption field

2016-01-11 Thread David Allen
I was wondering about the order in which those kinds of things are run. For example, are widgets evaluated before or after macro calls? I'm trying to figure this out so I know what I can use where and in what order TiddlyWiki will evaluate them.

Re: [tw] Escape characters in setvars

2016-01-11 Thread David Allen
Never mind, figured out a work around. I did _dq='"' (that's one double quote in two single quotes) and used that where I needed double quotes in the variables. This email has been sent from a

[tw] TWC: Sending a tiddler to pdf directly?

2016-01-11 Thread Shankar
Is there a way to send a tiddler pdf directly. Here is the problem I am trying to solve: I have a dynamically created table with each cell displaying a JPG file. The table itself is created by a JavaScript in real time and rendered as a tiddler. Right now, to accomplish what I need, I

[tw] Random ordering of tiddlers

2016-01-11 Thread David Allen
Is there a way to take a selection of tiddlers and shuffle them so they appear to be in a random order? -- 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

[tw] Escape characters in setvars

2016-01-11 Thread David Allen
So I have a frustrating situation where I'm trying to make a variable using setvars but said variable, to work correctly, requires both single and double quotes to be contained in the variable. Is there some way I can escape some of the contained quotation marks to get this working? -- You

[tw] Sorting a list of tiddlers by the output of a macro contained in a field

2016-01-11 Thread David Allen
...let me try to make sense of that. I have some character tiddlers with a caption field. Said caption field contains a macro call that returns the characters name, albeit rearranged. I'd like to sort a list of character tiddlers by the rearranged name, a.k.a. the caption field *after* the

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

2016-01-11 Thread Mat
@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

Re: [tw] Re: Name formatting using caption field

2016-01-11 Thread Tobias Beer
Hi David, > Out of curiosity, in what order are macros, text references, widgets, etc > used? > How do you mean "used"? Used where? One thing's for sure, you *cannot* have a widget be an attribute to a widget. So, you can have macros be an attribute to a widget, but you *cannot* have a

[tw] [TW5] My first video lesson about tiddlywiki shop (in Russian)

2016-01-11 Thread Siniy-Kit
Hi! On this holidays I put to YouTube my first lesson https://youtu.be/ZG4RqI12Ym0 On the example of goods categories I explain how to use *tags*. And how to use *fields* to add goods properties. At the end of the lesson I show how to make a little shop and put it to free hosting. This

[tw] Re: Sorting a list of tiddlers by the output of a macro contained in a field

2016-01-11 Thread Tobias Beer
Hi David, > ...let me try to make sense of that. I have some character tiddlers with > a caption field. Said caption field contains a macro call that returns the > characters name, albeit rearranged. I'd like to sort a list of character > tiddlers by the rearranged name, a.k.a. the caption

Re: [tw] Re: My 'perfect.system' just got much more perfecter-ish

2016-01-11 Thread Scott Simmons (Secret-HQ)
On Sunday, January 10, 2016 at 9:56:59 AM UTC-5, David Gifford wrote: > The projects I suppose could have been placed in the outer folder, but it > made sense to me to keep them conceptually distinct. Projects are big TWs > for my classes with everything I have on, say, the Gospel of Luke,

Re: [tw] Re: Name formatting using caption field

2016-01-11 Thread Tobias Beer
Hi David, I was wondering about the order in which those kinds of things are run. > For example, are widgets evaluated before or after macro calls? I'm trying > to figure this out so I know what I can use where and in what order > TiddlyWiki will evaluate them. > It all depends on how your

Re: [tw] Re: OneNote replacement method experiment

2016-01-11 Thread Scott Simmons (Secret-HQ)
This is terrific, Dave! Over the years, I've often found you using a similar organization scheme to me with regard to some topic or other and promptly stolen ideas from you. I rarely go as far down the rabbit hole (mostly, I suspect, because I chase my own hares down different paths), but

[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-11 Thread Scott Simmons (Secret-HQ)
H. Any thoughts on the various advantages/disadvantages of using <$action-listops> vs. <$fieldmangler> and <$action-sendmessage>? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from

Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-11 Thread Tobias Beer
Hi Matabele, Nice tip, here's a slightly pimped up version: \define qualifyState() < <$vars state=<>> <$checkbox tiddler=<> field="text" checked="edit" unchecked="" class= "check-edit">{{$:/core/images/edit-button}} <$link><$view field= "title"/> <$reveal state=<> type="match" text="edit">

Re: [tw] Escape characters in setvars

2016-01-11 Thread Tobias Beer
Hi David, Would you mind posting an example to play around with? > > 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

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

2016-01-11 Thread Tobias Beer
Hi Mat, > Why is this a problem? > Because it will suggest you actually made edits to it, and you really didn't. You simply wanted to use the ui, rather than change something about the tiddler. > Whichever tiddler that stores it will be modified, no? (...or are perhaps > tiddlers

[tw] Re: Random ordering of tiddlers

2016-01-11 Thread Tobias Beer
Hi David, > Is there a way to take a selection of tiddlers and shuffle them so they > appear to be in a random order? > Take a look at tobibeer/random : http://tobibeer.github.io/tw5-plugins/#random Best wishes, Tobias. -- You received this

[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-11 Thread Scott Simmons (Secret-HQ)
On Monday, January 11, 2016 at 1:57:49 PM UTC-5, Eric Shulman wrote: > > Just FYI, I tried using <$action-sendmessage> with tm-add-tag and >> tm-remove-tag, to no avail. Clearly I'm misunderstanding/misusing that >> widget ... >> > > Wrap your button inside a <$fieldmangler> This will

[tw] Re: TWC: Sending a tiddler to pdf directly?

2016-01-11 Thread Shankar
I reached over to here too fast :-( A more elaborate Internet search revealed: window.print() command which is more or less what I wanted. Thanks. Cheers; 'best, shankar On Monday, January 11, 2016 at 2:48:29 PM UTC-8, Shankar wrote: > > > > Is there a way to send a tiddler pdf directly.

Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-11 Thread Matabele
Hi Tobias Nice -- I have a couple of applications for this version. regards On Tuesday, 12 January 2016 08:57:08 UTC+2, Tobias Beer wrote: > > Hi Matabele, > > Nice tip, here's a slightly pimped up version: > -- You received this message because you are subscribed to the Google Groups

[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-11 Thread Matabele
Hi Scott Before the introduction of the ActionListops widget in v5.1.10 -- the only option to add or remove a tag using a button were the 'tm-add-tag' and 'tm-remove-tag' messages in conjunction with an enclosing FieldMangler widget (unless it were permissible to overwrite the 'tags' field

[tw] Re: How to save TiddlyWiki remotely ...

2016-01-11 Thread Shay Shaked
I use tiddlywiki remotely by logging into my computer at home on remote desktop. This is not too hard to do if you have access to your router to open the right ports. Chrome Remote Desktop allows you to do that over your browser which bypasses the port forwarding issue. Keep in mind that in

[tw] Re: [TW5] My first video lesson about tiddlywiki shop (in Russian)

2016-01-11 Thread Mat
Video - very generous of you Siniy-Kit! One can get automatic real-time subtitles in (e.g) English by: First clicking the little [CC] button to turn subtitles on. Then the cog wheel and select language. I am really tempted to put up a TW shop like yours but I fear it will be very challenging

[tw] Re: [TW5] My first video lesson about tiddlywiki shop (in Russian)

2016-01-11 Thread Siniy-Kit
subtitleson YouTube work very bad. I have a text version of the lesson here . понедельник, 11

[tw] Re: How to save TiddlyWiki remotely ...

2016-01-11 Thread Tobias Beer
Guys, this thread is from 2005! Just saying. 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

[tw] Re: TW 2.8.1 - Getting error 800a025e

2016-01-11 Thread Marc J. Cawood
I was getting the same error whilst using TW Classic as an HTA. Solution: Run it in compatability mode by adding the following line just after in your TW file: -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and

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

2016-01-11 Thread Tobias Beer
Hi Mat, Ok, the CSS way... > This solution is not good in more than one way. 1. For one, the class should be unique in your wiki. 2. Then, storing state at the tiddler just to toggle something is really bad. - Every time you click, your tiddler will be modified. 3. I'm sure

[tw] Re: [TW5] Static pages/website

2016-01-11 Thread Mat
I'm definitely not qualified to answer but, still, I'm pretty sure "it depends on what you want". Perhaps you can direct us to your current on or something comparable to what you are aiming for? <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[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

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

[tw] Re: [TW5] Static pages/website

2016-01-11 Thread Devin Weaver
On Monday, January 11, 2016 at 12:04:21 PM UTC-5, Jon wrote: > > Thanks for the replies guys. Mat, it would just be 2 or 3 pages of text > and images for information. There wouldn't be anything fancy or > interactive. > For a use case this small your better off using static pages. I would

Re: [tw] [TiddlyDesktop] TWC & TW5 Open at the Same Time Causing a Slowdown?

2016-01-11 Thread Scott Simmons (Secret-HQ)
Not sure if these will help, but I grabbed a couple of screenshots from Process Explorer showing the thread that's using the most memory when the slowdown occurs. This time, I happened to remember I'd only run a single TiddlyWiki Classic in TiddlyDesktop. (No funny stuff therein. It's a

Re: [tw] Re: [TW5] Static pages/website

2016-01-11 Thread Alex Hough
Jon, I can imagine a scenario where a TW could put the relevant bits of code into a static html page. But you could always add them manually. I don't know much about SEO, but I am lead to believe that its all about keywords and links to relevant pages: you can do this on a TW, the static page

[tw] Re: [TW5] Static pages/website

2016-01-11 Thread Jon
Thanks for the replies guys. Mat, it would just be 2 or 3 pages of text and images for information. There wouldn't be anything fancy or interactive. Jon On Monday, 11 January 2016 16:16:43 UTC, Mat wrote: > > I'm definitely not qualified to answer but, still, I'm pretty sure "it > depends on

[tw] Re: [TW5] Static pages/website

2016-01-11 Thread Jon
Hi Devin, Do you mean not using TW5? Thanks, Jon. On Monday, 11 January 2016 17:09:10 UTC, Devin Weaver wrote: > > On Monday, January 11, 2016 at 12:04:21 PM UTC-5, Jon wrote: >> >> Thanks for the replies guys. Mat, it would just be 2 or 3 pages of text >> and images for information. There

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

2016-01-11 Thread Mat
Tobias, that's valuable input, thanks! Just to make sure I understand; For one, the class should be unique in your wiki. > Because the buttons are unique, right? >1. Then, storing state at the tiddler just to toggle something is >really bad. >- Every time you click, your tiddler

Re: [tw] Re: [TW5] Static pages/website

2016-01-11 Thread Jon
Thanks for the replies guys. Mat - it would just be 2 or 3 pages of text and some images - nothing fancy or interactive. Jon On Monday, 11 January 2016 16:25:11 UTC, AlexHough wrote: > > Jon, > > I can imagine a scenario where a TW could put the relevant bits of code > into a static html page.

Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-11 Thread Matabele
Hi Another simple mechanism to get a sticky popup for editing (the second reveal widget isn't necessary): <$checkbox field="state" checked="edit" unchecked="hide"/> <$reveal state="!!state" type="match" text="edit"> <$edit-text tiddler="target" field="text"/> <$reveal state="!!state"

[tw] [TW5] Static pages/website

2016-01-11 Thread Jon
Hi, I need to create a small business website for myself. I did one a few years ago and learning CSS etc from scratch in order to do it nearly killed me. I now need to replace this website and was wondering if there would be any advantage in doing it in TW5 as static pages (although I don't

[tw] Re: v5.1.10 : Checkbox to add contents below river not working

2016-01-11 Thread PMario
On Sunday, January 10, 2016 at 6:59:21 PM UTC+1, Tobias Beer wrote: > > This is a known behaviour, with a won't fix tag. > > Can you point to an issue that sais so? > To me, leading or trailing spaces are or should > not be allowed for titles... including tags. > see: Tiddler title handling

Re: [tw] Re: v5.1.10 : Checkbox to add contents below river not working

2016-01-11 Thread Alex Hough
@mario! i'd have never spotted it best wishes Alex On 10 January 2016 at 17:59, Tobias Beer wrote: > Hi Mario, > > >> It works, if you remove the trailing space. >> > > Did you actually try clicking the checkboxes in the topleftbar or > toprightbar? > > >> <$checkbox

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

2016-01-11 Thread Eric Shulman
On Monday, January 11, 2016 at 9:02:09 AM UTC-8, cmari wrote: > > @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

[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-11 Thread Eric Shulman
On Monday, January 11, 2016 at 10:51:21 AM UTC-8, Scott Simmons (Secret-HQ) wrote: > > Thanks, Matabele! That *does* the trick in TiddlyWiki 5.1.10, all right! > In 5.1.9 (where I'd been playing around with this), it looks like the > <$action-listops> macro isn't part of the core. > Yup.

[tw] Re: v5.1.10 : Checkbox to add contents below river not working

2016-01-11 Thread Tobias Beer
Hi Mario, > see: Tiddler title handling should trim whitespace -- > https://github.com/Jermolene/TiddlyWiki5/issues/751 > > There may be others too, but I can't find them. > I've read issue 751 before and couldn't help but spot Jeremy's

[tw] Re: [TW5] Writing to Two Separate Fields with Checkbox Input

2016-01-11 Thread Scott Simmons (Secret-HQ)
On Monday, January 11, 2016 at 2:02:30 AM UTC-5, Matabele wrote: I think something like this will do the trick: > > <$reveal type="match" state="!!fake" text="nope"> > <$button set="!!fake" setTo="yep" class="tc-btn-invisible"> > <$action-setfield checkedtime=<> /> > <$action-listops $tags="[[tag

Re: [tw] Re: v5.1.10 : Checkbox to add contents below river not working

2016-01-11 Thread Alex Hough
Hi Mario, Tobias, Jermery: "If we trim spaces from the start and end of strings then we're teaching users that spaces don't matter. But in fact there are intentionally many places where spaces do matter [1]" For me, while infuriating, I will probably keep a more keen eye out for these type of