[tw] Re: Alias (via AliasPlugin) to make shortcuts for HTML codes, possible?
Would putting the html wrapper in your alias definition work? alias imgdiv htmldiv style=background-image: url(%0); width: %1px; height: %2px;%3/div/html Cheers, Tobias. Am Donnerstag, 23. August 2012 04:06:04 UTC+2 schrieb G.J.Robert: Hi there, I'm trying to play with the capabilities of AliasPlugin [1]. So far, I have been successful to make aliases as shortcuts to smileys like alias :) [img[smile]] (where the tiddler smile is an uploaded image via TiddlySpace) or as shortcuts to simplify complex syntaxes like alias pop @@position:relative;+++^30em^[%0]%1===@@ (prerequisite: NestedSlidersPlugin; where the position:relative is a trick to make the floatingPanel right under the button on TiddlySpace) I was trying to extend the usage of alias shortcuts further by defining aliases to render HTML snippets. For example, as with a div with an image as its background, the HTML code would be something like: div style=background-image: url(http://domain.com/image.jpg); width: XXXpx; height: YYYpx;abracadabra/div and I hope to use an alias alias imgdiv div style=background-image: url(%0); width: %1px; height: %2px;%3/div so that I can just type imgdiv http://url.of.the/image XXX YYY abracadabra to create the same div as above. However, in my experiment, when I put this imgdiv in the html.../html statement block (with HTMLFormattingPlugin installed, for TiddlyWiki syntax to be mixed within the HTML block), the alias just throws out the text of div style=background-image: url( http://domain.com/image.jpg); width: XXXpx; height: YYYpx;abracadabra/div (with the URL wikified!), but not making the real div element. I've also tried to make a simpler alias to insert p0%/p, and again, only the literal pParameter input/p is rendered. *Is it ever possible to make aliases substituting working HTML elements instead of displaying the literal codes?* (I have also tried to make aliases as shortcuts to insert something like rowspan='%0' to help simplify the syntax of MediaWikiTableFormatterPlugin [2], also in vain. I guess it's because the aliases cannot be rendered *before* the formatters?) [1] http://www.tiddlytools.com/#AliasPlugin [2] http://devpad.tiddlyspot.com/#MediaWikiTableFormatterPlugin -- 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/-/8i_SgQMYeFwJ. 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 Thursday, August 23, 2012 3:20:42 AM UTC+8, wolfgang wrote: A solution to this just popped up into my mind not long after the last post. See revision history in TableEditor--CRV if interested. TableEditor v1.2.8 http://qmowcy2.tiddlyspace.com/#TableEditor. It works in my FireFox 14.0.1. ,Vincent, your amazing. This also solved the unneeded opening of cells after adding or deleting columns - just perfect! Glad to know it's working! Just thought of one additional but essential feature difficult to accomplish with TW table code: Though cutting and pasting rows at other positions is easy, With columns that's almost impossible without loosing all its formatting (via transposing, cutting/pasting and transposing back). Would be great if this could be implemented too. Are you talking about copy-and-pasting a whole row/column? This I will need some time to think about... It was good that you gave me a lot of useful comments/suggestions so the plugin is working much better. Many thanks! 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/-/EVbCHcd3bK4J. 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: TW for iPhone and iPad - tiddlyNotes
Hi Peter, Sorry for this late reply. Very busy these days. Find my comments inline. On Aug 17, 2012, at 9:42 PM, pw wrote: I finally got sync working between laptop iPhone. It took many tries as the documentation was very unclear. Yes, it is far too technical. Once it is working, or once you've done it yourself successfully, your are fine. But getting there can be tedious. However, it is not working properly. When I restart my TiddlyWiki after installing the tiddlyNotesSync tiddler I get this error about four times: JavaScript Error It's not possible to save changes. Possible reasons include: - your browser doesn't support saving (Firefox, Internet Explorer, Safari and Opera all work if properly configured) - the pathname to your TiddlyWiki file contains illegal characters - the TiddlyWiki HTML file has been moved or renamed The as soon as a do a sync, I can no longer open my local TiddlyWiki html file. I just get a continuous loop of the this JavaScript error message. The only resolution is to quit the browser. Using Safari 6 (with Disable LocalFileRestirctions checked) on Mac OS 10.8. Not seeing the issue with Firefox. There are problems with Safari, also with safari 5 before. Firefox is definitely our preference. We will file an issue for this. Until this is resolved, please stay on Firefox. Regards, Sabine On Friday, November 18, 2011 3:24:32 PM UTC-5, mrsk wrote: Hi, The subject has been used in the past to point at apps that use TW in some form on the iPad/iPhone. Well, this is another one. Our app is called tiddlyNotes. tiddlyNotes embeds TW for rendering purposes, but manages the actual tiddlers in its own way. The app tries to be easy to understand and use for the iPhone/iPad user. And at the same time it tries to be familiar to the TW user. But probably the best feature is the built-in synchronization based on Dropbox. It allows you to synchronize instantaneously between your mobile devices and, if you use our plugin for TW, your browser on a PC or notebook. In other words the full round trip between your mobile devices and your fat client is available to you. There is a free version available, tiddlyNotes lite: http://itunes.apple.com/us/app/tiddlynotes-lite/id465933435 And of course the is also a corresponding full version, including the unlimited synchronization. The lite version only allows to sync 10 times. On our product page www.facebook.com/tiddlyNotes you find all relevant information about the app. It is also the easiest way to contact us. From here you get also the instructions on how to install the plugin inside TW: http://www.facebook.com/note.php?note_id=181704671909078 And finally, we would be happy to get your feedback, either in the app store as a review or on Facebook. Thanks for reading that far, mrsk -- 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.
Re: [tw] Re: Inline Editing of tables
Other things like QuickEdit, TableTools, etc., will just need to wait a while. If hours are days for you, I sure can wait for a while ;-) Most likely weeks, I am afraid... Honestly, for those of us in love with this piece of html since years, the waiting without much hope for an Table Editor has already ended. :-) :-) :-) So take what ever time it needs.. Are you talking about copy-and-pasting a whole row/column? This I will need some time to think about... Yes, was thinking about what's left really difficult to accomplish with standard TW table syntax. First idea was to be able to shift a column 1 position to the right or left, but then my huge table made me reconsider: why not right away replace the 'delete' column button with a 'cut' button, which upon a cut would be changed into a 'paste' for all columns. So as not to cluster it with too many buttons. 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. It was good that you gave me a lot of useful comments/suggestions so the plugin is working much better. Many thanks! All the thanks to you for being so responsive to suggestions and your interest to make it that much better so fast. Sometime it also backfires, because the disabled auto-update of cell-reference like combinations in cell content with added/deleted rows/columns - though having been really necessary - now made me miss the formerly possible creation of a automatically updating first index row/column numbering/lettering reference.. -- 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/-/gNy8TZXcFWcJ. 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: SinglePageMode not working online?
SinglePageModePlugin uses several config.option variables, that can be defined with cookies. If you set them from a file:// url they are only set at your computer. option chkSinglePageMode Display one tiddler at a time option chkSinglePagePermalink Automatically permalink current tiddler option chkSinglePageKeepFoldedTiddlers Don't close tiddlers that are folded option chkSinglePageKeepEditedTiddlers Don't close tiddlers that are being edited option chkTopOfPageMode Open tiddlers at the top of the page option chkBottomOfPageMode Open tiddlers at the bottom of the page option chkSinglePageAutoScroll Automatically scroll tiddler into view (if needed) To set them permanently create a tiddler eg: zzConfig and tag it systemConfig. add eg: // Display one tiddler at a time config.options.chkSinglePageMode = true; // starts a javascript comment and is ignored by TW core. It's just for documentaiton. To define the others just adjust the chk??? name config.options.chkSinglePageMode = true; sets the value. true is checked and false is unchecked option. If you use FireFox brwoser, be sure to do a shift page reload, after uploading to tiddlyspot. So the browser cach is not used. I do have trouble some time with FF caching. hope this helps have fun! mario -- 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] Auto creation of tiddler labels
I'm using this code newTiddler label:New Journal tag:Journal text:{{store.getTiddlerText('BrewLogTemplate')}} to create new tiddlers based on a template (yes, it's my wine making log again :-) ). I'm going to label each tiddler with its unique batch number, which is six digits with leading zeroes. Can I get TW to do this for me, incrementing the number each time, rather than just stick with the default 'label:New journal' and editing it manually? Many thanks, David Shaw -- 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: Auto creation of tiddler labels
newTiddler label:New Journal tag:Journal text:{{store.getTiddlerText('BrewLogTemplate')}} to create new tiddlers based on a template (yes, it's my wine making log again :-) ). I'm going to label each tiddler with its unique batch number, which is six digits with leading zeroes. Can I get TW to do this for me, incrementing the number each time, rather than just stick with the default 'label:New journal' and editing it manually? The label:... parameter is displayed by newTiddler as the text that you click on to create new tiddlers. The value is *only* used as the clickable text and is *not* stored with the tiddler that is created. Perhaps what you want is to set a *tag value* on the tiddler (in addition to the Journal tag you are already setting). enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY TIP JAR... http://www.TiddlyTools.com/#Donations Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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.
Re: [tw] Re: Auto creation of tiddler labels
On 23/08/12 17:18, Eric Shulman wrote: The label:... parameter is displayed by newTiddler as the text that you click on to create new tiddlers. The value is *only* used as the clickable text and is *not* stored with the tiddler that is created. Perhaps what you want is to set a *tag value* on the tiddler (in addition to the Journal tag you are already setting). enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios Ah! No, sorry. I got the wrong end of the stick there. What I'm after is for the tiddler *title* to be automatically set, instead of staying at the default 'New Tiddler'. Thanks for clearing that up for me, David Shaw -- 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.
Re: [tw] Re: Inline Editing of tables
On Thursday, August 23, 2012 5:50:31 PM UTC+8, wolfgang wrote: Other things like QuickEdit, TableTools, etc., will just need to wait a while. If hours are days for you, I sure can wait for a while ;-) Most likely weeks, I am afraid... Honestly, for those of us in love with this piece of html since years, the waiting without much hope for an Table Editor has already ended. :-) :-) :-) So take what ever time it needs.. Are you talking about copy-and-pasting a whole row/column? This I will need some time to think about... Yes, was thinking about what's left really difficult to accomplish with standard TW table syntax. First idea was to be able to shift a column 1 position to the right or left, but then my huge table made me reconsider: why not right away replace the 'delete' column button with a 'cut' button, which upon a cut would be changed into a 'paste' for all columns. So as not to cluster it with too many buttons. 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. 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? It was good that you gave me a lot of useful comments/suggestions so the plugin is working much better. Many thanks! All the thanks to you for being so responsive to suggestions and your interest to make it that much better so fast. Sometime it also backfires, because the disabled auto-update of cell-reference like combinations in cell content with added/deleted rows/columns - though having been really necessary - now made me miss the formerly possible creation of a automatically updating first index row/column numbering/lettering reference.. 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? -- 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/-/N80UqrR4bPUJ. 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.