[tw5] Re: Drag field content

2018-07-04 Thread TonyM
Mark, Brilliant, that works as desired to drag and drop field contents to and from tiddler, as requested. I am yet to understand how you have done it. I love the macros naming *dragon* Finally I would like to be able drag and drop the order of items in a list field in the current tiddler. eg

[tw5] Re: Drag field content

2018-07-04 Thread 'Mark S.' via TiddlyWiki
Hi Tony, Here's a first pass at your original request. Make a global macro: \define dragoncopy(copyfield) <$action-setfield $tiddler="$:/fields/$(currentTiddler)$" fieldname= """$copyfield$""" fieldvalue={{!!$copyfield$}}/> \end \define dragonfield(field) <$draggable tiddler="$:/fields/$(current

[tw5] Processing the text field a line at a time

2018-07-04 Thread TonyM
Folks, In part inspired by the Tiddler internal TOC question I was wondering if there is a method to; Process the text field a line at a time? I realise this is in someways possible with datatiddlers, but I am interested i

[tw5] Re: How to create Table of Contents inside a tiddler?

2018-07-04 Thread Mohammad
talha131; The philosophy of tiddler is the smallest meaningful chunk of contents. They are not for lengthy and huge amount of content. If you get this philosophy you wont need to have table of contents from headings instead you will need table of content from tiddlers and it was explained by Jed

[tw5] Re: Is TW markup in caption field a bad practice?

2018-07-04 Thread TonyM
Barro.. Even tiddlywiki itself places icon transclusions in some tiddlers caption field eg: in the edit button caption = {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}} Personally I have created menu-item fields which are transcluded with any wikiText you want, at http://

[tw5] Re: How to create Table of Contents inside a tiddler?

2018-07-04 Thread TonyM
talha131, As jed says, there is no tool to do this, in part because we can reliably place anchors (HTML) in the wiki we can jump to when we select the heading. Perhaps with a view to jumping to that point in a long tiddler. However if this is not your key requirement, perhaps you just want a l

[tw5] Re: Drag field content

2018-07-04 Thread TonyM
Mark, Thanks for this suggestion. The irony is I want to build this "feature" to allow reordering through dragging values in a field, as part of a tool, that allows you to edit-fields in the tiddler view mode, which itself demands this edit-fields from another tiddler approach. I am yet to dev

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread 'Mark S.' via TiddlyWiki
Ok. It appears to work with the server edition. -- Mark On Wednesday, July 4, 2018 at 1:08:56 PM UTC-7, Jed Carty wrote: > > Oh, Bob doesn't work with the tw5.com editions. I think because they have > an includeWiki entry and some part of that doesn't play well with Bob. I > noticed that the o

[tw5] Is TW markup in caption field a bad practice?

2018-07-04 Thread barrowgloom
I did a search but didn't find anything about this. I accidently invoked TW underlining in a caption field for a sidebar tab label. It worked but is it a bad idea or practice? I don't fully know TW's internal working and may not know of all consequences of nonstandard techniques like that.

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread Jed Carty
Oh, Bob doesn't work with the tw5.com editions. I think because they have an includeWiki entry and some part of that doesn't play well with Bob. I noticed that the other day but I haven't had a chance to determine why. -- You received this message because you are subscribed to the Google Groups

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread 'Mark S.' via TiddlyWiki
Had to launch the regular way in order to drag/drop the plugin in. Verified it's in there. Then Launched with tiddlywiki editions/tw5.com-server --wsserver -- Mark Websockets listening on 8081 Serving on 127.0.0.1:8080 (press ctrl-C to exit) syncer-server-WebsocketAdaptor: Dispatching 'sav

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread Jed Carty
I am trying to find anywhere that would have the path Wikis/BobWiki hardcoded and I can't find anything that would use it. The command to start the wiki is the same as the node version but with --wsserver in place of --server like this: node tiddlywiki.js path/to/wiki --wsserver is that what y

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread Jed Carty
If you have a wiki that you have installed the plugin into than it shouldn't need a Wikis/BobWiki directory, it should point to the one you installed the plugin into. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread 'Mark S.' via TiddlyWiki
Just ran a test. Created the plugin for 1.0.3. Exported it. Loaded it into a node running 5.1.18-prerelease. Ran it a couple different ways, but running with -wsserver crashed it. There's a question about how to launch it. If you use a standard node install, then clearly there is no " Wikis/Bo

[tw5] Re: How to create Table of Contents inside a tiddler?

2018-07-04 Thread talha131
Thank you Jed. ​ On Wednesday, July 4, 2018 at 8:52:35 PM UTC+5, Jed Carty wrote: > > Oh, sorry I mis read that. > > TOCs based on heading don't exist in the core and I am not sure if there > are any plugins for it. There has been a lot of discussion around it and it > isn't every going to be

[tw5] Re: How to create Table of Contents inside a tiddler?

2018-07-04 Thread Jed Carty
Oh, sorry I mis read that. TOCs based on heading don't exist in the core and I am not sure if there are any plugins for it. There has been a lot of discussion around it and it isn't every going to be supported in the core and may not be possible to make it in a reasonable way. -- You received

[tw5] Re: How to create Table of Contents inside a tiddler?

2018-07-04 Thread talha131
Jed, to my understanding, the TOC macros use tags. TiddlyWiki provides several macros for generating a tree of tiddler links by analysing tags I want to create TOC for headings inside a tiddler ! Heading 1 Lorem Ispum ! Heading 2 Example text On Wednesday

[tw5] Re: How to turn the Geolocation Script to a macro for Sylvain Naudins Leaflet Plugin?

