[tw] Re: How to access custom field passed through NewTiddler macro?
This seems to work fine for me: <> Added the following lines to my ViewTemplate: > The syntax for adding both a fieldname and fieldvalue inside the > newTiddler macro uses both single and double quotes IIRC, the nested quotes are only required if the value contains spaces. It might be considered good practice to use quotes at all times though. -- F. --~--~-~--~~~---~--~~ 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] Blog & Spam plugins
Hey guys, Is there a blog plugin for tiddlywiki that actually works? Google search brings me this plugin (http://www.anshul.info/blogwiki.html) but it doesn't seem to work me. Also I'm afraid if I switch to Tiddlywiki as my primary blogging platform, I'll be swarmed with spam. Any Captcha supported comments feature? Thank you --~--~-~--~~~---~--~~ 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: Multiple word search
> doesn't allow multiple word searching unless you seperate words with > the pipe symbol but then if a word isn't listed anywhere, it displays > no results instead of the few matches it did find. That's not how it works for me... Try this: 1) Go to http://www.TiddlyWiki.com 2) In sidebar options, enable 'regexp search' 3) enter 'test' into search field 4) 10 maches 5) enter 'bar' 6) 32 matches 7) enter 'gronk' 8) no matches 9) enter 'test|bar' 10) 42 matches 11) enter 'test|bar|gronk' 12) 42 matches enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ 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] Multiple word search
I am looking for an alternate search plugin like simple search but only able to use multiple words separated with spaces. If any of the words searched in the string don't match anything it doesn't take away from the search and list no tiddlers found. Words that have no matches doesn't erase all the other ones listed and if more of the words match in any one particular tiddler, that tiddler is listed higher on the relevant list. I don't want a bunch of stuff popping up under the search field like YourSearchPlugin. I like the simple search but it doesn't allow multiple word searching unless you seperate words with the pipe symbol but then if a word isn't listed anywhere, it displays no results instead of the few matches it did find. If anyone can help with this I would appreciate it. Thank you. --~--~-~--~~~---~--~~ 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: 'undefined' displayed instead of tag in ForEachTiddler macro
Try tiddler.tags instead of tiddler.tag (in both the sortBy and the write) cmari On Aug 4, 7:59 pm, AlanBCohen wrote: > Here is a ForEachTiddler macro I'm trying to include in an application > and it is returning 'undefined' instead of what I expect. It could be > a typo on my part, but... > < where 'tiddler.title.contains("2009-08-04") && ! > tiddler.tags.contains("status")' > sortBy > 'tiddler.tag+tiddler.title' > ascending > write > '"[["+tiddler.tag+"]]"+tiddler.text+"\n"' > > > > Each dated-time stamped tiddler is tagged with the WorkUnitID. I'm > trying to collect all tiddlers for a day for a status report. So, I > want the tag(WorkUnitID), followed by the text. The macro is properly > returning the text, but is returning 'undefined' (as a missing tiddler > link) instead. BTW, the WorkUnitID is not only a tag, but is also a > tiddler with a ForEachTiddler macro displaying the tiddler.title and > text in the same way. And that macro is returning the data correctly > (It displays all the tiddler.text for a WorkUnitID in datetime order > with links to each individual tiddler). --~--~-~--~~~---~--~~ 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] LoadTiddlersPlugin
Having difficulties with LoadTiddlersPluginam I right in understanding that I have to use the whole adress of a local file for it to work The file I want to load is in the same directorty...just putting its name like in <> doesn´t workbut if I put the whole address - file:///C:.empty.html - that works. But its rather cumbersome as I often run it from a pendrive..that can get itslef assigned different drive letters.a relative address would be mush easier...is it possible ? 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: How to access custom field passed through NewTiddler macro?
The syntax for adding both a fieldname and fieldvalue inside the newTiddler macro uses both single and double quotes: fields:'testfield:"hello world"' Accordingly, for your macro: <> cmari > > > i have this macro call: > > > < > fields:"k:v">> > --~--~-~--~~~---~--~~ 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: FormTiddler in ViewTemplate
Fantastic once I remembered to take out the Google linebreak it worked perfectly thanks skye On 5 Ago, 00:04, Eric Shulman wrote: > > > > in a ViewTemplate toolbar line doesnot work...I get a mesage > > In templates, the [[TiddlerName]] syntax causes the content of > TiddlerName to be included into the template before rendering. Thus, > the use of [[RealText]] above is the problem, as it winds up inserting > its content instead of being used as a literal value in the macro > parameter. > > One workaround is to split up the ]] sequence (similar to the way > you've split the >> sequence), so that the 'include' syntax won't be > triggered, like this: > > > > enjoy, > -e --~--~-~--~~~---~--~~ 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: Javascript Alert
> ... Chrome Browser ... > "Failed to save... Chrome does not include built-in file I/O functions. To address this, you must install a companion TiddlySaver.jar file that adds the necessary methods: http://www.tiddlywiki.com/#TiddlySaver enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ 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: Javascript Alert
I'm unfortunately very familiar with this error message (though I can't say I have learned much despite my many encounters with it). I keep hoping to see a pattern so I'd be interested to know more details: was this the very first thing you did (empty TW file? no plugins?), and did your new SiteTitle contain any non-alphabet characters? cmari On Aug 4, 12:20 pm, aliases wrote: > Newbie to TiddlyWiki here. When trying to Modify the SiteTitle, after > editing I receive a Javascript Alert Box in my Chrome Browser that > says: > > "Failed to save main TiddlyWiki file. Your changes have not been > saved" > > Any suggestions? --~--~-~--~~~---~--~~ 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] Autosave of Tiddler while editing it within an open TiddlyWiki?
Hi, I learned about TiddlyWiki only today and am already in love with it. I want to use it as my scientific notebook, but one thing is troubling me: say I work on a tiddler and make lots of changes, and my browser crashes -- then all my work is gone. Had I pressed "done" when editing the Tiddler, the contents of the editing window would've been saved to the TiddlyWiki (which can then autosave the changes), but before pressing done nothing happens, and I can imagine not wanting to press "done" and then re-clicking on "edit" all the time Is there a way to implement a "save" button? I.e. just like "done", but without exiting the editing mode? cheers, interlooper --~--~-~--~~~---~--~~ 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: FormTiddler in ViewTemplate
> > in a ViewTemplate toolbar line doesnot work...I get a mesage In templates, the [[TiddlerName]] syntax causes the content of TiddlerName to be included into the template before rendering. Thus, the use of [[RealText]] above is the problem, as it winds up inserting its content instead of being used as a literal value in the macro parameter. One workaround is to split up the ]] sequence (similar to the way you've split the >> sequence), so that the 'include' syntax won't be triggered, like this: enjoy, -e --~--~-~--~~~---~--~~ 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: FormTiddler in ViewTemplate
Note that I get the same message even when I try putting the FormTiddler in the toolbarCommand.like |~ViewToolbar|RealText closeTiddler closeOthers closeAll +editTiddler deleteTiddler > fields syncing permalink references jump| |~EditToolbar|+saveTiddler saveCloseTiddler -cancelTiddler cancelCloseTiddler deleteTiddler| .now I am stumped.. Skye On 4 Ago, 23:52, skye riquelme wrote: > Hi All > > Still can´t get the code right to open a newtiddler with a form from > the ViewTempalte tool bar... > > <" + > ">"}} tag:"Livros" tag:"bibliography">> - when I put this into > atiddler it creates the newtiddler button that works perfecty > > but > > > in a ViewTemplate toolbar line doesnot work...I get a mesage > > # Erro ao executar a macro <>: > # Unable to evaluate {{"< > # > # .rolodex table {border: 0px solid;background-color:#eeeff;} > # > # .rolodex tr, .rolodex td {border: 0px solid;} > # > # > # Author(s): > # < > > I am sure it used to be possible to do this..but now I cant get it to > work. > > Thanks > > 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] FormTiddler in ViewTemplate
Hi All Still can´t get the code right to open a newtiddler with a form from the ViewTempalte tool bar... <" + ">"}} tag:"Livros" tag:"bibliography">> - when I put this into atiddler it creates the newtiddler button that works perfecty but in a ViewTemplate toolbar line doesnot work...I get a mesage # Erro ao executar a macro <>: # Unable to evaluate {{"< # # .rolodex table {border: 0px solid;background-color:#eeeff;} # # .rolodex tr, .rolodex td {border: 0px solid;} # # # Author(s): # < I am sure it used to be possible to do this..but now I cant get it to work. Thanks 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] Taking Template macros into tiddlers
If some one with expierence on this could please assist. In the view and edit templates we can use commands such as; showWhenTagged hideWhenTagged hideWhen showWhen showWhenExists etc... and perhaps other 'macros' such as hideWhenExists ToggleTag These may be in the core or in my tiddlywiki as a result of MPTW. Is there a generic rule how we can use these macros inside our tiddlers ? If not generic can the above ones be used ? How do we delineate what is shown or hidden in a tiddler if rather than the "true" including an external tiddler we want it to open a slider or other section in out tiddler. Thanks for any ideas at all. TonyM --~--~-~--~~~---~--~~ 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: Missing function in ForEachTiddler
This not an answer but I suggest you revisit how and what you are trying to achieve. Putting dates into titles suggests to me you are mixing fields. If you must why not tag the tiddlers "inWeekyReports", use this as the first criteria for identifying thoes in the report not (with dates in there name) then sort on title only. I have a log in which I can review this way; <> Sorted by most recently created first or alternatives with different sort fields Good luck TonyM If you have not found an easy way to do it with TiddlyWiki, you have missed something. www.tiddlywiki.com On Wed, Aug 5, 2009 at 11:10, AlanBCohen wrote: > > As part of a macro I'm writing, I'm trying to use a function that is > not defined in the macro. > where 'tiddler.title.containsAny > (["2009-08-03","2009-08-04","2009-08-05","2009-08-06","2009-08-07"])' > The following function works fine: > 'tiddler.tag.containsAny > (["2009-08-03","2009-08-04","2009-08-05","2009-08-06","2009-08-07"])' > but, doesn't do what I want. I'm trying to collect tiddlers that have > date-time stamps as their title into a weekly status report. > (I have another post here for a different problem with the > application. I separated the problems. I am able to select an > individual date, just not several.) > If someone has another way to accomplish the same thing, great. BTW, > I'm doing this at work, so I am severely limited in the plugins I have > access to (and I'm not a good typist to enter plugins by hand). > > > --~--~-~--~~~---~--~~ 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: Any plugin to manage plugins?
Amzg, Why not make your own tiddler with ForEachtiddler to manage plugins and their tags ? Try this tricky one <"+">"' >> Also see the ** http://tw.lewcid.org/#TiddlerNotesPlugin - The TiddlerNotesPlugin allows you to add notes to tiddlers, without needing to edit the original tiddler. This means that your original content will remain unaltered, and if you update it in the future, you won’t lose your notes. Notes are stored in separate tiddlers, but can be viewed and edited from within the original tiddler. - For a tiddler titled "MySlide", the notes are by default saved in a tiddler titled "MySlide-Notes" and is given a tag of "Notes". The suffix and tags of the notes tiddlers are customizable. You can have one or multiple notes per tiddlers. So it is possible to have for example, teacher's notes and student's notes in the same file. - Notes can be configured to start off blank, or pre-filled with the contents of the original tiddler. I have combined this with a tag "notated" and a check box in the view template that allows me to selectivly show the notes on a given tiddler. in the bottom of the view template I have something like this; This also allows the note tiddler to be tagged ".note". Regards Tony TonyM If you have not found an easy way to do it with TiddlyWiki, you have missed something. www.tiddlywiki.com On Tue, Aug 4, 2009 at 22:24, Amzg wrote: > > Ah, finally it struck me that the hazzle to manage plugins might not > have be that way! > > Is there any plugin that lists plugins (other than the core feature)? > > What I'm hoping, but doubt, exist would be something that; > * let's me deal with batches of plugins (more and more plugins seem to > come with "packages") > * lists the tags of the plugins > * and there is a field where *comments* can be inserted *directly* > next to each listed plugin > > Particularly the latter point is desirable! > > Actually, maybe there is something more general enabling the above not > only with plugins but with any type of tiddler. > > Thanks! > > > --~--~-~--~~~---~--~~ 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] Missing function in ForEachTiddler
As part of a macro I'm writing, I'm trying to use a function that is not defined in the macro. where 'tiddler.title.containsAny (["2009-08-03","2009-08-04","2009-08-05","2009-08-06","2009-08-07"])' The following function works fine: 'tiddler.tag.containsAny (["2009-08-03","2009-08-04","2009-08-05","2009-08-06","2009-08-07"])' but, doesn't do what I want. I'm trying to collect tiddlers that have date-time stamps as their title into a weekly status report. (I have another post here for a different problem with the application. I separated the problems. I am able to select an individual date, just not several.) If someone has another way to accomplish the same thing, great. BTW, I'm doing this at work, so I am severely limited in the plugins I have access to (and I'm not a good typist to enter plugins by hand). --~--~-~--~~~---~--~~ 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] 'undefined' displayed instead of tag in ForEachTiddler macro
Here is a ForEachTiddler macro I'm trying to include in an application and it is returning 'undefined' instead of what I expect. It could be a typo on my part, but... <> Each dated-time stamped tiddler is tagged with the WorkUnitID. I'm trying to collect all tiddlers for a day for a status report. So, I want the tag(WorkUnitID), followed by the text. The macro is properly returning the text, but is returning 'undefined' (as a missing tiddler link) instead. BTW, the WorkUnitID is not only a tag, but is also a tiddler with a ForEachTiddler macro displaying the tiddler.title and text in the same way. And that macro is returning the data correctly (It displays all the tiddler.text for a WorkUnitID in datetime order with links to each individual tiddler). --~--~-~--~~~---~--~~ 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: Is possible to create a remark IE REM out code for information only?
Dave, The syntax /% comment here %/ does not create an extra blank line - you did it yourself. Keep in mind when entering information into any editor, not just a tiddler, that you often enter something invisible. That is the command inserts a Carriage return/line feed. For example place the following in a tiddler; ''Comment between 2 lines follows'' /%comment%/ ''Comment between 2 lines with text after, follows'' /%comment%/Hello ''Comment between 2 lines with text Before, follows '' Hello/%comment%/ And you will get *Comment between 2 lines follows* -- -- *Comment between 2 lines with text after, follows* -- Hello -- *Comment between 2 lines with text Before, follows * -- Hello -- The only person/thing who entered a blank line after the first /%comment%/ was you There are some subtle cases where this does not occur, However the first thing is to get you own practices correct. Regards Tony TonyM If you have not found an easy way to do it with TiddlyWiki, you have missed something. www.tiddlywiki.com On Tue, Aug 4, 2009 at 16:13, DaveP wrote: > > Sorry I had not realised that it was Mark S. that gave me the tip, > that's what happens when you're up at midnight tinkering with TW. > > As for putting comments in code er no actually i don't use do or use > any html, css, java/script code as such yet, i would like to but > that's for another day :) > > As for "clarifying my needs and uses..if you are > specific about your requirements" > Unfortunately being a newbie (a few weeks of and on using TW) i do not > have the benefit of know alot of what may or may not result, hence > asking preceivably silly questions. I can only ask questions to the > best of my understanding of TW at the time i post...was it not > clear from my question that I am a newbie or should i simply say so? > > Especially with TW your understanding grows rapidly thanks to many > kind and helpful users (yourself included) sharing their much greater > knowledge and educating us less fortunates ;) This is what makes TW > and the forum such interesting place to come and an interesting > 'program' to use. > > Many thanks for opinion and i will bear it mind for future posts. > > Thanks > > DaveP > > On Aug 4, 2:37 am, Morris Gray wrote: > > On Aug 4, 8:25 am, DaveP wrote: > > > > > Hi Morris, > > > > > Thanks for the little tips which works although it has one annoying > > > little aspect which was unexpected and that is the inclusion of /% > > > text %/ in a tiddler produces a blank line. > > > > Actually it was Mark S. who suggested /% %/ and noted at the time it > > wouldn't be displayed. However that doesn't mean it wouldn't occupy > > space. > > > > I assumed that you were most probably wanting to put comments in code > > i.e. HTML, CSS or JavaScript hence the links I sent you. These allow > > comments in various code that may or may not be displayed or take up > > space when rendered. > > > > It appears now that you may be wanting to put notes in plain text > > tiddlers both without taking up space and being invisible when > > rendered. Perhaps you should clarify your needs and uses. You may or > > may not get what you want but there may be other solutions if you are > > specific about your requirements. > > > > Morris Grayhttp://twhelp.tiddlyspot.com > > A TiddlyWiki help file for beginners > > > > On Aug 4, 8:25 am, DaveP wrote: > > > > > > > > > Hi Morris, > > > > > Thanks for the little tips which works although it has one annoying > > > little aspect which was unexpected and that is the inclusion of /% > > > text %/ in a tiddler produces a blank line. > > > > > I know i sound like i am nitpicking but is there an option which will > > > not produce a blank line after exiting edit mode. It is just that if > > > you add in a few lines of notes or comments then it starts to intefere > > > with you tiddler appearance a bit more significantly? > > > > > TIA > > > > > /br > > > > > Dave > > > > > On Aug 3, 4:42 am, Morris Gray wrote: > > > > > > On Aug 3, 8:20 am, DaveP wrote: > > > > > > > Therefore i recall once a long time ago that you could REM out a > line > > > > > with a prefix, can this be done? > > > > > > It depends on the code you are working with, the two links below > > > > pretty much cover TiddlyWiki's uses. > > > > > > > http://tiddlywiki.org/wiki/Escapinghttp://tiddlywiki.org/wiki/Dev:Com... > > > > > > Morris Grayhttp://twhelp.tiddlyspot.com > > > > A TiddlyWiki help file for beginners > > > > > > On Aug 3, 8:20 am, DaveP wrote: > > > > > > > I want to insert notes for myself or others to understand what and > why > > > > > i have done the things i did. > > > > > Therefore i recall once a long time ago that you could REM out a > line > > > > > with a prefix, can this be done? > >
[tw] Re: How to access custom field passed through NewTiddler macro?
Udo Borkowski uses a custom field for his TiddlerAliasPlugin. May want to see how he does it, and if that answers your question: http://tiddlywiki.abego-software.de/#TiddlerAliasPlugin On Aug 4, 4:22 pm, shavinder wrote: > i have this macro call: > > < fields:"k:v">> > > and this in myTemplate: > > > > > > > > But in the new Tiddler which is created the textfield does not show > any value. > > i tried to inspect the innards and i think this line in the > config.macros.edit.handler(): > > e.value = store.getValue(tiddler,field) || defVal; > is the one which return an empty string when the field 'customField > [k]' is passed as the second argument. > > Additionaly: > In the firebug i can see this below the title div: > > value="v" edit="k"/> > > Any idea how can the field k be edited or viewed? --~--~-~--~~~---~--~~ 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: SaveAsPlugin rss feed produces list in alphabetic and not date sorted order??
On Aug 4, 4:03 pm, Eric Shulman wrote: > > It appears the limit functionality always ends up with a value that > > causes 0 tidders to be written. > > The problem only occurred if the limit:nnn param was not specified, > and has now been fixed. Get the update (v2.6.1) here: > http://www.TiddlyTools.com/#SaveAsPlugin Got it. Working so far. Thanks. -- rouilj --~--~-~--~~~---~--~~ 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] Looking for tag transclusion tree
Is it possible to modify the TagsTree plugin (from VisualTW) so that it will display a series of tiddlers transcluded inside each other instead of simply displaying a navigation menu? If not, is there a plugin which will have this function? -Jarble --~--~-~--~~~---~--~~ 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] How to access custom field passed through NewTiddler macro?
i have this macro call: <> and this in myTemplate: But in the new Tiddler which is created the textfield does not show any value. i tried to inspect the innards and i think this line in the config.macros.edit.handler(): e.value = store.getValue(tiddler,field) || defVal; is the one which return an empty string when the field 'customField [k]' is passed as the second argument. Additionaly: In the firebug i can see this below the title div: Any idea how can the field k be edited or viewed? --~--~-~--~~~---~--~~ 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: SaveAsPlugin rss feed produces list in alphabetic and not date sorted order??
> It appears the limit functionality always ends up with a value that > causes 0 tidders to be written. The problem only occurred if the limit:nnn param was not specified, and has now been fixed. Get the update (v2.6.1) here: http://www.TiddlyTools.com/#SaveAsPlugin enjoy, -e --~--~-~--~~~---~--~~ 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: SaveAsPlugin rss feed produces list in alphabetic and not date sorted order??
Hi Eric: On Aug 4, 1:11 am, Eric Shulman wrote: > > I am using the NewsFeed/RSS writing function of the SaveAs plugin > > fromhttp://www.tiddlytools.com/#SaveAsPluginversion2.5.2. > > was expecting the rss feed to be sorted by last published date. > > I concur... RSS (xml) output is now sorted by modification date (most recent > first). > > > Also if it is easy to add to the code, an option to limit the number > > Total number of tiddlers to write > > That's easy to do... I've added support for an optional "limit:nnn" > macro param that will truncate the resulting list of tiddlers before > writing to the file. > [...] > Get the updates (v2.6.0) here: > http://www.TiddlyTools.com/#SaveAsPlugin > http://www.TiddlyTools.com/#SaveAsPluginInfo I downlaoded it and I have a bug to report. It appears the limit functionality always ends up with a value that causes 0 tidders to be written. I am invoking it as: <> <> <> The inital popup from the browser in each case gives some non-zero (e.g. 123) number of tiddlers to save, yet I get the yellow status box at the end saying there are 0 tiddlers saved. 0 tiddlers written to C:\Documents and Settings\rouilj\My Documents \sec_class\SEC_tw.xml If I comment out: if (limit) tids=tids.slice(0,limit); then the proper number of tiddlers are written. I did start up firebug and set it to break on errors, and it isn't showing anything. However I suspect that limit is getting a value that evaluates to true yet is not a suitable second arg for slice resulting in a 0 length slice. (Which I claim should raise an error, so I could be all wrong here.) If I use: <> I get as expected 0 output tiddlers. If I user limit:-1 it puts 1 less then the number originally found (again as expected). -- rouilj --~--~-~--~~~---~--~~ 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] Javascript Alert
Newbie to TiddlyWiki here. When trying to Modify the SiteTitle, after editing I receive a Javascript Alert Box in my Chrome Browser that says: "Failed to save main TiddlyWiki file. Your changes have not been saved" Any suggestions? --~--~-~--~~~---~--~~ 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: CreatePath Fails on Network Drive v2.5.2
twFile.html, renamed to twFile.hta works SOMETIMES. FileSystem.html, renamed to FileSystem.hta works ALWAYS. twFile.hta works when accessed via Y:\Kevins-Useful-Pointers \twFile.hta. twFile.hta fails when accessed via \\servername\sharename\folder name with spaces\twFile.hta. I don't know whether twFile.hta is failing because of the UNC name (\ \) or because of the spaces in the folder name. --~--~-~--~~~---~--~~ 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: CreatePath Fails on Network Drive v2.5.2
> Problem: Version 2.5.2 fails to save backup on a network drive in a > Windows domain environment with IE7. Thanks for reporting this. We're in the process of preparing the next release, which should fix a variety of saving-related bugs. Could you check whether one of the following alpha versions fixes the problem for you: http://fnd.lewcid.org/tmp/tw253a1_twFile.html http://fnd.lewcid.org/tmp/tw253a1_FileSystem.html (Of course alpha versions are for testing purposes only - don't rely on them for important data.) -- F. --~--~-~--~~~---~--~~ 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] CreatePath Fails on Network Drive v2.5.2
Problem: Version 2.5.2 fails to save backup on a network drive in a Windows domain environment with IE7. I've got two empty TiddlyWikis. One is v2.5.0 and the other is v2.5.2. I have saved each in the same folder on a network folder (i.e. \\servername\sharename\foldername). I have defined txtBackupFolder to be "backups". When I click Save Changes, 2.5.0 saves the file and saves a backup in backups; 2.5.2 saves the file and fails to save a backup. No plugins. Windows XP SP3 On a Windows network, using Windows domain security. Fails when browser is IE7. It works with Firefox 2.5.1. Work-around: I used a text editor on the file, and inside the definition of copyFile, I changed copyFile: function(dest,source) { drivers.activeX.createPath(dest); to copyFile: function(dest,source) { ieCreatePath(dest); and I pasted ieCreatePath from the 2.5.0 TiddlyWiki immediately after the Main function. With the work-around, it saves the file and it saves the backup file. --~--~-~--~~~---~--~~ 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] Any plugin to manage plugins?
Ah, finally it struck me that the hazzle to manage plugins might not have be that way! Is there any plugin that lists plugins (other than the core feature)? What I'm hoping, but doubt, exist would be something that; * let's me deal with batches of plugins (more and more plugins seem to come with "packages") * lists the tags of the plugins * and there is a field where *comments* can be inserted *directly* next to each listed plugin Particularly the latter point is desirable! Actually, maybe there is something more general enabling the above not only with plugins but with any type of tiddler. Thanks! --~--~-~--~~~---~--~~ 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: question about matchtags
> I also tried (in a slightly different tact)... > < where > 'tiddler.tags.containsAll([context.inTiddler.title, "task"])' > write > '{{"< [["{{tiddler.title}}"]]>>"}}+"\n"' This approach avoids the problem of tags containing parentheses, and should work. One minor syntax issue: you can't use ">>" directly in the 'write' clause, as this sequence, regardless of where it occurs, signals the end of the macro declaration. As per the ForEachTiddler documentation: -- You may use other macro calls into the expression, especially in the actionParameters. To avoid that the >> of such a macro call is misinterpreted as the end of the <> macro you must escape the >> of the inner macro with $)) E.g. if you want to use <> inside the forEachTiddler macro you have to write
[tw] Re: question about matchtags
> <\> %0"}} "\n" > task {{tiddler.title}}>> > > I get the error: > > looking for 'task Phone call to MichaelVincent (27-Jul-09)' > using expression: '/\~task Phone call to MichaelVincent > \~/.test(tiddlertags) ( /\~27-Jul-09\~/.test(tiddlertags) ) ' > TypeError: /\~task Phone call to MichaelVincent \~/.test(tiddlertags) is not > a function > > The actual name of the tiddler in this case is [[Phone call to > MichaelVincent (27-Jul-09)]] Parentheses have special meaning in boolean expressions, and cannot be used within tag values passed to MatchTagsPlugin In addition, the <> syntax needs a properly formed expression that includes an operator. task {{tiddler.title}} should be task AND {{tiddler.title}} Unfortunately, this still doesn't permit use of tags containing parentheses. Sorry. -e --~--~-~--~~~---~--~~ 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: question about matchtags
I also tried (in a slightly different tact)... <>"}}+"\n"' >> but again don't have it right. On Aug 4, 8:08 pm, Trent Jordan wrote: > Thanks Eric, > > This almost worked. > > If I just use the line: > <\> %0"}} "\n" > {{tiddler.title}}>> > it works a dream. The only problem is that I have other tags and I want to > limit it to just the "task" tagged tiddlers that also have the {{tiddler > title}}. > > When I try the line: > <\> %0"}} "\n" > task {{tiddler.title}}>> > > I get the error: > > looking for 'task Phone call to MichaelVincent (27-Jul-09)' > using expression: '/\~task Phone call to MichaelVincent > \~/.test(tiddlertags) ( /\~27-Jul-09\~/.test(tiddlertags) ) ' > TypeError: /\~task Phone call to MichaelVincent \~/.test(tiddlertags) is not > a function > > The actual name of the tiddler in this case is [[Phone call to > MichaelVincent (27-Jul-09)]] > > Any ideas? > > Cheers > > Trent > > 2009/8/4 Eric Shulman > > > > > > below obviously doesn't work, but hopefully you get the gist? > > > <\> > > > %0"}} "\n" task [[tiddler.title]]>> > > > You got it almost right... just change > > [[tiddler.title]] > > to > > {{tiddler.title}} > > so that it uses a computed parameter instead of a literal value of > > "tiddler.title" > > > enjoy, > > -e > > Eric Shulman > > TiddlyTools / ELS Design Studios > > --~--~-~--~~~---~--~~ 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: question about matchtags
Thanks Eric, This almost worked. If I just use the line: <\> %0"}} "\n" {{tiddler.title}}>> it works a dream. The only problem is that I have other tags and I want to limit it to just the "task" tagged tiddlers that also have the {{tiddler title}}. When I try the line: <\> %0"}} "\n" task {{tiddler.title}}>> I get the error: looking for 'task Phone call to MichaelVincent (27-Jul-09)' using expression: '/\~task Phone call to MichaelVincent \~/.test(tiddlertags) ( /\~27-Jul-09\~/.test(tiddlertags) ) ' TypeError: /\~task Phone call to MichaelVincent \~/.test(tiddlertags) is not a function The actual name of the tiddler in this case is [[Phone call to MichaelVincent (27-Jul-09)]] Any ideas? Cheers Trent 2009/8/4 Eric Shulman > > > below obviously doesn't work, but hopefully you get the gist? > > <\> > > %0"}} "\n" task [[tiddler.title]]>> > > You got it almost right... just change > [[tiddler.title]] > to > {{tiddler.title}} > so that it uses a computed parameter instead of a literal value of > "tiddler.title" > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > > > --~--~-~--~~~---~--~~ 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: Links to tiddlers irrespective of capitalization
Oh, one more question: Is there any way to get the references ToolbarButton to work with LooseLinks? (Such that also "[[example]]" is counted as a reference to the tiddler with title "Example"?) Jason --~--~-~--~~~---~--~~ 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: Announcing Tiddlywiki 2.5.2
> That's exactly the reason why I don't understand jQuery hasn't been > made available as a plugin. There are already plugins dependent on > other plugins. The logic for incorporating jQuery in the core code rather than as a plugin is: 1) To allow the core code itself to use jQuery 2) To simplify writing plugins requiring jQuery so that they only need a version check, and not the dependent plugin logic It was the first reason that was more compelling: simplifying the development of the TiddlyWiki core code itself. There's a chicken/egg thing, though: TiddlyWiki, like most mature projects, aims for a fairly slow and steady development schedule, to try to keep the ecosystem stable for plugin authors and users. This means that, as you observe, it will inevitably take time for the use of jQuery to make a noticeable difference to end users. But the chicken/egg thing is invidious. If we don't make the pre-investment to add jQuery in advance, it's impossible for the core code to *ever* take advantage of it. I guess a lot of this depends on your conception of how important or useful is jQuery. If you're not a developer it seems like a fairly abstract thing, I guess. But you don't need to take my word for it, or Eric's word for it: it's really a very mainstream tool, that's been found to be useful by a great many people: http://docs.jquery.com/Sites_Using_jQuery The advantages of working with jQuery are very real. > And if jQuery really would bring more general advantages, like: > > * better compatibility between browsers As I've mentioned, this is one of the key advantages of jQuery: it does an excellent job of encapsulating browser differences. This means that new plugins or core code that's based on jQuery is much more likely to run correctly across all browsers. > * allowing to view a TiddlyWiki without javascript enabled browsers > * increasing the saving speed for large TWs For what it's worth, after the recent comments about saving speed I've personally been spending a lot of time profiling and examining the savechanges code. It'd be nice to give everyone a summer performance improvement... Many thanks Jeremy -- Jeremy Ruston mailto:jer...@osmosoft.com http://www.tiddlywiki.com --~--~-~--~~~---~--~~ 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: tiddlywiki: Toggling tags with CheckboxPlugin macro syntax to prevent recursion overflow?
> When I use , it too works this > time toggling tag1 for all tiddlers, > but I'm coming up with a "RangeError: Maximum call stack size > exceeded" on Safari and "InternalError: too much recursion" in Firefox > when I click on a WikiWord or reload the Tiddlywiki document I get a > Error in macro <> [1] As per the documentation in CheckboxPluginInfo: ...If you omit the tiddler title (and the | or : separator), the specified tag is assigned to the current tiddler... Thus, the correct syntax is: (i.e., omit the vertical bar) Although "|tag1" is invalid syntax, I will nonetheless look into it to catch the error and handle it better. enjoy, -e --~--~-~--~~~---~--~~ 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: tiddlywiki: Toggling tags with CheckboxPlugin macro syntax to prevent recursion overflow?
On Aug 4, 12:28 am, ccahua wrote: > The checkbox behavior works, but has erroneous > consequences. Hmm, maybe the error is just coincidental to CheckboxPlugin because Firebug is flagging the error to a line from the Sizzle CSS Selector Engine - v0.9.3 starting with this hairy regex: (function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]| ['"][^'"]*['"]|[^[\]'"]+)+\]|\\ oh well, I'll keep digging. Best, tony --~--~-~--~~~---~--~~ 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: Links to tiddlers irrespective of capitalization
Thanks Eric, Wolfgang and Jeroen for all the information! Eric, your plugin is really exactly what I was looking for, thank you very much!! Regards, Jason --~--~-~--~~~---~--~~ 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] tiddlywiki: Toggling tags with CheckboxPlugin macro syntax to prevent recursion overflow?
Hi, Toggling tags works fine with ToggleTagPlugin, but I can't seem to get it to work with CheckboxPlugin. Despite the documentation in CheckboxPluginInfo, I'm finding that the syntax for the checkbox target works in reverse (e.g., tiddlername| tagname) When I add this macro syntax to the ViewTemplate, it works adding a checkbox to all tiddlers and toggles 'tag1' for TestTiddler. When I use , it too works this time toggling tag1 for all tiddlers, but I'm coming up with a "RangeError: Maximum call stack size exceeded" on Safari and "InternalError: too much recursion" in Firefox when I click on a WikiWord or reload the Tiddlywiki document I get a Error in macro <> [1] I think I'm incorrectly specifying the macro syntax improperly specifying that the toggling should apply to all tiddlers by leaving the tiddlername blank. The checkbox behavior works, but has erroneous consequences. Does anyone use/know of an alternative syntax for macro usage ? Best, tony [1] I guess I'm getting a recursion error similiar to this thread: http://groups.google.com/group/TiddlyWiki/browse_frm/thread/33706a22b6af79ca/d912c4068e7e338b?lnk=gst&q=group%3Atiddlywiki+recursion#d912c4068e7e338b --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---