[tw] Re: SiteInfo and GettingStarted in TiddlySpace
If you use the default theme and didn't include othere spaces, GettingStarted shouldn't be changed if you change SiteInfo tiddler. Some spaces transclude the SiteInfo tiddler into the GettingStarted like so tiddler SiteInfo, which is called a transclusion. This may happen, but not with the default theme. The Information isn't lost, it may be just hidden. ... Can you point us to the space, so we can have a look? -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Converting script to plugin
Hi! I made a script which outputs the result on a nested slider (1) floating panel. I transcluded it into the toolbar, so I have a pulldown menu. It works as it should. However, I want to include it into a plugin I'm working on. So I removed the script tags and added the systemConfig tag to see how it worked, but I got an error that place was undefined. I tracked the error to the following piece of code: var here = story.findContainingTiddler(place); if (here) { var tid = store.getTiddler(here.getAttribute(tiddler)); } Any idea what the problem is? Also, because the script wasn't between the script tags, the tiddler displayed the actual text of the script instead of the wikified result. I'm using the wikify function. How do I output the wikified result? I posted the code on pastebin (2). (1) http://www.TiddlyTools.com/#NestedSlidersPlugin (2) http://pastebin.com/PZmLrQDV w -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Help with javascript new.window
Hi! Are you using a server-side solution for your setup (TiddlyWeb, TiddlySpace...) or a normal TW on a net-share? I tried getting BookmarksPlugin (1) to work with TiddlyWeb, but I couldn't quite make it work (2). (1) http://bookmarksplugin.tiddlyspace.com/ (2) http://groups.google.com/group/tiddlywiki/browse_thread/thread/342ded74e628a5c4/3f274e1edbb1fc9b w On Aug 24, 9:20 pm, skye riquelme riquelme.s...@gmail.com wrote: Hi All, I am a great fan of TiddlySnip, but have difficulties in having it store my favoriites to an on-line TW (in principle this is possible using UploadPlugin recently that cant be done from a local TW to an onçine TW). So, I have started playing with an alternative. What I have to date is a bit o javascript in a bookmerklet that passes the selected url and title to a TW on my server.so far so good. Its working and storing my references on-line My code is siimply - javaascript:var%20address=location.href;var%20title=document.title;window.open('http://mydomain.org/bookmarking/marking.html#txtFonte:[['+address+']]%20txtTitle:[['+title+']]','','width=300,height=400,toolbar=yes,titlebar=yes'); The only problem is that when I hit the bookmarklet from a selected page. a new window opensAND the selected page goes blanck and gives the message [object Window].after confirming the save in the new windowI can backup to the original page but thats rather annoying. Why is this code opening a new window AND passing this message to the open page...and how to stop this happening? Thanks in advance Skye -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Help with javascript new.window
Hi All Actually I finally resolved my problem.. the bookmarklet code now reads - javascript:void(window.open('http://mydomain/bookmarking/en.html#txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+']]%20txtDominio:[['+window.location.hostname+']] %20txtCitado:[['+window.getSelection()+']]','','width=400,height=400,toolbar=yes,titlebar=yes')); Note that the javascript starts with void(...)...seems that makes all the difference The target of this script is a very simple TW sitting on my server. The TW is armed with UploadPlugin and UploadTiddlerPlugin (and therefor PasswordPlugin as well) from BidiXTW works greatfor me!! Thanks Skye Em domingo, 26 de agosto de 2012 16h22min24s UTC-3, whatever escreveu: Hi! Are you using a server-side solution for your setup (TiddlyWeb, TiddlySpace...) or a normal TW on a net-share? I tried getting BookmarksPlugin (1) to work with TiddlyWeb, but I couldn't quite make it work (2). (1) http://bookmarksplugin.tiddlyspace.com/ (2) http://groups.google.com/group/tiddlywiki/browse_thread/thread/342ded74e628a5c4/3f274e1edbb1fc9b w On Aug 24, 9:20 pm, skye riquelme riquelme.s...@gmail.com wrote: Hi All, I am a great fan of TiddlySnip, but have difficulties in having it store my favoriites to an on-line TW (in principle this is possible using UploadPlugin recently that cant be done from a local TW to an onçine TW). So, I have started playing with an alternative. What I have to date is a bit o javascript in a bookmerklet that passes the selected url and title to a TW on my server.so far so good. Its working and storing my references on-line My code is siimply - javaascript:var%20address=location.href;var%20title=document.title;window.open(' http://mydomain.org/bookmarking/marking.html#txtFonte:[['+address+']]%20txtTitle:[['+title+']]http://mydomain.org/bookmarking/marking.html#txtFonte:[[%27+address+%27]]%20txtTitle:[[%27+title+%27]]','','width=300,height=400,toolbar=yes,titlebar=yes'); The only problem is that when I hit the bookmarklet from a selected page. a new window opensAND the selected page goes blanck and gives the message [object Window].after confirming the save in the new windowI can backup to the original page but thats rather annoying. Why is this code opening a new window AND passing this message to the open page...and how to stop this happening? Thanks in advance Skye -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/60JL9dr5nR8J. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: SiteInfo and GettingStarted in TiddlySpace
Still can't find the missing content. My space is astroiseur @tiddlyspace and I did include tiddlyace. Am still exploring how it will affect my space. Handoko - On Sunday, August 26, 2012 4:43:45 PM UTC+7, PMario wrote: If you use the default theme and didn't include othere spaces, GettingStarted shouldn't be changed if you change SiteInfo tiddler. Some spaces transclude the SiteInfo tiddler into the GettingStarted like so tiddler SiteInfo, which is called a transclusion. This may happen, but not with the default theme. The Information isn't lost, it may be just hidden. ... Can you point us to the space, so we can have a look? -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/V2S6bQ6_q9gJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
Re: [tw] Re: Inline Editing of tables
On Friday, August 24, 2012 7:06:46 PM UTC+8, wolfgang wrote: Hmmm...I thought a cell starting with an equal sign (=) still gets auto-updated if there are cell references in its expression. Is it not working that way? Or you are talking about some other cases? Thought exactly the same, but a equal sign with a letter only shows 'Err: ReferenceError: A is not defined', with a letter it does show the number after the equal sign but doesn't change with row changes. If you start a cell with an equal sign =, then TableCalculator assumes an expression in that cell and extracts cell contents if cell references are included, then evaluates it through user-defined functions or Javascript. If the case you mentioned, a cell containing =A, that letter A is not immediately followed by a number, so its not considered as a cell reference, and the A is not a user-defined function, so the TableCalculator passes it to Javascript for evaluation. But this A is most likely not defined in your (or any other's) Javascript session, therefore the 'A is not defined' error message is returned. I am guessing your =A means 'copy the whole column A to this column', but this syntax is not supported in the current TableCalculator. It seems possible to support such a syntax though...I am not sure yet... In the same vain I would actually remove the 'S'ave button, since it anyway only replicates the saveChanges button accessible with every editable TW. On the other hand I already added the 'done' button to the tiddler view toolbar, because this way it is possible to use TableEditor together with Eric's UndoPlugin. That is great! I have been wondering how to work with the UndoPlugin! Can you tell me how to do it? At the moment UndoPlugin doesn't recognizes a change to a table cell if TableEditor's auto save isn't enabled. It only recognizes once the 'done' (e.g. the button used in edit mode for saving changes to a tiddler and immediately switching to view mode) is used. This button can by copied from the editbar to the viewbar slice in the ToolbarCommands shadowed tiddler, so that this 'done' button appears in the toolbar of a tiddler in view mode too. And therefore can be used to save a tiddler after a couple cells changed - which now is recognized by UndoPlugin and enabled to revert the table tiddler to its state before the 'done' button was used. Since with each 'done' the tiddler refreshes and, with large tables. jumps to the top of the tiddler (in my case where I display tiddler's content with a scrollbar and so keep the tiddler header always visible and accessible at the top), I use it only after a couple of cells changed, because of the disruption of the jump caused by saving a tiddler. I've figured a way to work with the UndoPlugin without adding the 'done' button to the toolbar in view mode. I also think there are too many buttons around the table and should figure a way to rearrange them. It sounds like a good idea to replace the delete button with a cut button, but I don't quite understand what upon a cut would be changed into a paste means. What I am thinking is something that is invisible most of the time and visible when the mouse is over a certain place (the corner of a table, for example), just like the pull-down menus that we already see in a lot of pages. I thought of changing the 'x' of the delete button to a 'c' with the addition of the 'cutting' ability to this button, - And which upon an actual cutting of a column would change the 'c' into a 'p' for pasting in this button available below every column. Which would bring the limitation that actually only one column could be deleted/cutted at a time (since all 'c' button change to 'p' after having it used for a cut). Therefore agree that popup menus visible upon hovering would be really a better way. Regards. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/duOrPRNZLvsJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
Re: [tw] Re: Inline Editing of tables
wolfgang, On Sunday, August 26, 2012 7:25:50 AM UTC+8, wolfgang wrote: I also think there are too many buttons around the table and should figure a way to rearrange them. It sounds like a good idea to replace the delete button with a cut button, but I don't quite understand what upon a cut would be changed into a paste means. What I am thinking is something that is invisible most of the time and visible when the mouse is over a certain place (the corner of a table, for example), just like the pull-down menus that we already see in a lot of pages. I thought of changing the 'x' of the delete button to a 'c' with the addition of the 'cutting' ability to this button, - And which upon an actual cutting of a column would change the 'c' into a 'p' for pasting in this button available below every column. Which would bring the limitation that actually only one column could be deleted/cutted at a time (since all 'c' button change to 'p' after having it used for a cut). Therefore agree that popup menus visible upon hovering would be really a better way. After working a bid more with TableEdtor I actually don't think the ability to cut and paste columns that much of a priority anymore. Though this really is one of the hardest things to do with TW table syntax, With TableEditor its actually not such a feast to accomplish anymore..- If the need arises - then the cell contents can always be cut and pasted individually fairly easily and quickly too now. Also concerning how rare such a need really is.. ..and for not to bloat TableEditor unnecessarily with abilities not that often needed. Sounds reasonable. Will think about it. Thanks a lot. But what still is disrupting the workflow are the 'jump-ups' with a refresh of long table tiddlers after each row/column added/deleted. Though gladly this doesn't happen with every cell edited, but for example whenever cells are joined too (ie: after entering a '~' in a cell). Upon insertion/deletion of rows/columns, or joining cells by '~' and '', the TableEditor calls the story.refreshTiddler() to let the formatters do their jobs. The 'jump-ups' is probably caused somewhere in that function. Unfortunately this does not happen in all the browsers I tested here (with your large table and Eric's UndoPlugin 0.2.1): Chrome/Ubuntu 12.04, FF 14.0.1/Ubuntu 12.04, FF14.0.1/Win7, Chrome/win7, IE9/Win7, Safari/Win7. I guess the TableEditor is interfering with some of the plugins you are using and I am not. If you can find it then I can try to fix it. Regards. Cheers, Vincent -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/lULPiUs6T78J. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
Re: [tw] Re: Inline Editing of tables
TableEditor 1.2.10 http://qmowcy2.tiddlyspace.com/#TableEditor - Works with UndoPlugin 0.2.1 by Eric Shulman. - Changes made to each cell are now undoable through UndoPlugin. - But this can generate a long undo history after changing many cells. Not sure if it's going to cause any trouble... - Added visual feedback on the 'S'/'U' button while in manual save/upload mode. - The 'S'/'U' button is active only when save/upload is needed. Vincent On Friday, August 24, 2012 7:06:46 PM UTC+8, wolfgang wrote: Hmmm...I thought a cell starting with an equal sign (=) still gets auto-updated if there are cell references in its expression. Is it not working that way? Or you are talking about some other cases? Thought exactly the same, but a equal sign with a letter only shows 'Err: ReferenceError: A is not defined', with a letter it does show the number after the equal sign but doesn't change with row changes. In the same vain I would actually remove the 'S'ave button, since it anyway only replicates the saveChanges button accessible with every editable TW. On the other hand I already added the 'done' button to the tiddler view toolbar, because this way it is possible to use TableEditor together with Eric's UndoPlugin. That is great! I have been wondering how to work with the UndoPlugin! Can you tell me how to do it? At the moment UndoPlugin doesn't recognizes a change to a table cell if TableEditor's auto save isn't enabled. It only recognizes once the 'done' (e.g. the button used in edit mode for saving changes to a tiddler and immediately switching to view mode) is used. This button can by copied from the editbar to the viewbar slice in the ToolbarCommands shadowed tiddler, so that this 'done' button appears in the toolbar of a tiddler in view mode too. And therefore can be used to save a tiddler after a couple cells changed - which now is recognized by UndoPlugin and enabled to revert the table tiddler to its state before the 'done' button was used. Since with each 'done' the tiddler refreshes and, with large tables. jumps to the top of the tiddler (in my case where I display tiddler's content with a scrollbar and so keep the tiddler header always visible and accessible at the top), I use it only after a couple of cells changed, because of the disruption of the jump caused by saving a tiddler. I also think there are too many buttons around the table and should figure a way to rearrange them. It sounds like a good idea to replace the delete button with a cut button, but I don't quite understand what upon a cut would be changed into a paste means. What I am thinking is something that is invisible most of the time and visible when the mouse is over a certain place (the corner of a table, for example), just like the pull-down menus that we already see in a lot of pages. I thought of changing the 'x' of the delete button to a 'c' with the addition of the 'cutting' ability to this button, - And which upon an actual cutting of a column would change the 'c' into a 'p' for pasting in this button available below every column. Which would bring the limitation that actually only one column could be deleted/cutted at a time (since all 'c' button change to 'p' after having it used for a cut). Therefore agree that popup menus visible upon hovering would be really a better way. Regards. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/dEFOZLuYcXIJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Help with javascript new.window
Can you describe your solution in more detail? Perhaps share the setup? I think this will be interesting to many people. w On Aug 26, 10:43 pm, skye riquelme riquelme.s...@gmail.com wrote: Hi All Actually I finally resolved my problem.. the bookmarklet code now reads - javascript:void(window.open('http://mydomain/bookmarking/en.html#txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+']]%20txtDominio:[['+window.location.hostname+']] %20txtCitado:[['+window.getSelection()+']]','','width=400,height=400,toolbar=yes,titlebar=yes')); Note that the javascript starts with void(...)...seems that makes all the difference The target of this script is a very simple TW sitting on my server. The TW is armed with UploadPlugin and UploadTiddlerPlugin (and therefor PasswordPlugin as well) from BidiXTW works greatfor me!! Thanks Skye Em domingo, 26 de agosto de 2012 16h22min24s UTC-3, whatever escreveu: Hi! Are you using a server-side solution for your setup (TiddlyWeb, TiddlySpace...) or a normal TW on a net-share? I tried getting BookmarksPlugin (1) to work with TiddlyWeb, but I couldn't quite make it work (2). (1)http://bookmarksplugin.tiddlyspace.com/ (2) http://groups.google.com/group/tiddlywiki/browse_thread/thread/342ded... w On Aug 24, 9:20 pm, skye riquelme riquelme.s...@gmail.com wrote: Hi All, I am a great fan of TiddlySnip, but have difficulties in having it store my favoriites to an on-line TW (in principle this is possible using UploadPlugin recently that cant be done from a local TW to an onçine TW). So, I have started playing with an alternative. What I have to date is a bit o javascript in a bookmerklet that passes the selected url and title to a TW on my server.so far so good. Its working and storing my references on-line My code is siimply - javaascript:var%20address=location.href;var%20title=document.title;window.open(' http://mydomain.org/bookmarking/marking.html#txtFonte:[['+address+']]%20txtTitle:[['+title+']]http://mydomain.org/bookmarking/marking.html#txtFonte:[[%27+address+%27]]%20txtTitle:[[%27+title+%27]]','','width=300,height=400,toolbar=yes,titlebar=yes'); The only problem is that when I hit the bookmarklet from a selected page. a new window opensAND the selected page goes blanck and gives the message [object Window].after confirming the save in the new windowI can backup to the original page but thats rather annoying. Why is this code opening a new window AND passing this message to the open page...and how to stop this happening? Thanks in advance Skye -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Converting script to plugin
Hi! I figured out the solution to the second problem and it solved the first problem as well. Seems all I had to do was put the code inside a macro. I am curious though, why did the story.findContainingTiddler(place); throw an error? Also, I noticed that sometimes, it is used as story.findContainingTiddler(this);. Can someone explain the reason? w On Aug 26, 7:13 pm, whatever kbrezov...@gmail.com wrote: Hi! I made a script which outputs the result on a nested slider (1) floating panel. I transcluded it into the toolbar, so I have a pulldown menu. It works as it should. However, I want to include it into a plugin I'm working on. So I removed the script tags and added the systemConfig tag to see how it worked, but I got an error that place was undefined. I tracked the error to the following piece of code: var here = story.findContainingTiddler(place); if (here) { var tid = store.getTiddler(here.getAttribute(tiddler)); } Any idea what the problem is? Also, because the script wasn't between the script tags, the tiddler displayed the actual text of the script instead of the wikified result. I'm using the wikify function. How do I output the wikified result? I posted the code on pastebin (2). (1)http://www.TiddlyTools.com/#NestedSlidersPlugin (2)http://pastebin.com/PZmLrQDV w -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.