[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2013-12-12 Thread Ton Gerner
Hi Stephan, Thanks a lot; that is exactly what I wanted. Never thought of that strange named widget and even if I had thought of it, I could not have done it ;) Thanks again. Cheers, Ton On Wednesday, December 11, 2013 11:34:46 PM UTC+1, Stephan Hradek wrote: Yes… $fieldmangler

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2013-12-12 Thread Stephan Hradek
Am Donnerstag, 12. Dezember 2013 09:46:39 UTC+1 schrieb Ton Gerner: Hi Stephan, Thanks a lot; that is exactly what I wanted. Never thought of that strange named widget and even if I had thought of it, I could not have done it ;) Neither me. I just looked into the tiddlers which set and

RE: [tw] Re: [TW5] Possible to sum fields?

2013-12-12 Thread Andrew Harrison
I don't use spreadsheets, and would have to weed it out so please keep it out of the core or you can include it, just keep it in it's own module so it can be deletable. Sent from my Samsung Epic™ 4G TouchDylan Kinnett dylan.kinn...@gmail.com wrote:But I am not sure whether a spreadsheet

[tw] [TWC] how to display a txt file ?

2013-12-12 Thread julien23
Hi all I have linked the MATLAB file defaultConstants.m to my TW : [defaultConstants.m] !type application !file .\matlab\defaultConstants.m !Link tiddler templateNewFileLink with: {{tiddler.title}} How can I display the defaultConstants.m content with code markup ? {{{ file content

[tw] Re: [TW5] - Is it possible to toggle a tag with a button?

2013-12-12 Thread Ton Gerner
Hi Stephan, Just for the record. I added your code - adapted to my case - to the Style 'wide' tiddler at [1]. Clicking the triangle toggle button accomplishes now the same as the checkbox in the SiteTitle. Now I can simplify my 'toggle sidebar' button in my guide [2]. Thanks again. Cheers,

[tw] Conditionally displaying a ViewTemplate on the presence of a tag

2013-12-12 Thread James Weaver
I would like the contents of a tiddler (e.g. FooTiddler) that is tagged with $:/tags/ViewTemplate to only appear in a tiddler (e.g. BarTiddler) that contains a given tag (e.g. baz-tag). What can I wrap the content of FooTiddler with so that it is displayed only in the condition stated above?

Re: [tw] Re: Adding a field to a subset of tiddlers in a TW5 Wiki

2013-12-12 Thread Jeremy Ruston
You could also do this with the following one-liner in your browser console: $tw.wiki.forEachTiddler(function(title,tiddler){if(tiddler.hasTag(project)tiddler.hasTag(task)){$tw.wiki.addTiddler(new $tw.Tiddler(tiddler,{due: 201312110800}))}}); Then you'd need to save changes. Best wishes Jeremy

Re: [tw] Re: Adding a field to a subset of tiddlers in a TW5 Wiki

2013-12-12 Thread James Weaver
Very cool, Jeremy! Thanks, Jim On Thursday, December 12, 2013 12:14:25 PM UTC-5, Jeremy Ruston wrote: You could also do this with the following one-liner in your browser console:

[tw] Re: [TW5] What is the 'SampleJavaScriptTiddler' good for?

2013-12-12 Thread Michael Herrmann
Wow, great. And it works... Thanks Michael Am Mittwoch, 11. Dezember 2013 23:43:00 UTC+1 schrieb Stephan Hradek: /*\ title: $:/plugins/MichaelHerrmann/experiment.js type: application/javascript module-type: macro experiment \*/ (function(){ /*jslint node: true, browser: true

[tw] [TWC] MTC for slice transclusion - why does this not work?

2013-12-12 Thread Mat
http://mtc-slicetransclusion.tiddlyspace.com/ Trying to transclude slice content, but it only works for slicenames on singleword form, not double words nor [[links]]. The link illustrates the problem. What to do? I tried with WikifyPlugin but this did not solve it. I also tried in TW (ie. non

[tw] Andtidwiki and dropbox

2013-12-12 Thread passingby
I've just installed Andtidwiki on my samsung galaxy s4. From what I understand uptil now AndTidWiki can access TW files lying in its local folder andtidwiki. Is it possible to sync these files via dropbox? If so how? Thanks in advance. -- You received this message because you are subscribed

[tw] [TWC] dead link on tw.com

2013-12-12 Thread Mat
No biggie, but... no elegantie either ;-) http://tiddlywiki.com/#[[Image%20Formatting]] at very bottom there's dead link. -- 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

[tw] Influencing order in which multiple ViewTemplate tiddlers are applied

2013-12-12 Thread James Weaver
I have more than one tiddler tagged with $:/tags/ViewTemplate and would like to influence the order in which they are applied. How can I do this, or is there a better practice? Please advise, Jim -- You received this message because you are subscribed to the Google Groups TiddlyWiki group.

Re: [tw] Influencing order in which multiple ViewTemplate tiddlers are applied

2013-12-12 Thread Jeremy Ruston
Open the $:/tags/ViewTemplate tiddler itself and adjust the 'list' field to put the tiddlers in the order you want. (It's a bit tricky at the moment because the text box is so small; the plan is to have a drag-and-drop editor). Best wishes Jeremy On Thu, Dec 12, 2013 at 10:39 PM, James Weaver

Re: [tw] Influencing order in which multiple ViewTemplate tiddlers are applied

2013-12-12 Thread James Weaver
Nice. Thanks Jeremy. Regards, Jim On Thursday, December 12, 2013 5:46:43 PM UTC-5, Jeremy Ruston wrote: Open the $:/tags/ViewTemplate tiddler itself and adjust the 'list' field to put the tiddlers in the order you want. (It's a bit tricky at the moment because the text box is so small;

[tw] Entering dates in TW5

2013-12-12 Thread James Weaver
I added a start-date field to a tiddler and would like the user to be able to enter a date/time in a DD mmm (or some other human-readable) format. I would also like the user to be able to enter the time in hh:mm format (or 12-hour format if possible). Do provisions exist in TW5 for

[tw] Re: [TWC] MTC for slice transclusion - why does this not work?

2013-12-12 Thread Mat
I might have found the answer at http://tiddlywiki.org/#Slices *A slice name may contain any of the characters a-ZA-Z_0-9.* Appears slices cannot contain spaces. It would be great if it could, and particularly [[links with spaces]], because you can then create tables and refer to items rather

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-12 Thread Zane B Stein
Hi, Mario, It does seem to be working. Here is what I did: 1. Under Options on the right I put Zane as the username 2. I created a tiddler called zzConfig and put the following into it: if (config.txtUserName === Zane) { readOnly = false; config.options.chkShowRightSidebar = true; } else if

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-12 Thread Eric Shulman
There's a typo in the code Mario provided: In all places, config.txtUserName ... should be config.options.txtUserName As written, the conditionals will always fall through to the set readOnly and hide sidebar code, since the value of config.txtUserName is *undefined* and thus will never match

[tw] Re: [TWC] MTC for slice transclusion - why does this not work?

2013-12-12 Thread Eric Shulman
On Thursday, December 12, 2013 5:27:03 PM UTC-8, Mat wrote: I might have found the answer at http://tiddlywiki.org/#Slices *A slice name may contain any of the characters a-ZA-Z_0-9.* Appears slices cannot contain spaces. It would be great if it could, and particularly [[links with

[tw] Re: [TWC] MTC for slice transclusion - why does this not work?

2013-12-12 Thread Eric Shulman
[editor's note: reply re-posted after editing...] On Thursday, December 12, 2013 5:27:03 PM UTC-8, Mat wrote: I might have found the answer at http://tiddlywiki.org/#Slices *A slice name may contain any of the characters a-ZA-Z_0-9.*Appears slices cannot contain spaces. It would be great if

Re: [tw] Re: How can I make my [twc] page read only?

2013-12-12 Thread Zane B Stein
On Fri, Dec 13, 2013 at 1:26 PM, Eric Shulman elsdes...@gmail.com wrote: There's a typo in the code Mario provided: In all places, config.txtUserName ... should be config.options.txtUserName As written, the conditionals will always fall through to the set readOnly and hide sidebar code,