2018-07-04 Thread SylvainComte
Hello, I'm pretty sure it's not so difficult. Also it may be totally independent from the Leaflet Plugin. Using an enhanced version of your demo script (which doesn't work in Chrome for me, does it?) you could create or update the point field of the tiddler with value lat,long and your tiddler

[tw5] Re: How to create Table of Contents inside a tiddler?

2018-07-04 Thread Jed Carty
There are built-in TOC macros. Documentation is here https://tiddlywiki.com/#Table-of-Contents%20Macros -- 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

[tw5] How to create Table of Contents inside a tiddler?

2018-07-04 Thread talha131
How do I create table of contents from headings inside a Tiddler written in TiddlyWiki markup? For example, markdown has couple of plugins that create TOC from headings, like [Visual Studio code Plugin](https://marketplace.visualstudio.com/items?itemName=joffreykern.markdown-toc). Is there a m

[tw5] Re: single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread @TiddlyTweeter
HC Haase wrote: > > > For this current task I think Noteself and seeing up a server with pouch > is to much hassle compared to just using a networkdrive. > Right. I think its unfortunate that Noteself is currently cumbersome to setup. In many ways it would be spot-on for your need? -- You rec

[tw5] Re: single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread HC Haase
@ Jed Carty: I am trying out the bob single executable but ran into a problem. when creating (and then serving) another wiki the " disabling the edit button" when another user is editing a tiddler is not there. It works in mother wiki, but not in sub-wikis. am I doing something wrong is it how

[tw5] Re: single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread HC Haase
onsdag den 4. juli 2018 kl. 13.42.07 UTC+2 skrev Jed Carty: > > I am hoping to set up Bob so that it can more seemlessly use single file > wikis but I am not sure how long it will take. The goal is to let you put > the singe file wikis in a folder (or just give their paths) and then Bob > woul

[tw5] Re: single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread HC Haase
, > > If you can detail how you want to share and use tiddlywiki we may have > more answers for you. > Sure. I am making a wiki for the it department (that I am a part of) with documetation of stuff. I was thinking to just share the file on a network drive, but then you have trouble more than o

[tw5] Re: how to set field value of tiddler in widget (javascript)

2018-07-04 Thread Jed Carty
Just set it as null or undefined. It is the same as in the action-setfield widget. https://tiddlywiki.com/#ActionSetFieldWidget https://tiddlywiki.com/#DataTiddlers -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group

[tw5] Re: how to set field value of tiddler in widget (javascript)

2018-07-04 Thread p . kerrest
Thank you for the reply. But I dont understand what index is ? On Wednesday, July 4, 2018 at 1:51:05 PM UTC+2, p.ke...@everteam.com wrote: > > Hello, > I want to set field value from javascript function invoked in custom > widget ... > I dont find any slot ... > Any tips ? > Thank you, > Philippe

[tw5] Re: single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread TonyM
HC, If you can detail how you want to share and use tiddlywiki we may have more answers for you. Tony -- 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

[tw5] Re: how to set field value of tiddler in widget (javascript)

2018-07-04 Thread Jed Carty
The function you use is: $tw.wiki.setText(tiddler, field, index, value, options); where tiddler is the tiddler that has the field you want to change, field is the field you want to change, index is the index you want to change, value is the value you want set in that filed and I can never remem

[tw5] how to set field value of tiddler in widget (javascript)

2018-07-04 Thread p . kerrest
Hello, I want to set field value from javascript function invoked in custom widget ... I dont find any slot ... Any tips ? Thank you, Philippe -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving email

[tw5] Re: single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread Jed Carty
I am hoping to set up Bob so that it can more seemlessly use single file wikis but I am not sure how long it will take. The goal is to let you put the singe file wikis in a folder (or just give their paths) and then Bob would create a node wiki from it, then the single file wiki would be update

[tw5] Re: single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread HC Haase
Thank you for your reply So it seems there is no multiuser solution that works with single file tw :..( I always the loved the simplicity of the single file wiki but I guess I have to kill my darling and jump the nodes wagon then. -- You received this message because you are subscribed to th

[tw5] single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread TonyM
HC, As I understand it you can import and save as single file wikis from bob but as sson as its single file you loose multiuser edit functonalty. Tiddlyserver and tiddlydesktop (untested by me) can serve both file and folder based wikis over http but multiuser edits are an issue. There are ple

[tw5] single file wiki with nodes or BOB, is it possible?

2018-07-04 Thread HC Haase
Hi I am setting up a shared wiki at my work and jeds BOB plugin handles the multi user problem a bit better. However I like the simplicity of the one file wiki Is it possible to access a single file wiki with nodes bob or any other method than the the normal browser (or txt editor if you want

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread @TiddlyTweeter
Thank you! J I keep forgetting to make the single executable versions to upload while I > am at work. I will try and remember for tomorrow. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread Jed Carty
TiddlyTweeter, The new update v 1.0.3 lets you set the base paths used for wikis and plugins and they can be different. The plugin version is up but I keep forgetting to make the single executable versions to upload while I am at work. I will try and remember for tomorrow. -- You received thi

[tw5] Re: [TW5] Announcing Single Executable version using Bob 1.0.2 Sourdough Biscuits

2018-07-04 Thread @TiddlyTweeter
Dear Jed & Bob Is there a way to define in settings the base directory for the slave wikis? Such that, in "Available Wikis" I can use a path default other than ".Wikis\". I'd really like to be able to use... ..\..\pages\tw\bob\ ...without having to type it. I couldn't figure out how to do that