[tw] Two colums macro in ViewTemplate?
Hi there, I wonder if it is possible to have a two colums macro in ViewTemplate? * On the left (column 1) data about a persons birthday and other info. * On the right (column 2) info regarding that persons death info. I think that should look nice. I'm configurating Ron's familytree so it fits me better. I wanna have a certain design. Hope someone could guide me in the right directions. //Tobbe -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Modifier name in RSS feed?
Thanks for the tip, i'll definitively try this! On Aug 23, 11:02 am, FND wrote: > > I'd like to know if it's possible to include the modifier's name [...] > > on every RSS feed? > > You could use a small plugin that hijacks and extends tiddlerToRssItem: > > (function() { > > var _tiddlerToRssItem = tiddlerToRssItem; > tiddlerToRssItem = function(tiddler, uri) { > var author = tiddler.modifier.htmlEncode(); > return _tiddlerToRssItem.apply(this, arguments). > replace("", "" + author + ""); > > }; > })(); > > HTH. > > -- F. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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] Nested tag search?
Hi, I have hundreds of tiddlers tagged with thousands of tags. Is there an easy, nested, way to browse them? For example, I want to start by looking on all tiddlers that have the tag "A" and then progress to those that have "A" and "B", reconsider, return to "A" only and then to "A" and "C" and from there to "A", "C" and "D"? I can use the search field (I'm using YourSearch) but the user interface is not that good. Is it possible to build some sort of automatic directory? I'm looking for a windows folder style experience but with tags. Thanks. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Two colums macro in ViewTemplate?
Hi Tobbe, A) You could use HideWhenPlugin[1] to configure your ViewTemplate such that for a tiddler tagged "person" you would have two div elements floating-left, populated with the contents of certain sections of your person-tiddler. So your StyleSheet could read: .p_birth, .p_death{float:left;width:48%;margin:0;padding:5px 1%;} .p_birth {backgorund:#dfd;} .p_death {backgorund:#fdd;} .p_more{clear:both;} Note how this would mean that for a person-tiddler you would only show those sections that are specifically declared to be shown in your ViewTemplate. B) However, all of this wouldn't be helpful if you would have to extract your information from tiddler fields... if that were so, I would probably set up a transclusion called BirthDeathInfo using InlineJavascriptPlugin [2] that would be fed with an input parameter of the person-tiddler that you want to display information for, then have it fetch the data from the fields while outputting the information into pre-formatted blocks, like so... var tid='$1';if (tid=='$'+'1')return; //tiddler title -> none? -> get out! var out="{{p_birth{\n''birth:'' %0\n}}}{{p_death{\n''death:'' %1\n}}}"; //output format var b=store.getValue(tid,'birth_field_name"); //get birth var d=store.getValue(tid,'death_field_name"); //get death return out.format([b,d]); //insert info into template and output results ...and then invoke that script in the ViewTemplate again using HideWhenPlugin, just like above, via: This is a much better approach as any additional tiddler text would be shown as usual. I hope, all that wasn't too confusing. Tobias. [1] http://mptw.tiddlyspot.com/#HideWhenPlugin [2] http://tiddlytools.com/#InlineJavascriptPlugin -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Nested tag search?
I believe TagsplorerMacro [1][2] provides just what you need... Tobias. [1] http://fnd.lewcid.org/tmp/tagsplorer.html [2] http://groups.google.com/group/tiddlywiki/browse_frm/thread/2986d7efae85b6ef -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Nested tag search?
Thanks a lot. That's exactly what I was looking for. On Aug 28, 2:18 pm, Tobias Beer wrote: > I believe TagsplorerMacro [1][2] provides just what you need... > > Tobias. > > [1]http://fnd.lewcid.org/tmp/tagsplorer.html > [2]http://groups.google.com/group/tiddlywiki/browse_frm/thread/2986d7efa... -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Two colums macro in ViewTemplate?
Please note that there's some nasty text-wrapping in the code above as introduced by google. Btw. can anyone explain why they're even engaging in this somewhat nonsensical procedure to introduce line- feeds where there were none before and none intended? Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Two colums macro in ViewTemplate?
The ViewTemplate looks like this now ( - ) Child of och Spouse(s): Child of Facts < (here's the birthfacts) Inga fakta finns born i occupation died <- (here's the deathfacts) i i en ålder av Biografi How would you put it all together? //Tobbe -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Two colums macro in ViewTemplate?
I have posted a corrected version of the javascript on pastebin: http://pastebin.com/hH5dmLw6 -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Two colums macro in ViewTemplate?
Hi Tobbe, It looks like the information you are looking for is already in the "Facts" section. So, you would first have to define which information you want in the left column and which in the right one. Once you know that it's even simpler than thought... You merely have two wrap the contents of concern into outer divs like so... ...whereas "span birth" or "span death" stand for all the span elements from the original template that you want to insert into the corresponding column... with all the required macro calls! The css would just be as in my first post: .l_col, .r_col{float:left;width:48%;margin:0;padding:5px 1%;backgorund:#dfd;} .r_col {backgorund:#fdd;} -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Two colums macro in ViewTemplate?
Hi Tobbe, It looks like all the information you are looking for is already in the "Facts" section. You would first have to define which information you want in the left column and which in the right one. Once you know that it's even simpler than I thought... You merely need to play with wrapping the right contents into outer divs like so... ...whereas "span birth" or "span death" stand for all the span elements from the original template that you want to insert into the corresponding column... with all the required macro calls! The css would just be as in my first post: .l_col, .r_col{float:left;width:48%;margin:0;padding:5px 1%;backgorund:#dfd;} .r_col {backgorund:#fdd;} -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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] Plugins Installation Error
Using Opera and the latest version of TiddlyWiki whenever I try to install plugins or themes (using the backstage) I always get this error: Error getting list of tiddlers, click Cancel to try again How can I install plugins and themes another way or fix this way of installing plugins -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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] Making an automatically updating list of links to a group of tiddlers
I have a habit of grouping links to my journal entries in a separate tiddler, and whenever I make a new journal entry I manually add the link to that entry into that tiddler. I was wondering if it was possible to automate this process so that my "Links to Journals" tiddler would automatically search for any tiddler with the word "Journal" in its name and add it to itself? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Two colums macro in ViewTemplate?
I did an experiment some time ago. May be it is of interest. -m http://geneology.tiddlyspot.com/ On Aug 28, 9:47 am, Tobbe wrote: > Hi there, > > I wonder if it is possible to have a two colums macro in ViewTemplate? > > * On the left (column 1) data about a persons birthday and other info. > * On the right (column 2) info regarding that persons death info. > > I think that should look nice. I'm configurating Ron's familytree so > it fits me better. I wanna have a certain design. Hope someone could > guide me in the right directions. > > //Tobbe -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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] Calendar Popups
I need daily calendar popups to display any desired text when hovered over. Examples, holiday names, "In-service Day", etc. Which plugins need to be altered and altered how? Thanks, homeops -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Making an automatically updating list of links to a group of tiddlers
Hi Zans, I think your solution would be much cleaner and unambiguous if instead of name-searching you would use tagging. Just tag your notes with Tag_Category_A, Tag_Category_B, etc... then use the tagging macro in your notes-overview to list notes in each category, like so: !Notes in Tag_Category_A <> !Notes in Tag_Category_B <> Having your notes-categories tag to some overview tiddler called "Notes" you could automate this even one step further With InlineJavascriptPlugin and the list-macro: var c,cats=store.getTaggedTiddlers("Notes"),out=''; for(c=0;c>\n'; } return out; You could as well script a search for "Notes" in the title of all tiddlers, but again, I would avoid such ambiguous undertakings. Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Calendar Popups
Hi homeops, A) I never quite understood for what reasons there's two of them but have a look at: http://tiddlytools.com/#DatePlugin http://tiddlytools.com/#CalendarPlugin I have to admit that I don't quite like the way holidays are defined... it's just a simple array in the plugin code that neither gives you an opportunity to display a title for your dates, nor does it allow you to define different date-categories, e.g. "holidays", "birthdays", "whatnots", etc... If you need reminders, check out: http://remindermacros.tiddlyspot.com/ ...or if you're going full fledged GTD, look at ticklers in: http://mgsd.tiddlyspot.com ...or have a look at my: http://tbgtd.tiddlyspot.com B) Alternatively, you could have a tiddler called "date" ...which you would have date-categories tagging to ...which in turn you could use as tags on date-tiddlers. Using TiddlerTweaker or a custom View- or EditTemplate, you could edit the "created" field of those date- tiddlers to match your desired date. With a simple script you could then fetch all date-tiddlers for today or the next x-days for which the created date matches and have them grouped by date-category. C) Simpler still, you could have a tiddler for each date-category into which you would put line-items for each date under headings that correspond to the day, like so... Tiddler[[Holidays]] ...tagged: DateCategory !January !!01.01. New Years !August !!28.08. My new holiday Tiddler[[Birthdays]] ...tagged: DateCategory !28.08. [[Mum]]:1966 ...then a script could check whether or not there are sections for the current day in each date-category tiddler and if so, fetch the line items and return the dates under sections headings of each found category, like so: tiddler[[GetDatesForToday]] var c,cats,d,dt,i,out='',txt; cats=store.getTaggedTiddlers('DateCategory'); for(c=0;c
[tw] Re: Calendar Popups
To avoid unwanted linebreaks, I have also pasted the script to a pastebin: http://pastebin.com/hm28iLhs Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Plugins Installation Error
Hi Kenny, Tried it too on XP SP3 and Opera 10.10 with no luck. ImportTiddlersPlugin from tiddlytools fails as well. Looks like at this point you have at least two options: a) use a different browser b) copy & paste plugins while not forgetting to tag them systemConfig Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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] Task dependencies
Hi! I'm trying to establish a list of active tasks. Each task is tagged with its name and, when finished, with a corresponding finish tag. Example: Task name: task1 Tags: task1 Tags when finished: task1_finished Each task is in its own tiddler, however, they are displayed in the Project tiddler, which also contains all the tags (task1, task1_finished etc.). There's a whole bunch of task and each one is only active when all the previous tasks have the taskX_finished tag. Also, the problem is that while the sequence of tasks is always the same, not all the tasks are always used. For example, I may use task1, task2, task3, task7 and task8, but not task4, task5 and task6. So if I want task8 to be active, the tiddler must contain both task1 and task1_finished tags or neither. The same for all the preceding tasks. I want to make a table, where each column displays the project which have a certain task active: task1 task2 task3 task4 task5 task6 task7 task8 Project I've tried the following: <> and <> Any ideas? w -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Task dependencies
Hi w, First question: Why tag a task with itself? Furthermore, I NEVER tag a high-level item (e.g. a project) with its subitems (e.g. tasks). I would strongly recommend that you tag your tasks with the corresponding project, not the other way around! Also, whether a task is finished or open is independent form it's name. Therefore, you should have two more tags indicating a task- status: "todo" and "done". In tbGTD [1] I went so far as to prefix certain tags for easier recognition. Thus, there are #todo, #done, #waiting, etc... with # indicating that these are task-status-tags. Likewise I would have $active or $future or $completed as project- status-tags. Finally, other than you knowing about it, I fail to see how exactly you are modeling task-dependencies. As for that I would simply tag a task with another task and thus have the latter depend on the former ...just like high level items ((sub-)projects) depend on subitems (tasks). What do you mean with "the sequence of tasks is always the same"? I prefer to think in stages and thus have tasks not only tag to a project but also to a "stage", such that one might only get from one stage to another if the previous stage had been completed, think "milestones". So, a stage 1 task for project A might be equivalent to a stage 1 task of project B, but they're not called the same as that would violate TiddlyWiki's unique naming conventions. Therefore, have them tag to a stage of a unique name and you know what point in the project you're at. Eventually you might want a table for project xyz to look like this... |open tasks|done tasks|h |open tasks for stage 1 of project xyz|done tasks for stage 1 of project xyz| |open tasks for stage 2 of project xyz|done tasks for stage 2 of project xyz| |etc...|p.p...| No offense, but unless you're no longer in a design stage of your task management you might want to consider designing it from scratch. Eventually, (especially x-tab of) tbGTD may really be of help to you (see toolbar or help documentation). Cheers and good luck, Tobias. [1] http://tbgtd.tiddlyspot.com/ -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: Plugins Installation Error
Just updated to Opera 10.61... no changes ...import is not working. Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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: fET syntax for including only a part of the title
Alternatively, I tried putting Else in a field called projecttask and then I tried to invoke it with fET: <> While the store.getValue(tiddler,"projecttask") syntax works elsewhere, it doesn't work here. I suspect it has to do with the double quotes around the field name ("projecttask"). I tried escaping them with backslashes, but I got an error. I'd prefer the first method, to avoid having to create additional fields, but I can work with the second method. w On Aug 27, 9:53 am, whatever wrote: > Hi! > I have a tiddler named formTaskSomething_Else. > In this tiddler, there is a form, as well a list of all tiddlers > tagged with UsedWithTask_Else. > I've tried the following: > < 'tiddler.tags.contains("UsedWithTask_"+context.inTiddler.title)'>> > Obviously this only works when the whole tiddler title > (formTaskSomething_Else) is needed. What I need is a way to include > only a part of the tiddler title into the fET syntax (in this case: > Else). > > w -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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.