[tw] Re: [TW5] Delete tiddler on click/mass delete
Hi Adding to Stephan's code -- put this in a tiddler (called, for example: 'Clean'): table trthFilter /thtd$edit-text tiddler=$:/temp/filter//td/tr /table $list filter={{$:/temp/filter!!text}} $button message=tw-delete-tiddler param={{!!title}} class=btn-invisible btn-mini{{$:/core/images/delete-button}}/$button $link to={{!!title}}{{!!title}}/$link /$list When you wish to review a list of tiddlers: -- open the tiddler 'Clean' -- enter your filter expression (for example [tag[mytag]]) -- click the buttons to review -- click the trash can to delete regards On Saturday, May 10, 2014 9:53:05 PM UTC+2, Joe Bush wrote: Hello all, is there a way to set up a list with a link to delete the tiddler in question? I'm trying to set up a way to delete lots of tiddlers in a specific tag (similar to Stephan's RenameTags tool) so that I can clean out a TW and reuse it without having to reimport a bunch of tiddlers I want to reuse. I'm thinking of something like $link to=delete or something like that, so that I can include it in a list. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Delete tiddler on click/mass delete
Hi P.S. Filters like [tag[mytag]search[mytext]] are more specific and will shorten the list for review. regards On Saturday, May 10, 2014 9:53:05 PM UTC+2, Joe Bush wrote: Hello all, is there a way to set up a list with a link to delete the tiddler in question? I'm trying to set up a way to delete lots of tiddlers in a specific tag (similar to Stephan's RenameTags tool) so that I can clean out a TW and reuse it without having to reimport a bunch of tiddlers I want to reuse. I'm thinking of something like $link to=delete or something like that, so that I can include it in a list. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [tw5] ? Hide topmenu when sidebar is open and related stuff..
Hi Matabele When you say toggle the topmenu so it gets hidden when the sidemenu is open, please explain exactly when the topmenu should be open and when hidden. I don't have an Android to play with, but I seem to remember that TW5 automatically goes into a vertical layout with the sidemenu at the top and the story river below. Do you wish to hide the topmenu in this layout? Exactly.. :-) There would be two different situations where I would prefer that the topmenu was hidden: 1) When the sidebar is visible 2) When the vertical layout is active (also when the sidemenu is hidden) I'm not quite sure about number two - it's just a matter of screen estate - my topmenu content should replace the sidebar menu functions on a laptop - however I don't want it to take over/hover the content of the tiddler which is at the top of the story river on a mobile device.. I'm not sure how this mechanism works and it'll be a little difficult to experiment without being able to view on an Android. Anyone know how the Android layout could be simulated on a laptop? I usually narrow the browser window untill the vertical layout takes over - and it is pretty much what I'll get on my Android phone and tablet. As a matter of interest, what happens with my leftmenu when a TW is opened on an Android? When I open Wills.tiddlyspot.com I can only see the top part of your left menu (on my phone and tablet) and I can't scroll down with it. The right menu goes into the top, however the left menu takes up space on the left hand side of the story river. Had a restless night -- several new ideas for gTaB and gTiD to work on today. Your pioneering work with TW5 is very much appreciated. I'm sure more twc-users and newcomers will try out tw5 because of your excellent work!! Good job! Cheers Måns Mårtensson -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [tw5] ? Hide topmenu when sidebar is open and related stuff..
Hi Mans OK - to get the general idea: 1. Create a new tiddler 2. Name this tiddler $:/_top-left-buttons 3. Put this code into it $list filter=[all[shadows]tag[$:/tags/PageControls]]$transclude//$list 4. Open $:/core/ui/TopBar/menu 5. Put this code into it $fieldmangler tiddler=$:/_top-left-buttons $reveal state=$:/state/sidebar type=nomatch text=no $button message=tw-add-tag param=$:/tags/TopLeftBar set=$:/state/sidebar setTo=no class=btn-invisible{{$:/core/images/menu-button}}/$button /$reveal $reveal state=$:/state/sidebar type=match text=no $button message=tw-remove-tag param=$:/tags/TopLeftBar set=$:/state/sidebar setTo=yes class=btn-invisible{{$:/core/images/menu-button}}/$button /$reveal /$fieldmangler regards On Sunday, May 11, 2014 11:46:07 AM UTC+2, Måns wrote: Hi Matabele When you say toggle the topmenu so it gets hidden when the sidemenu is open, please explain exactly when the topmenu should be open and when hidden. I don't have an Android to play with, but I seem to remember that TW5 automatically goes into a vertical layout with the sidemenu at the top and the story river below. Do you wish to hide the topmenu in this layout? Exactly.. :-) There would be two different situations where I would prefer that the topmenu was hidden: 1) When the sidebar is visible 2) When the vertical layout is active (also when the sidemenu is hidden) I'm not quite sure about number two - it's just a matter of screen estate - my topmenu content should replace the sidebar menu functions on a laptop - however I don't want it to take over/hover the content of the tiddler which is at the top of the story river on a mobile device.. I'm not sure how this mechanism works and it'll be a little difficult to experiment without being able to view on an Android. Anyone know how the Android layout could be simulated on a laptop? I usually narrow the browser window untill the vertical layout takes over - and it is pretty much what I'll get on my Android phone and tablet. As a matter of interest, what happens with my leftmenu when a TW is opened on an Android? When I open Wills.tiddlyspot.com I can only see the top part of your left menu (on my phone and tablet) and I can't scroll down with it. The right menu goes into the top, however the left menu takes up space on the left hand side of the story river. Had a restless night -- several new ideas for gTaB and gTiD to work on today. Your pioneering work with TW5 is very much appreciated. I'm sure more twc-users and newcomers will try out tw5 because of your excellent work!! Good job! Cheers Måns Mårtensson -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Explaining the TW concept
I often find myself struggling to explain the concepts behind TiddlyWiki and why they are a good thing. I sometime try to equate TW to interactive word documents. This analogy doesn't hold up. My Co-Worker said likes linear documents and the hyper linking like wiki doesn't seem correct unless you're editing the document(s) distributed through a server like Wikipedia. I tried to tote on the modular idea of downloading a single page app the is offline. His reply is that you should not download an offline version as it would become out of sync and you would have several wrong versions all over the office each with their own changes and customization. To me that's an advantage. You could download a blessed TW and make your own notes, add content / changes etc. Kind of like reading a kindle book and making your own annotations only with full acess to the original content. How do others explain TiddlyWiki? What are some of the underlying concepts used that make TW stand out. What ways has TiddlyWiki enhanced your workflow, documentation, etc.? -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [tw5] ? Hide topmenu when sidebar is open and related stuff..
Hi Mans Sorry -- that may be a bit confusing. In step 5 -- don't add that code -- overwrite all of the code in $:/core/ui/TopBar/menu. The code is an edited version of the original code -- we don't need two hamburger buttons. regards On Sunday, May 11, 2014 3:33:25 PM UTC+2, Matabele wrote: Hi Mans OK - to get the general idea: 1. Create a new tiddler 2. Name this tiddler $:/_top-left-buttons 3. Put this code into it $list filter=[all[shadows]tag[$:/tags/PageControls]]$transclude//$list 4. Open $:/core/ui/TopBar/menu 5. Put this code into it $fieldmangler tiddler=$:/_top-left-buttons $reveal state=$:/state/sidebar type=nomatch text=no $button message=tw-add-tag param=$:/tags/TopLeftBar set=$:/state/sidebar setTo=no class=btn-invisible{{$:/core/images/menu-button}}/$button /$reveal $reveal state=$:/state/sidebar type=match text=no $button message=tw-remove-tag param=$:/tags/TopLeftBar set=$:/state/sidebar setTo=yes class=btn-invisible{{$:/core/images/menu-button}}/$button /$reveal /$fieldmangler regards -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] [TW5] Guidence for writing a plugin
Many times I have the following thought process and I don't know how to bridge the gap from source code to TW5 plugin. I'll have a neat HTML/CSS/JS snippit working in jsbin.com or jsfiddle.net and wish to add it to a TiddlyWiki document. Because it is multi format (HTML, CSS, JS, maybe a data URI based image) this presents some complication making it a one off plugin. Here is an example use case and workflow I'm in now: I wrote an interactive map using canvas. It draws lines on the map. The map is a JPEG image that the JS reads via a data URI and draws it to the canvas. A table has click events attached to the cells to make the JS code draw arrows on the canvas. This all has four distinct files. So I thought this would be a great tiddler to add to a TiddlyWiki that I could have other documentation tiddler etc. Perfect for a one off documentation document I could pass around the office. Thing is, there is very little info on plugin writing for TW5. I realized that adding it to an empty TW was painful as the entire plugin needs to be packaged into a JSON object. So I had to start with tiddlywiki --init empty and start writing in a plugins folder. This handled the packaging but left me lost as what and where to place the pieces. And then how to integrate them into the TW system. At first I thought this could be a single tiddler but then I started to wonder if it should be a widget or maybe a macro. Not sure. Is there any guidance for writing plugins and the style / organization / conventions one should use? What exports are the plugins supposed to expose and how do you reference data like images to be read and managed via JavaScript (data URI possibly)? Any help pointing me into the right direction would be very appreciated. I'll happily take notes and maybe gather enough to write some tutorials. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 - Make it read only permanently
I'm curious if you download a document for offline viewing why do you require readonly? I mean if the user who downloads the document changes it then what would it matter. Maybe they wasn't to add personal notes or add house rules. Why should they be prevented to do so? The changes are local to them and do not affect the master version you own. And if they totally bugger it up then they can easily re download it. If they want to upgrade then can import a newer tiddler into their modified one and it should overwrite the unmodified ones. I guess the real question is what does read only gain you? On Monday, December 30, 2013 12:02:12 PM UTC-5, NODEGAMRA wrote: Hi to all... I am loving TW5, I am a new user and I would like for some one to point me in the right direction. I am a board gamer and I am putting together a FAQs for some of the games I play. Mi goal is to be able to distribute the FAQs to the gaming community as a read only file, for offline viewing. Nothing fancy the default snow white theme works great, I want to keep it simple and lightweight. I have my first FAQ ready to go, but... I would like to hide or remove access to the inner workings of TW5. I would also like to hide of remove the sidebar, toolbar and the save, edit and control panel functions. Any help, info or links you guys can provide would be greatly appreciated. Thank you. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: can't save in Firefox (component returned failure code)
If this will be of any use for anyone- yesterday I started using TW5 (first time ever ;) ). In parallel I have installed Tiddlyfox and TiddlyDesktop. The latest versions. I was playing around for a couple of hours- everything was fine. Closed TiddlyDesktop, left firefox running. Came today tried to do modifications in the oppened tab to my Tiddler and got the same error several times, even after restarting the firefox. However as soon as I have opened, edited and saved the same .htm file in TiddlyDesktop, Firefox started saving Tiddly without any error message. Cheers, Oleksandr On Thursday, August 22, 2013 12:18:15 AM UTC+2, Jeremy Ruston wrote: Hi Anne today i run ccleaner and changed the options (auto save, but no backups). at the beginning it worked, but at the third time I opened it - it didn't. But it worked the first two times you opened the file after running ccleaner? I have some firefox extensions, but i didn't change anything in the last two weeks, but tiddly weeks stopped saving with no reason. thanks a lot for your help!!! Baffling - hopefully another user can confirm that Firefox 23 + TiddlyFox1.0alpha18 + Windows 7 is working for them? Best wishes Jeremy best, anne Am Montag, 19. August 2013 16:05:52 UTC+2 schrieb Jeremy Ruston: Hi Anne Did it used to work, and then stop working? Or has it never worked for you? Do things work for you if you try to save with a new empty TiddlyWiki file from tiddlywiki.com? It may also be worth checking if you've got other Firefox extensions that might be interfering with the saving process. Best wishes Jeremy On Mon, Aug 19, 2013 at 8:55 AM, apie...@googlemail.com wrote: is there anyone who has the same problem - don't know what to change... Am Mittwoch, 14. August 2013 20:59:20 UTC+2 schrieb apie...@googlemail.com: Well, the wiki is in my local dropbox folder, which i use at home and on my work pc. The folder is synchronized via the internet. Thanks a lot for your help, Anne Am Mittwoch, 14. August 2013 10:05:40 UTC+2 schrieb apie...@googlemail.com: Hi, if I try to save the wiki, a window pops up: [Exception... Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath] nsresult: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) location: JS frame :: chrome://tiddlyfox/content/overlay.js :: TiddlyFox.saveFile :: line 94 data: no] Firefox-Version: 23 tiddlyfoxextension alpha18 Windows 7 saved in Dropbox has anybody any ideas - i am not a huge expert in it-things, maybe s.th. easy just has to be changed? in advance thanks for your help! anne -- 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+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: can't save in Firefox (component returned failure code)
Hi Oleksandr Thanks for the report. I'll be issuing a new version of TiddlyFox soon but I don't yet have a diagnosis or fix for this problem. Best wishes Jeremy On Sun, May 11, 2014 at 3:46 PM, Oleksandr Ivasenko oleksandr.ivase...@gmail.com wrote: If this will be of any use for anyone- yesterday I started using TW5 (first time ever ;) ). In parallel I have installed Tiddlyfox and TiddlyDesktop. The latest versions. I was playing around for a couple of hours- everything was fine. Closed TiddlyDesktop, left firefox running. Came today tried to do modifications in the oppened tab to my Tiddler and got the same error several times, even after restarting the firefox. However as soon as I have opened, edited and saved the same .htm file in TiddlyDesktop, Firefox started saving Tiddly without any error message. Cheers, Oleksandr On Thursday, August 22, 2013 12:18:15 AM UTC+2, Jeremy Ruston wrote: Hi Anne today i run ccleaner and changed the options (auto save, but no backups). at the beginning it worked, but at the third time I opened it - it didn't. But it worked the first two times you opened the file after running ccleaner? I have some firefox extensions, but i didn't change anything in the last two weeks, but tiddly weeks stopped saving with no reason. thanks a lot for your help!!! Baffling - hopefully another user can confirm that Firefox 23 + TiddlyFox1.0alpha18 + Windows 7 is working for them? Best wishes Jeremy best, anne Am Montag, 19. August 2013 16:05:52 UTC+2 schrieb Jeremy Ruston: Hi Anne Did it used to work, and then stop working? Or has it never worked for you? Do things work for you if you try to save with a new empty TiddlyWiki file from tiddlywiki.com? It may also be worth checking if you've got other Firefox extensions that might be interfering with the saving process. Best wishes Jeremy On Mon, Aug 19, 2013 at 8:55 AM, apie...@googlemail.com wrote: is there anyone who has the same problem - don't know what to change... Am Mittwoch, 14. August 2013 20:59:20 UTC+2 schrieb apie...@googlemail.com: Well, the wiki is in my local dropbox folder, which i use at home and on my work pc. The folder is synchronized via the internet. Thanks a lot for your help, Anne Am Mittwoch, 14. August 2013 10:05:40 UTC+2 schrieb apie...@googlemail.com: Hi, if I try to save the wiki, a window pops up: [Exception... Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath] nsresult: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) location: JS frame :: chrome://tiddlyfox/content/overlay.js :: TiddlyFox.saveFile :: line 94 data: no] Firefox-Version: 23 tiddlyfoxextension alpha18 Windows 7 saved in Dropbox has anybody any ideas - i am not a huge expert in it-things, maybe s.th. easy just has to be changed? in advance thanks for your help! anne -- 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+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [tw5] ? Hide topmenu when sidebar is open and related stuff..
Hi Matabele Very very nice :-) Thanks a lot!! I think I will get used to this kind of behaviour (the top-left buttons showing up when the sidebar menu is hidden!!) To me it seems to be a very logic and natural behaviour... Thanks again - for looking into this and showing me/us how to do this kind of thing. Cheers Måns Mårtensson Den søndag den 11. maj 2014 15.52.10 UTC+2 skrev Matabele: Hi Mans Sorry -- that may be a bit confusing. In step 5 -- don't add that code -- overwrite all of the code in $:/core/ui/TopBar/menu. The code is an edited version of the original code -- we don't need two hamburger buttons. regards On Sunday, May 11, 2014 3:33:25 PM UTC+2, Matabele wrote: Hi Mans OK - to get the general idea: 1. Create a new tiddler 2. Name this tiddler $:/_top-left-buttons 3. Put this code into it $list filter=[all[shadows]tag[$:/tags/PageControls]]$transclude//$list 4. Open $:/core/ui/TopBar/menu 5. Put this code into it $fieldmangler tiddler=$:/_top-left-buttons $reveal state=$:/state/sidebar type=nomatch text=no $button message=tw-add-tag param=$:/tags/TopLeftBar set=$:/state/sidebar setTo=no class=btn-invisible{{$:/core/images/menu-button}}/$button /$reveal $reveal state=$:/state/sidebar type=match text=no $button message=tw-remove-tag param=$:/tags/TopLeftBar set=$:/state/sidebar setTo=yes class=btn-invisible{{$:/core/images/menu-button}}/$button /$reveal /$fieldmangler regards -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [tw5] ? Hide topmenu when sidebar is open and related stuff..
Aah forgot to tell that @Birthe C showed me how to get at a mobile view tab with an indexed list of customized tag buttons into the sidebar menu: http://genrekogebogen.tiddlyspot.com/ Cheers Måns Mårtensson Den søndag den 11. maj 2014 21.12.35 UTC+2 skrev Måns: Hi Matabele Very very nice :-) Thanks a lot!! I think I will get used to this kind of behaviour (the top-left buttons showing up when the sidebar menu is hidden!!) To me it seems to be a very logic and natural behaviour... Thanks again - for looking into this and showing me/us how to do this kind of thing. Cheers Måns Mårtensson Den søndag den 11. maj 2014 15.52.10 UTC+2 skrev Matabele: Hi Mans Sorry -- that may be a bit confusing. In step 5 -- don't add that code -- overwrite all of the code in $:/core/ui/TopBar/menu. The code is an edited version of the original code -- we don't need two hamburger buttons. regards On Sunday, May 11, 2014 3:33:25 PM UTC+2, Matabele wrote: Hi Mans OK - to get the general idea: 1. Create a new tiddler 2. Name this tiddler $:/_top-left-buttons 3. Put this code into it $list filter=[all[shadows]tag[$:/tags/PageControls]]$transclude//$list 4. Open $:/core/ui/TopBar/menu 5. Put this code into it $fieldmangler tiddler=$:/_top-left-buttons $reveal state=$:/state/sidebar type=nomatch text=no $button message=tw-add-tag param=$:/tags/TopLeftBar set=$:/state/sidebar setTo=no class=btn-invisible{{$:/core/images/menu-button}}/$button /$reveal $reveal state=$:/state/sidebar type=match text=no $button message=tw-remove-tag param=$:/tags/TopLeftBar set=$:/state/sidebar setTo=yes class=btn-invisible{{$:/core/images/menu-button}}/$button /$reveal /$fieldmangler regards -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] TW5 Lefthand Main Menu
Hello all, I made a couple search bu I didn't find an answer to the following. I started a new Tiddly Wiki using the TW5 available at http://tiddlywiki.com/#TiddlyWiki I am used to older version where MainMenu would allow you to edit a menu on the lefthand of the screen. 1) There is no such lefthand menu anymore. 2) I could not find a clear explanation (sorry total noob here) about how to create one and edit it. I actually don't really care if it is top , left or right. I just want to create a menu alway showing link to the same tiddlers. I would be very thankful if you could tell me or point me the right direciton to solve that. Thanks guys and girls :) -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 - Make it read only permanently
Hi Devin I guess the real question is what does read only gain you? To me it is just a matter of being kind to readers of my TW. Some of the pagecontrols and toolbarcommands aren't very useful for readers - if they hit one of them - by accident or plain curiosity it might interrupt the reading experience - even lead to frustration.. Imo read only in this context isn't really readonly per se - it's more like: hiding elements of the layout to be able to publish a more reader friendly layout. You decide how easy it should be for readers to toggle editing on again. In one of my TWs I have put a checkbox just beneath the Sitetitle (replacing the Sitesubtitle) - for easy access.. Cheers Måns Mårtensson -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Guidence for writing a plugin
My confusion was two fold. First there isn't a lot of docs stepping a new TW developer through writing a plugin especially for TW5. Also it seems by looking at the many plugins in the core they don't reference their DOM through another tiddler instead make their own DOM via JavaScript which is barely documented (the TiddlyWiki way and $tw.utils). I think answer is to write a widget plugin that will construct the needed HTML through javascript code and not through an already defined tiddler. If that makes any sense. A widget tiddler with div class=myWidget i class=fooFoo/i Bar /div should be this instead: MyWidget.prototype.render = function() { var div = this.document.createElement('div'); div.classList.add('myWidget'); div.innerHTML = 'i class=fooFoo/i Bar'; // Do a LOT! of boilerplate copy/paste. There has got to be a more modular way. this.innerDomNode = div; this.outerDomNode.appendChild(this.innerDomNode); // Assign classes this.outerDomNode.className = this[class] || ; // Insert element parent.insertBefore(this.outerDomNode,nextSibling); this.renderChildren(this.innerDomNode,null); this.domNodes.push(this.outerDomNode); }; Gosh the later seems kind of convoluted! Is there any better way?! Maybe this should be moved to TiddlyWikiDev (Can never get the two strait) On Sunday, May 11, 2014 9:56:44 AM UTC-4, Devin Weaver wrote: Many times I have the following thought process and I don't know how to bridge the gap from source code to TW5 plugin. I'll have a neat HTML/CSS/JS snippit working in jsbin.com or jsfiddle.net and wish to add it to a TiddlyWiki document. Because it is multi format (HTML, CSS, JS, maybe a data URI based image) this presents some complication making it a one off plugin. Here is an example use case and workflow I'm in now: I wrote an interactive map using canvas. It draws lines on the map. The map is a JPEG image that the JS reads via a data URI and draws it to the canvas. A table has click events attached to the cells to make the JS code draw arrows on the canvas. This all has four distinct files. So I thought this would be a great tiddler to add to a TiddlyWiki that I could have other documentation tiddler etc. Perfect for a one off documentation document I could pass around the office. Thing is, there is very little info on plugin writing for TW5. I realized that adding it to an empty TW was painful as the entire plugin needs to be packaged into a JSON object. So I had to start with tiddlywiki --init empty and start writing in a plugins folder. This handled the packaging but left me lost as what and where to place the pieces. And then how to integrate them into the TW system. At first I thought this could be a single tiddler but then I started to wonder if it should be a widget or maybe a macro. Not sure. Is there any guidance for writing plugins and the style / organization / conventions one should use? What exports are the plugins supposed to expose and how do you reference data like images to be read and managed via JavaScript (data URI possibly)? Any help pointing me into the right direction would be very appreciated. I'll happily take notes and maybe gather enough to write some tutorials. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Guidence for writing a plugin
Hi Devin, There are some instructions on managing plugin development see the tiddler 'Developing plugins using Node.js and GitHub' on tiddlywiki.com, I think that this is the easiest way to develop a plugin. Wth regards to your application, the contents of javascript and css files that you loaded into a webpage can be placed into tiddlers, (see codemirror plugin for example) that will then be automatically loaded. With regards to html, generally I think any amount of html can be push in one go - div.innerHTML = 'all your html' you could store it in a tiddler and access it with a call -div.innerHTML = $tw.wiki.getTiddlerText('tidname'). cheers BJ On Sunday, May 11, 2014 2:56:44 PM UTC+1, Devin Weaver wrote: Many times I have the following thought process and I don't know how to bridge the gap from source code to TW5 plugin. I'll have a neat HTML/CSS/JS snippit working in jsbin.com or jsfiddle.net and wish to add it to a TiddlyWiki document. Because it is multi format (HTML, CSS, JS, maybe a data URI based image) this presents some complication making it a one off plugin. Here is an example use case and workflow I'm in now: I wrote an interactive map using canvas. It draws lines on the map. The map is a JPEG image that the JS reads via a data URI and draws it to the canvas. A table has click events attached to the cells to make the JS code draw arrows on the canvas. This all has four distinct files. So I thought this would be a great tiddler to add to a TiddlyWiki that I could have other documentation tiddler etc. Perfect for a one off documentation document I could pass around the office. Thing is, there is very little info on plugin writing for TW5. I realized that adding it to an empty TW was painful as the entire plugin needs to be packaged into a JSON object. So I had to start with tiddlywiki --init empty and start writing in a plugins folder. This handled the packaging but left me lost as what and where to place the pieces. And then how to integrate them into the TW system. At first I thought this could be a single tiddler but then I started to wonder if it should be a widget or maybe a macro. Not sure. Is there any guidance for writing plugins and the style / organization / conventions one should use? What exports are the plugins supposed to expose and how do you reference data like images to be read and managed via JavaScript (data URI possibly)? Any help pointing me into the right direction would be very appreciated. I'll happily take notes and maybe gather enough to write some tutorials. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 Lefthand Main Menu
Hi Kalum Ton Gerner have made a couple of very nice guides. Have a look here:http://tw5topleft.tiddlyspot.com/ Birthe On Sunday, May 11, 2014 10:33:01 PM UTC+2, Kalum wrote: Hello all, I made a couple search bu I didn't find an answer to the following. I started a new Tiddly Wiki using the TW5 available at http://tiddlywiki.com/#TiddlyWiki I am used to older version where MainMenu would allow you to edit a menu on the lefthand of the screen. 1) There is no such lefthand menu anymore. 2) I could not find a clear explanation (sorry total noob here) about how to create one and edit it. I actually don't really care if it is top , left or right. I just want to create a menu alway showing link to the same tiddlers. I would be very thankful if you could tell me or point me the right direciton to solve that. Thanks guys and girls :) -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Guidence for writing a plugin
$tw.wiki.getTiddlerText('tidname') Is exactly what I needed, Thank you! thank you! On Sunday, May 11, 2014 6:18:15 PM UTC-4, BJ wrote: Hi Devin, There are some instructions on managing plugin development see the tiddler 'Developing plugins using Node.js and GitHub' on tiddlywiki.com, I think that this is the easiest way to develop a plugin. Wth regards to your application, the contents of javascript and css files that you loaded into a webpage can be placed into tiddlers, (see codemirror plugin for example) that will then be automatically loaded. With regards to html, generally I think any amount of html can be push in one go - div.innerHTML = 'all your html' you could store it in a tiddler and access it with a call -div.innerHTML = $tw.wiki.getTiddlerText('tidname'). cheers BJ On Sunday, May 11, 2014 2:56:44 PM UTC+1, Devin Weaver wrote: Many times I have the following thought process and I don't know how to bridge the gap from source code to TW5 plugin. I'll have a neat HTML/CSS/JS snippit working in jsbin.com or jsfiddle.net and wish to add it to a TiddlyWiki document. Because it is multi format (HTML, CSS, JS, maybe a data URI based image) this presents some complication making it a one off plugin. Here is an example use case and workflow I'm in now: I wrote an interactive map using canvas. It draws lines on the map. The map is a JPEG image that the JS reads via a data URI and draws it to the canvas. A table has click events attached to the cells to make the JS code draw arrows on the canvas. This all has four distinct files. So I thought this would be a great tiddler to add to a TiddlyWiki that I could have other documentation tiddler etc. Perfect for a one off documentation document I could pass around the office. Thing is, there is very little info on plugin writing for TW5. I realized that adding it to an empty TW was painful as the entire plugin needs to be packaged into a JSON object. So I had to start with tiddlywiki --init empty and start writing in a plugins folder. This handled the packaging but left me lost as what and where to place the pieces. And then how to integrate them into the TW system. At first I thought this could be a single tiddler but then I started to wonder if it should be a widget or maybe a macro. Not sure. Is there any guidance for writing plugins and the style / organization / conventions one should use? What exports are the plugins supposed to expose and how do you reference data like images to be read and managed via JavaScript (data URI possibly)? Any help pointing me into the right direction would be very appreciated. I'll happily take notes and maybe gather enough to write some tutorials. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TW5] Tabbed left slider menu for v_5.0.10
Hi Matabele, Your approach is making me optimistic that TW5 can be functional as well as merely fun for me, so I'm making an effort to give something back - but please ignore this if it doesn't fit with your ideas! 1. (This is a really minor point). At the bottom of the tiddler $:/_leftmenu, in this line: tabs [!has[draft.of]tag[$:/tags/leftmenu]sort[title]] $:/_leftmenu 1 $:/state/tab1 I think that $:/_leftmenu 1 may be a holdover from a previous version and should be updated? (On the other hand, it's very possible I don't understand the tabs widget. I didn't think I saw any difference when I changed this, so maybe it's no big deal). 2. My minor idea: I'm always tweaking tiddlers, which meant that using modified as the basis for sorting contexts, days, and months wasn't working very well for me. To affect sort order, I did the following: a. In each context, day, and month tiddler, I added a field (I called it gtid-order) and inserted the appropriate values for chronological sorting (01 for Jan, 02 for Feb, etc.). b. In the following places, I change the sorting filter to [sort[gtid-order]]: - $:/_tagbar-context - macro definition \define tagPill(tag) ($:/_leftmenu) - macro definition \define editTags(type) ($:/_edit-tags) c. Part b took care of sorting on the leftmenu, but I still wanted day/month tags to be displayed chronologically in tiddlers and transclusions. For that, I took advantage of your color definition. In $:/_display-panel I deleted this line $list filter=[is[current]tags[]sort[title]]$link{{!!title||$:/_showtag}}/$link/$list and replaced it with: $list filter=[all[current]tags[]sort[title]]-[field:color[#89C6AF]]$link{{!!title||$:/_showtag}}/$link/$list$list filter=[all[current]tags[]has[gtid-order]field:color[#89C6AF]sort[gtid-order]] $link{{!!title||$:/_showtag}}/$link/$list d. To really control sorting order, it's also possible to change $:/core/ui/ViewTemplate/tags, replacing the shadow contents with: div class=tw-tags-wrapper$list filter=[all[current]tags[]sort[title]]-[field:color[#89C6AF]] template=$:/core/ui/TagTemplate storyview=pop/$list filter=[all[current]tags[]field:color[#89C6AF]sort[gtid-order]] template=$:/core/ui/TagTemplate storyview=pop//div Thanks again for all the great ideas! cmari -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] [TW5] Tabbed left slider menu for v_5.0.10
Hi Matabele, Your approach is making me optimistic that TW5 can be functional as well as merely fun for me, so I'm making an effort to give something back - but please ignore this if it doesn't fit with your ideas! 1. (This is a really minor point). At the bottom of the tiddler $:/_leftmenu, in this line: tabs [!has[draft.of]tag[$:/tags/leftmenu]sort[title]] $:/_leftmenu 1 $:/state/tab1 I think that $:/_leftmenu 1 may be a holdover from a previous version and should be updated? (On the other hand, it's very possible I don't understand the tabs widget. I didn't think I saw any difference when I changed this, so maybe it's no big deal). 2. My minor idea: I'm always tweaking tiddlers, which meant that using modified as the basis for sorting contexts, days, and months wasn't working very well for me. To affect sort order, I did the following: a. (this is the tedious part): In each context, day, and month tiddler, I added a field (I called it gtid-order) and inserted the appropriate values for chronological sorting (01 for Jan, 02 for Feb, etc.). b. In the following places, I change the sorting filter to [sort[gtid-order]]: - $:/_tagbar - the macro definition \define tagPill(tag) in $:/_leftmenu - the macro definition \define editTags(type) in $:/_edit-tags c. Part b took care of sorting on the leftmenu, but I still wanted day/month tags to be displayed chronologically in tiddlers and transclusions. For that, I took advantage of your color definition. In $:/_display-panel I deleted this line $list filter=[is[current]tags[]sort[title]]$link{{!!title||$:/_showtag}}/$link/$list and replaced it with: $list filter=[all[current]tags[]sort[title]]-[field:color[#89C6AF]]$link{{!!title||$:/_showtag}}/$link/$list$list filter=[all[current]tags[]has[gtid-order]field:color[#89C6AF]sort[gtd-order]] $link{{!!title||$:/_showtag}}/$link/$list d. To really control sorting order, it's also possible to change $:/core/ui/ViewTemplate/tags, replacing the shadow contents with: div class=tw-tags-wrapper$list filter=[all[current]tags[]sort[title]]-[field:color[#89C6AF]] template=$:/core/ui/TagTemplate storyview=pop/$list filter=[all[current]tags[]field:color[#89C6AF]sort[gtid-order]] template=$:/core/ui/TagTemplate storyview=pop//div Thanks again for this great resource! cmari On Saturday, May 10, 2014 12:08:24 PM UTC-7, Matabele wrote: Hi Ton Thanks for the thumbs up -- your guides played a large part in starting me off on this whole customisation gig. From these guides I noticed how easy it was for a user with non-existent javascript skills to customise TW5 (with TWC I pretty much stuck with using plugins -- indeed I used mostly entire pre-customised versions of TWC.) The major bug in my customised TW5 is now due to an incompatibility between the only plugin I make use of ($newtiddler), and the core code for tag pills. Without javascript I am incapable of fixing this -- I, therefore, look forward to the version of TW5 where I need no use of such plugins. I hope I can inspire others in the same way that you inspired me :-) regards On Thursday, May 8, 2014 9:14:47 PM UTC+2, Ton Gerner wrote: Hi Matabele, Up till now I did not have time to play around with your GTD. Now I did play around, and I am very impressed. Glad that my customization guide(s) could be used by others *and* could inspire others. You bring customization to a higher level. Your GTD shows how much you can do with the standard core without using plugins. And I think that is the real advantage of TW5 compared to TWclassic. Thanks for sharing. Cheers, Ton -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [tw5] ? Hide topmenu when sidebar is open and related stuff..
Hi Mans Coming along nicely -- looks like I can leave the customisations for mobile up to you :-) I was playing around with: wills.tiddlyspot.com yesterday with a narrow browser window, and tried these settings: https://lh4.googleusercontent.com/-cAnCpbMUL2U/U3BEnsUhVbI/AbM/ua3ekP0c71c/s1600/settings+for+mobile.jpg The gist of the idea is for the leftmenu to take the full width of the screen when the left hamburger is clicked. I think it would be preferable to write other versions of $:/_stylesheet/leftmenu-show#%24%3A%2F_stylesheet%2Fleftmenu-show and $:/core/ui/TopBar/menu #%24%3A%2Fcore%2Fui%2FTopBar%2Fmenu customised for mobile. Give it a try on a mobile and see what you think. regards On Sunday, May 11, 2014 9:16:59 PM UTC+2, Måns wrote: Aah forgot to tell that @Birthe C showed me how to get at a mobile view tab with an indexed list of customized tag buttons into the sidebar menu: http://genrekogebogen.tiddlyspot.com/ Cheers Måns Mårtensson -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 Lefthand Main Menu
Hi Kalum Have a look at my leftmenu here: gtab.tiddlyspot.com It is easily customisable and may suit your needs -- add you own menu tabs and either toggle off or delete any tabs you don't need. There's a version with a simple gTiD system loaded into the tabs here: gtid.tiddlyspot.com. If you wish to grab bits and pieces of the scheme, there's some ideas on how this is made here: wills.tiddlyspot.com regards On Sunday, May 11, 2014 10:33:01 PM UTC+2, Kalum wrote: Hello all, I made a couple search bu I didn't find an answer to the following. I started a new Tiddly Wiki using the TW5 available at http://tiddlywiki.com/#TiddlyWiki I am used to older version where MainMenu would allow you to edit a menu on the lefthand of the screen. 1) There is no such lefthand menu anymore. 2) I could not find a clear explanation (sorry total noob here) about how to create one and edit it. I actually don't really care if it is top , left or right. I just want to create a menu alway showing link to the same tiddlers. I would be very thankful if you could tell me or point me the right direciton to solve that. Thanks guys and girls :) -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] [TW5] smallest possible tiddlywiki?
Just wondering if anyone had tried to strip out anything to make a TW5 as small as possible say for read only display of information. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.