[tw] Michael Mahemoff's forum
Hi! I've been playing around with Michael Mahemoff's CommentsPlugin for use in an internal forum. I used forEachTiddlerPlugin to display a list of recent themes, however, I noticed that when a new comment is added to the theme, the modified field of the theme is not changed. Does anyone know how to include new comments in the fET syntax, so that when a new comment is added, the corresponding theme is moved to the top of the list? Or alternatively, can the CommentsPlugin be changed so that when you press the Add comment button, it also updates the containing theme's modified field? 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] parameters to a button
Say I need the name of a tiddler in the event function of createTiddlyButton: config.macros.suggestTags.handler = function (place,macroName,params,wikifier,paramString,tiddler) { [...] createTiddlyButton(place, this.label, this.prompt, function () { // HERE I WANT THE NAME OF THE TIDDLER. I.E. tiddler.title, BUT IT'S OUT OF SCOPE [...] }; , button, buttonMagic, null, par); } -- 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.
Re: [tw] parameters to a button
NB: Strictly development-related issues are better discussed on the dev group (http://groups.google.com/group/TiddlyWikiDev/) - you're more likely to get competent help there. Say I need the name of a tiddler in the event function of createTiddlyButton The way you presented it, with the function defined inside the macro handler, it should just work - you might wanna read up on JavaScript's scoping rules and closures. Assuming your code looks a little different than your example, you have a variety of options - e.g. caching data on the respective DOM element: config.macros.foo = { locale: { btnLabel: Foo, btnTooltip: lorem ipsum }, handler: function(place, macroName, params, wikifier, paramString, tiddler) { var btn = createTiddlyButton(place, this.locale.btnLabel, this.locale.btnTooltip, this.onClick, null, null, null, null); // use the DOM element to cache data btn.setAttribute(myTitle, tiddler.title); // ... optionally using jQuery jQuery(btn).data(myTiddler, tiddler); }, onClick: function(ev) { var e = ev || window.event; var btn = resolveTarget(e); // retrieve cached data var title = btn.getATtribute(myTitle); var tiddler = jQuery(btn).data(myTiddler); // ... } }; There are plenty of examples of this in the the TiddlyWiki core code, as well as in various plugins. 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] Re: Michael Mahemoff's forum
Hi, If you have a look at the comments tiddler custom fields, you'l see a root: rootTiddlersName. Instead of using the tiddler.title to display new entries in the list, you could use and link to the root field. Relatively easy and no changes needed. -mario On Sep 1, 11:34 am, whatever kbrezov...@gmail.com wrote: Hi! I've been playing around with Michael Mahemoff's CommentsPlugin for use in an internal forum. I used forEachTiddlerPlugin to display a list of recent themes, however, I noticed that when a new comment is added to the theme, the modified field of the theme is not changed. Does anyone know how to include new comments in the fET syntax, so that when a new comment is added, the corresponding theme is moved to the top of the list? Or alternatively, can the CommentsPlugin be changed so that when you press the Add comment button, it also updates the containing theme's modified field? 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: Michael Mahemoff's forum
Hm, didn't even notice the fields. Interesting. Anyway, I know how to access the field's value, however, I'm not sure how to structure the fET syntax, so that themes will be sorted by date modified of their comments, if any, otherwise by their own date modified. wAnywa On Sep 1, 1:37 pm, PMario pmari...@gmail.com wrote: Hi, If you have a look at the comments tiddler custom fields, you'l see a root: rootTiddlersName. Instead of using the tiddler.title to display new entries in the list, you could use and link to the root field. Relatively easy and no changes needed. -mario On Sep 1, 11:34 am, whatever kbrezov...@gmail.com wrote: Hi! I've been playing around with Michael Mahemoff's CommentsPlugin for use in an internal forum. I used forEachTiddlerPlugin to display a list of recent themes, however, I noticed that when a new comment is added to the theme, the modified field of the theme is not changed. Does anyone know how to include new comments in the fET syntax, so that when a new comment is added, the corresponding theme is moved to the top of the list? Or alternatively, can the CommentsPlugin be changed so that when you press the Add comment button, it also updates the containing theme's modified field? 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: Michael Mahemoff's forum
Hi whatever, It would be nice, if you always referred to what you're talking about by giving references like so: Mahemoff's CommentsPlugin [1] [1] http://tiddlywiki.mahemoff.com/CommentsPlugin.html#CommentsPluginInfo -- 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: Michael Mahemoff's forum
Yeah, sorry about that. Sloppy me. w On Sep 1, 2:36 pm, Tobias Beer beertob...@googlemail.com wrote: Hi whatever, It would be nice, if you always referred to what you're talking about by giving references like so: Mahemoff's CommentsPlugin [1] [1]http://tiddlywiki.mahemoff.com/CommentsPlugin.html#CommentsPluginInfo -- 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: Specify tags in prompt window
M, I am sure your suggestion would work, but I wasn't clear in stating what I wanted. I want to be able to fill in the title and the tag(s) in the same prompt. Tobias, You may have been on the right track with your suggestion of how to put both in the same prompt, but whenever I put in your code, my wiki has an issue with the tiddler containing the code for the prompt. To all, In the site http://www.tiddly-twab.com there is a Getting Started tiddler (it is the 4th of 5 default tiddlers). It has a link to download an html file. In that file is everything that you should need and for the new contact link, the TwabPlugin tiddler is key. With all of the different things that I have tried on my own, and from ideas sprouted from M's and Tobias' suggestions, nothing adds the ability to enter in the tag in the same prompt for the title. Technically, I don't truly need the Twab Plugin... assuming a replacement could be found (or possibly made), but so far my searching has come up empty. All I need is a plugin that will allow me to click on a link (no matter where its placement in my tiddlywiki), it gives me a single prompt that allows me to fill in the title and tag(s) and then opens a tiddler in view mode when I hit the OK button. Since my wiki is only for filling out forms for contact information, I would love it if I could just have a prompt instead of opening a new tiddler in edit mode, filling out the title, putting in the tag(s), closing edit mode, and then being able to fill in the form fields. Any help is appreciated. Thanks, jen On Aug 31, 12:51 pm, Tobias Beer beertob...@googlemail.com wrote: Some additions... the code could be simpified a bit and possibly corrected (note the empty space when concatenating). var title=prompt(Please enter title, );if(!title)return; var tags=config.macros.twab.importTags+' '+ prompt(Please enter tags, ); store.saveTiddler( title, title, tiddler ContactsFormTemplatedata{}/data, config.options.txtUserName, new Date(), tags ); If you want to enter both title and tags into the same promt, you could use a separator like this... var p=prompt(Please enter Title or Title|TagA [[Tag B]], ).split('|'); var title=p[0];if(!title||title=='')return; var tags=config.macros.twab.importTags+' '+p[1]; store.saveTiddler( title, title, tiddler ContactsFormTemplatedata{}/data, config.options.txtUserName, new Date(), tags ); Good luck, 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] Default Tiddler Tags
What I want my not even be doable, but if possible, I would like to have any new tiddler created to be, by default, given a tag that consists only of the first letter of the tiddler title without me having to manually put it in. For example (just in case what I said is not clear), if I create a tiddler titled Rebecca James, I would like it to be given a tag of the letter R. My request may not make much sense, but it's for a wiki for keeping track of people's contact information. And, using list filter [tag[R]], for example, I can be given a list of all contacts that start with the letter R when needed. Anybody have any ideas? jen -- 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: Specify tags in prompt window
Hi Jen, I have removed whatever twab thingy was in the code before and tested the following... script label=New Tiddler var allwaysTag=SomeTag; var p=prompt(Enter Title|TagA [[Tag B]],).split('|'); var title=p[0];if(!title||title=='')return; var tags=(allwaysTag+' '+p[1]).readBracketedList(); store.saveTiddler( title, title, tiddler ContactsFormTemplatedata{}/data, config.options.txtUserName, new Date(), tags); story.displayTiddler(null,title); /script Since I don't know what it was good for anyways... I have removed config.macros.twab.importTags and replaced it with a variable called allwaysTag which you could define to your liking. Unlike before, the tags are now converted into an array via bracketedList(). Maybe that's what previously caused problems. Assuming that you have InlineJavascriptPlugin installed this should work for you. Please note, that - if the lines are too long - google may introduce arbitrary linebreaks which you would have to undo. Also, if you wanted to insert Text from a template, you can replace... tiddler ContactsFormTemplatedata{}/data with... store.getTiddlerText(MyTemplateTiddler##OrItsSection), 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Hi Tobias, hi Måns, thks for your suggestions - they look very neat. But since I have already a collection of nearly 500 tiddlers tagged with bookmark I prefer Måns' solution. Måns, unfortunately when implemented the iframe is not display *entirely inside* the tiddler - means the tiddler height is stretched by the iframe's height. Instead the iframe pops at the lower tiddler's side over all tiddlers displayed below. On 31 Aug., 20:18, Tobias Beer beertob...@googlemail.com wrote: Hi Michael... To begin with, I can see the benefit of using slices in order to display a bookmark in an iframe. For one you could later on fetch all tiddlers tagged Bookmark and read their slice values... thus show a collection or populate a dropdown, etc However, you don't need any plugin for something like this! Here's what you do... 1) Create a tiddler called Bookmark containing... tiddler {{ var tid=store.getTiddler('$1'); tidtid.tags.contains(Bookmark)?'Bookmark##OUT':'';}} with: {{ 'tiddler Bookmark##SHOW with: '+ store.getTiddlerText('$1::URL')+' '+ store.getTiddlerText('$1::Description')+ '\';}}/% !OUT $1 !SHOW html iframe src=$1 title=$2 height=600 width=100% /iframe /html{{big{[[go to $2|$1]]}}} !END%/ 2) Right before... div class='viewer' macro='view text wikified'/div ...add the following to your ViewTemplate... div macro='tiddler Bookmark with: {{tiddler?tiddler.title:;}}'/ div 3) Provide the following slices in any tiddler tagged Bookmark /% Description:Some Site URL:http://somesite.com %/ ...et voilà, done! Note how you can also invoke a bookmark in any tiddler not tagged Bookmark like so: tiddler Bookmark##SHOW with: http://somesite.com; Some Site Enjoy, 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: Eric's UnsavedChangesPlugin blocks UpdateReferencesPlugin
No one any idea?? Michael On 26 Aug., 14:04, Michael.Tarnowski emt...@gmx.de wrote: Hi Matt, hi community - especially Eric, In (http://groups.google.com/group/tiddlywiki/browse_thread/thread/ 934bc6f92f78e06d Matt (Raychaser) introduced the UpdateReferencesPlugin,http://mattreimer.com/tiddly.html. I found that Eric's UnsavedChangesPlugin blocks this plugin: changing the tiddler name doesn't trigger to change the references accordingly. In it's description Eric describes some hijacks he implemented. Unfortunately I'am not TW coding experienced enough to digg deeper. May be Eric can give an explanation. Have a nice day, cheers Michael -- 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: Eric's UnsavedChangesPlugin blocks UpdateReferencesPlugin
No one any idea?? Michael On 26 Aug., 14:04, Michael.Tarnowski emt...@gmx.de wrote: Hi Matt, hi community - especially Eric, In (http://groups.google.com/group/tiddlywiki/browse_thread/thread/ 934bc6f92f78e06d Matt (Raychaser) introduced the UpdateReferencesPlugin,http://mattreimer.com/tiddly.html. I found that Eric's UnsavedChangesPlugin blocks this plugin: changing the tiddler name doesn't trigger to change the references accordingly. In it's description Eric describes some hijacks he implemented. Unfortunately I'am not TW coding experienced enough to digg deeper. May be Eric can give an explanation. Have a nice day, cheers Michael -- 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: Eric's UnsavedChangesPlugin blocks UpdateReferencesPlugin
No one any idea?? Michael On 26 Aug., 14:04, Michael.Tarnowski emt...@gmx.de wrote: Hi Matt, hi community - especially Eric, In (http://groups.google.com/group/tiddlywiki/browse_thread/thread/ 934bc6f92f78e06d Matt (Raychaser) introduced the UpdateReferencesPlugin,http://mattreimer.com/tiddly.html. I found that Eric's UnsavedChangesPlugin blocks this plugin: changing the tiddler name doesn't trigger to change the references accordingly. In it's description Eric describes some hijacks he implemented. Unfortunately I'am not TW coding experienced enough to digg deeper. May be Eric can give an explanation. Have a nice day, cheers Michael -- 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.
Re: [tw] Default Tiddler Tags
Hi Jen, I would think about using a search plugin instead of using a filter. YourSearch plugin [1] is excellent: in your case you would type R or Reb and the options would be presented to you. I place seach at the top left of my TW. That way when Your search is doing its business, you can see the results without the underlying page scrolling. The easy way is to add search to MainMenu Alternatively FND's listnav might suit your needs Alex [1] http://tiddlywiki.abego-software.de/#YourSearchPlugin [2] http://svn.tiddlywiki.org/Trunk/contributors/FND/plugins/ListNavMacro.js On 1 September 2010 19:32, Jen jenfi...@filerins.com wrote: What I want my not even be doable, but if possible, I would like to have any new tiddler created to be, by default, given a tag that consists only of the first letter of the tiddler title without me having to manually put it in. For example (just in case what I said is not clear), if I create a tiddler titled Rebecca James, I would like it to be given a tag of the letter R. My request may not make much sense, but it's for a wiki for keeping track of people's contact information. And, using list filter [tag[R]], for example, I can be given a list of all contacts that start with the letter R when needed. Anybody have any ideas? jen -- 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. -- 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] Tspace issue: scroll to top
I got a wonderful little scroll to top of tiddler (great to set focus at beginning of longer tiddlers) via ELS, which is put into EditTemplate and/or VeiwTemplate. This works great for vanilla but in TSpace the up arrow ends up in the top right tiddler corner when it is supposed to be in the bottom right tiddler corner. Here's a next to minimal test case; http://testcase1.tiddlyspace.com/#Note%20ViewTemplate%20EditTemplate Suggestions? :-) -- 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Hi Michael But since I have already a collection of nearly 500 tiddlers tagged with bookmark I prefer Måns' solution. My solution is just fighting symptoms - Tobias' solution *replaces* Eric's Bookmark technique. It will use your tiddlers tagged with Bookmark and display (almost) the exact same thing as you'd expect from Eric's plugin. I would/will personally use Tobias' solution, as it is more versatile in that it also can be used in tiddlers *not* tagged with bookmark, and you can easily make your changes to the iframes dimensions etc - in the html-part: html iframe src=$1 title=$2 height=600 width=100% /iframe /html Tobias has made a most elegant and trustworthy solution - let's embrace it :-) Great job Tobias!! Thanks for sharing it. Regards Måns Mårtensson 1) Create a tiddler called Bookmark containing... tiddler {{ var tid=store.getTiddler('$1'); tidtid.tags.contains(Bookmark)?'Bookmark##OUT':'';}} with: {{ 'tiddler Bookmark##SHOW with: '+ store.getTiddlerText('$1::URL')+' '+ store.getTiddlerText('$1::Description')+ '\';}}/% !OUT $1 !SHOW html iframe src=$1 title=$2 height=600 width=100% /iframe /html{{big{[[go to $2|$1]]}}} !END%/ 2) Right before... div class='viewer' macro='view text wikified'/div ...add the following to your ViewTemplate... div macro='tiddler Bookmark with: {{tiddler?tiddler.title:;}}'/ div 3) Provide the following slices in any tiddler tagged Bookmark /% Description:Some Site URL:http://somesite.com %/ ...et voilà, done! Note how you can also invoke a bookmark in any tiddler not tagged Bookmark like so: tiddler Bookmark##SHOW with: http://somesite.com; Some Site Enjoy, 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: Eric's UnsavedChangesPlugin blocks UpdateReferencesPlugin
No one any idea?? Michael On 26 Aug., 14:04, Michael.Tarnowski emt...@gmx.de wrote: Hi Matt, hi community - especially Eric, In (http://groups.google.com/group/tiddlywiki/browse_thread/thread/ 934bc6f92f78e06d Matt (Raychaser) introduced the UpdateReferencesPlugin,http://mattreimer.com/tiddly.html. I found that Eric's UnsavedChangesPlugin blocks this plugin: changing the tiddler name doesn't trigger to change the references accordingly. In it's description Eric describes some hijacks he implemented. Unfortunately I'am not TW coding experienced enough to digg deeper. May be Eric can give an explanation. Have a nice day, cheers Michael -- 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: Eric's UnsavedChangesPlugin blocks UpdateReferencesPlugin
No one any idea?? Michael On 26 Aug., 14:04, Michael.Tarnowski emt...@gmx.de wrote: Hi Matt, hi community - especially Eric, In (http://groups.google.com/group/tiddlywiki/browse_thread/thread/ 934bc6f92f78e06d Matt (Raychaser) introduced the UpdateReferencesPlugin,http://mattreimer.com/tiddly.html. I found that Eric's UnsavedChangesPlugin blocks this plugin: changing the tiddler name doesn't trigger to change the references accordingly. In it's description Eric describes some hijacks he implemented. Unfortunately I'am not TW coding experienced enough to digg deeper. May be Eric can give an explanation. Have a nice day, cheers Michael -- 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Måns, I see your point and appreciate Tobias code very much - but I don't want to touch 500 tiddlers to change manually ;-) Michael On 1 Sep., 22:25, Måns humam...@gmail.com wrote: Hi Michael But since I have already a collection of nearly 500 tiddlers tagged with bookmark I prefer Måns' solution. My solution is just fighting symptoms - Tobias' solution *replaces* Eric's Bookmark technique. It will use your tiddlers tagged with Bookmark and display (almost) the exact same thing as you'd expect from Eric's plugin. I would/will personally use Tobias' solution, as it is more versatile in that it also can be used in tiddlers *not* tagged with bookmark, and you can easily make your changes to the iframes dimensions etc - in the html-part: html iframe src=$1 title=$2 height=600 width=100% /iframe /html Tobias has made a most elegant and trustworthy solution - let's embrace it :-) Great job Tobias!! Thanks for sharing it. Regards Måns Mårtensson 1) Create a tiddler called Bookmark containing... tiddler {{ var tid=store.getTiddler('$1'); tidtid.tags.contains(Bookmark)?'Bookmark##OUT':'';}} with: {{ 'tiddler Bookmark##SHOW with: '+ store.getTiddlerText('$1::URL')+' '+ store.getTiddlerText('$1::Description')+ '\';}}/% !OUT $1 !SHOW html iframe src=$1 title=$2 height=600 width=100% /iframe /html{{big{[[go to $2|$1]]}}} !END%/ 2) Right before... div class='viewer' macro='view text wikified'/div ...add the following to your ViewTemplate... div macro='tiddler Bookmark with: {{tiddler?tiddler.title:;}}'/ div 3) Provide the following slices in any tiddler tagged Bookmark /% Description:Some Site URL:http://somesite.com %/ ...et voilà, done! Note how you can also invoke a bookmark in any tiddler not tagged Bookmark like so: tiddler Bookmark##SHOW with: http://somesite.com; Some Site Enjoy, 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] Tag tiddler to another
Hi All I am looking for a simple/non-manual way to link one tiddler to another, using tags. I can do it manuallybut my students get scared if I ask them to play with code...even something as simple as putting a tiddler title in double-squared brackets!!! Lewcids' TaggerMacro allows me to add to tags...tags that already exists as tags. Eric QuickEdit_link lets me link to an existing tiddler and creates a link in the text of the tiddler.can someone create a simple bit of code that lets me see the list of existing tiddlers (less excludeLists !) - as QuickEdit_list does, and on selection adds that tiddler name as a tag to the open tiddler (I am hoping this can be accesses through the toolbar... Hope that is clear. Or maybe someone already has a quick way of doing it... 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 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: Default Tiddler Tags
Hi Jen, Your approach indeed does not make a lot of sense. Instead of creating redundant tags, use a macro that neatly lists what you are looking for, like TiddlerListMacro [1] or ForEachTiddlerPlugin [2] or some custom script via InlineJavascriptPlugin. [1] jackparke.googlepages.com/jtw.html [2] http://tiddlywiki.abego-software.de/#ForEachTiddlerPlugin 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Hi Måns Tobias, I discovered that Tobias' code works with my original slice data as well ;-))) THanks for your help!! Michael On 1 Sep., 23:20, Michael.Tarnowski emt...@gmx.de wrote: Måns, I see your point and appreciate Tobias code very much - but I don't want to touch 500 tiddlers to change manually ;-) Michael On 1 Sep., 22:25, Måns humam...@gmail.com wrote: Hi Michael But since I have already a collection of nearly 500 tiddlers tagged with bookmark I prefer Måns' solution. My solution is just fighting symptoms - Tobias' solution *replaces* Eric's Bookmark technique. It will use your tiddlers tagged with Bookmark and display (almost) the exact same thing as you'd expect from Eric's plugin. I would/will personally use Tobias' solution, as it is more versatile in that it also can be used in tiddlers *not* tagged with bookmark, and you can easily make your changes to the iframes dimensions etc - in the html-part: html iframe src=$1 title=$2 height=600 width=100% /iframe /html Tobias has made a most elegant and trustworthy solution - let's embrace it :-) Great job Tobias!! Thanks for sharing it. Regards Måns Mårtensson 1) Create a tiddler called Bookmark containing... tiddler {{ var tid=store.getTiddler('$1'); tidtid.tags.contains(Bookmark)?'Bookmark##OUT':'';}} with: {{ 'tiddler Bookmark##SHOW with: '+ store.getTiddlerText('$1::URL')+' '+ store.getTiddlerText('$1::Description')+ '\';}}/% !OUT $1 !SHOW html iframe src=$1 title=$2 height=600 width=100% /iframe /html{{big{[[go to $2|$1]]}}} !END%/ 2) Right before... div class='viewer' macro='view text wikified'/div ...add the following to your ViewTemplate... div macro='tiddler Bookmark with: {{tiddler?tiddler.title:;}}'/ div 3) Provide the following slices in any tiddler tagged Bookmark /% Description:Some Site URL:http://somesite.com %/ ...et voilà, done! Note how you can also invoke a bookmark in any tiddler not tagged Bookmark like so: tiddler Bookmark##SHOW with: http://somesite.com; Some Site Enjoy, 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Hi Michael, Just as Måns was saying... it all works neatly ;o) ...one might even say backwards-compatible. Well, not really, it was just coded on the same paradigms. But above all, without all of Erics advise (from a few months ago), I wouldn't have been able to pull this out of my sleeves within a few minutes. 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Thanks Tobias, I was just irritated by your way of writing slices: /% Description:Some Site URL:http://somesite.com %/ I forgot that is equal to the tabular style: % |Description|Some Site| |URL|http://somesite.com| %/ Cheers Michael On 2 Sep., 00:11, Tobias Beer beertob...@googlemail.com wrote: Hi Michael, Just as Måns was saying... it all works neatly ;o) ...one might even say backwards-compatible. Well, not really, it was just coded on the same paradigms. But above all, without all of Erics advise (from a few months ago), I wouldn't have been able to pull this out of my sleeves within a few minutes. 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] Saving a new file produces damaged file
I downloaded a new copy of the empty.html, opened it (WinXP SP3, FF 3.6 or IE 8) and saved it (with the save-Button on the right side). The original file`s size was 360 kB, the saved one is only 33 kB - and when I open it with the browser, I see just some plain text... Any idea what ist going wrong? -- 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Hi Michael, Dunno how you manage them, but your 500 bookmarks may do well with either in combination with a Bookmark-Cloud [1] or FND's TagsplorerMacro [2] [1] http://www.tiddlytools.com/#TagCloudPlugin [2] http://fnd.lewcid.org/tmp/tagsplorer.html 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Hi Michael, Dunno how you manage them, but your 500 bookmarks may do well either in combination with a Bookmark-Cloud [1] or FND's TagsplorerMacro [2]... [1] http://www.tiddlytools.com/#TagCloudPlugin [2] http://fnd.lewcid.org/tmp/tagsplorer.html 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Thanks for this tip Tobias - but I really use both plugins in my TW ;-) Michael On 2 Sep., 00:45, Tobias Beer beertob...@googlemail.com wrote: Hi Michael, Dunno how you manage them, but your 500 bookmarks may do well either in combination with a Bookmark-Cloud [1] or FND's TagsplorerMacro [2]... [1]http://www.tiddlytools.com/#TagCloudPlugin [2]http://fnd.lewcid.org/tmp/tagsplorer.html 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: Eric's Bookmark technique not compliant with TW 2.6.1 ?
Thanks for this tip Tobias - but I really use both plugins in my TW ;-) Actually, a lot of additional tags categorise the bookmarks and high- level tiddlers generates with fET lists with descriptions for each category. Michael On 2 Sep., 00:45, Tobias Beer beertob...@googlemail.com wrote: Hi Michael, Dunno how you manage them, but your 500 bookmarks may do well either in combination with a Bookmark-Cloud [1] or FND's TagsplorerMacro [2]... [1]http://www.tiddlytools.com/#TagCloudPlugin [2]http://fnd.lewcid.org/tmp/tagsplorer.html 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: Strange behavious over http?
OK...I have put some simple examples in an empty TW here - http://dl.dropbox.com/u/284644/empty.html Both tiddlers Intro-section and Intro-html have specific ViewTemplates that I can get to work...something in my use of tiddler sections...can someone point me to my errors !!! Thanks in Advance Skye On 30 Ago, 12:04, skye riquelme riquelme.s...@gmail.com wrote: OK On 30 Ago, 04:17, FND f...@gmx.net wrote: No responses to this question yet Can you create a minimal test case*, posting a document with only those customizations necessary to reproduce the issue? (Here I would imagine that means adding TaggedTemplateTweak and your ViewTemplate to a vanilla TiddlyWiki.) -- F. *http://tiddlywiki.org/wiki/Troubleshooting -- 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.