Re: mGSD Journals and projects

2011-02-03 Thread cmari
Hi,
I have played around with views a bit and have a view that does
something similar to what I think you're looking for.
It uses the core tiddler macro and NestedSlidersPlugin (http://
tiddlytools.com/#NestedSlidersPlugin).
Maybe if you took a look you'd be able to tweak it to fit your needs?
Note: If you have the latest version of TW (2.6.2) this view will
distinguish among tiddlers with contents and those with none - and
only offer the slider when there's content to display.

You can see it in action here:
http://cmarimgsd.tiddlyspot.com/

the actual code is:
merge(Tiddler.prototype,{
//myAction with contents
  render_myAction: function() {
var showControl= ;
var mydisplayType = ;
var tid_length=;
mydisplayType += store.getTiddlerText(this.title);
tid_length +=mydisplayType;
if (tid_length !=null) {showControl += 
'+++^^[»][close]tiddler
[[%0]]===\n'; }

return this.renderUtil(
'{{action{'+
'toggleTag Done [[%0]] -'+
'multiToggleTag tag:ActionStatus title:[[%0]]'+
'singleToggleTag tag:Starred title:[[%0]]'+
'deleteTiddler [[%0]]'+
'nbsp; [[%0]] '+
'}}} %1',
[
this.title,
showControl.format([this.title])
]
);},

});
cmari

On Feb 3, 10:29 am, stuckagain webmas...@thrale.com wrote:
 I am making progress.

 In the tag dashboard I have discovered that ...

         div macro=mgtdList title:'Journals'
                 tags:'Journal  !Trash'
                 view:DoneAction
                 dontShowEmpty:yes
                 sort:-title
                 gView:bold
                 ignoreRealm:yes
                 /div

 ... is almost what I want. Note the different view: parameter. This
 renders the tiddler text as a notes icon, which if you hover the mouse
 over the icon renders the text in an unwikified way as a tooltip.

 I now understand that to get what I want, I need to create a new view
 type in TiddlerViewMethods. This should be a slight variation on
 DoneAction ...

         render_DoneAction: function() { return this.renderUtil(
                 '{{action{'+
                 'toggleTag Done [[%0]] -'+
                 'singleToggleTag tag:Starred title:[[%0]]'+
                 ' [[%0]] '+
                 'deleteTiddler [[%0]]'+
                 '}}}'+
                 '{{notesLink{showNotesIcon [[%0]]}}}',
                 [
                         this.title
                 ]
         );},

 the bit that needs to be changed is ...

                 '{{notesLink{showNotesIcon [[%0]]}}}',

 ... so that the body text is instead shown wikified in a table cell or
 area next to (or under) the tiddlertitle (which is a date)

 Alas, my javascript skills aren't good enough. Can someone assist?

 I'd also like to get this in a slider and wrapping it all in ...

      slider Journals
         mgtdList code here
      /slider

 ... doesn't work either!

 Can anyone help me in my stumbling journey towards this solution?

 Thanks

-- 
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to gtd-tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/gtd-tiddlywiki?hl=en.



Re: mGSD Journals and projects

2011-02-03 Thread cmari
Hi again,
I forgot to add: you could of course just use slider instead of the
NestedSlidersPlugin.   I just like the options for display offered by
the plugin.
In that case,  the relevant line in the view would be:

if (tid_length !=null) {showControl += 'slider \ntiddler [[%0]]
\n/slider';}

cmari

On Feb 3, 12:04 pm, cmari cema...@gmail.com wrote:
 Hi,
 I have played around with views a bit and have a view that does
 something similar to what I think you're looking for.
 It uses the core tiddler macro and NestedSlidersPlugin (http://
 tiddlytools.com/#NestedSlidersPlugin).
 Maybe if you took a look you'd be able to tweak it to fit your needs?
 Note: If you have the latest version of TW (2.6.2) this view will
 distinguish among tiddlers with contents and those with none - and
 only offer the slider when there's content to display.

 You can see it in action here:http://cmarimgsd.tiddlyspot.com/

 the actual code is:
 merge(Tiddler.prototype,{
 //myAction with contents
   render_myAction: function() {
 var showControl= ;
 var mydisplayType = ;
 var tid_length=;
 mydisplayType += store.getTiddlerText(this.title);
 tid_length +=mydisplayType;
                         if (tid_length !=null) {showControl += 
 '+++^^[»][close]tiddler
 [[%0]]===\n'; }

                 return this.renderUtil(
                 '{{action{'+
                 'toggleTag Done [[%0]] -'+
                 'multiToggleTag tag:ActionStatus title:[[%0]]'+
                 'singleToggleTag tag:Starred title:[[%0]]'+
                 'deleteTiddler [[%0]]'+
                 'nbsp; [[%0]] '+
                 '}}} %1',
                 [
                 this.title,
                 showControl.format([this.title])
                 ]
         );},

 });

 cmari

 On Feb 3, 10:29 am, stuckagain webmas...@thrale.com wrote:







  I am making progress.

  In the tag dashboard I have discovered that ...

          div macro=mgtdList title:'Journals'
                  tags:'Journal  !Trash'
                  view:DoneAction
                  dontShowEmpty:yes
                  sort:-title
                  gView:bold
                  ignoreRealm:yes
                  /div

  ... is almost what I want. Note the different view: parameter. This
  renders the tiddler text as a notes icon, which if you hover the mouse
  over the icon renders the text in an unwikified way as a tooltip.

  I now understand that to get what I want, I need to create a new view
  type in TiddlerViewMethods. This should be a slight variation on
  DoneAction ...

          render_DoneAction: function() { return this.renderUtil(
                  '{{action{'+
                  'toggleTag Done [[%0]] -'+
                  'singleToggleTag tag:Starred title:[[%0]]'+
                  ' [[%0]] '+
                  'deleteTiddler [[%0]]'+
                  '}}}'+
                  '{{notesLink{showNotesIcon [[%0]]}}}',
                  [
                          this.title
                  ]
          );},

  the bit that needs to be changed is ...

                  '{{notesLink{showNotesIcon [[%0]]}}}',

  ... so that the body text is instead shown wikified in a table cell or
  area next to (or under) the tiddlertitle (which is a date)

  Alas, my javascript skills aren't good enough. Can someone assist?

  I'd also like to get this in a slider and wrapping it all in ...

       slider Journals
          mgtdList code here
       /slider

  ... doesn't work either!

  Can anyone help me in my stumbling journey towards this solution?

  Thanks

-- 
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to gtd-tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/gtd-tiddlywiki?hl=en.



[tw] Re: TiddlerAliasPlugin issue with aliases with spaces

2011-02-03 Thread Eric Shulman
 The good thing about PartTiddlerPlugin is that the part can be visible
 or hidden. Plus, how do you hide a section? With /% %/?

 I tried this:
 tiddler .##Behind the scenes
 /%!Behind the scenes
 TEXT/%

You can write:

tiddler TiddlerTitle##sectionname/%
!sectionname
content
!end
%/

OR

tiddler TiddlerTitle##sectionname@@display:none;
!sectionname
content
!end
@@

OR

tiddler TiddlerTitle##sectionname{{hidden{
!sectionname
content
!end
}}}

The first method, using TW comment markers (/% ... %/) prevents the
hidden section content from being displayed or processed except when
transcluded.

The second method uses inline CSS (@@attr:val;...@@) to suppress the
display of the section content, but that section is still processed
when the tiddler is rendered, even if it is not being trancluded which
can result in extra processing overhead or produce unwanted side-
effects, depending upon what macros are in that section content).

The third method is like the inline CSS syntax, but uses a CSS class
wrapper ({{hidden{...}}}).

Note that the first two methods both have a syntax limitation: because
the /%...%/ and @@...@@ sequences are used to surround the hidden
secdtion, you cannot use them *within* the content itself.  This limit
doesn't occur when using the third method, because CSS wrapper syntax
*can* be nested within itself.  Also note that the classname
hidden is not defined by default, but can be easily defined by
adding
   .hidden { display:none; }
to your StyleSheet tiddler.  You can also add this set of convenient
'formatting shortcut' classnames by installing:
   http://www.TiddlyTools.com/#StyleSheetShortcuts
and then add:
   [[StyleSheetShortcuts]]
to your StyleSheet.  This automatically *includes* the additional
class definitions from StyleSheetShortcuts, without having to copy/
paste them directly into your stylesheet.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

-
Was this answer useful? If so, please help support TiddlyTools:

   TiddlyTools direct contributions: (paypal)
  http://www.TiddlyTools.com/#Donate
   UnaMesa tax-deductible contributions:
  http://about.unamesa.org/Participate (paypal)
   TiddlyWiki consulting:
  http://www.TiddlyTools.com/#ELSDesignStudios
  http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: One more question about themes

2011-02-03 Thread PMario
On Feb 2, 9:14 pm, Yakov yakov.litvin.publi...@gmail.com wrote:
 It is known that the

 htmla href=javascript:;
 onclick=story.switchTheme(config.options.txtTheme)apply/a/html

 link reprocess the theme so that if the cookie value is changed, a
 new theme is applied. Now, how do I use OPTION and OPTGROUP elements
 to create a select theme ~popup (or how is it called?) which
 launches the reprocessing function when a theme is choosen by
 clicking?

 Also, what are the main reasons to use plugins for theme switching
 aside that they provide some macros (say, if I have a solution
 described above)?
May be, because a macro delivers, what you request above?

There is SwitchThemePlugin from TiddyTools, which has some init and
exit scripts, that can be executed if a theme is changed.
And SelectThemePlugin from Simon Baird (MPTW) can also change the
ColorPalette.

Both do what you suggest. Both have about 80 lines of code + inline
description. Both are automatically aware of new Themes, if a tiddler
is tagged systemTheme / systemPalette.

html inline code is imo ugly. I won't use it, if a macro is
available.
html inline code may be filtered by TiddlySpace, like
{{tiddler.title}}

If your suggested solution uses less lines, and is as flexible, 

-m

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: TiddlerAliasPlugin issue with aliases with spaces

2011-02-03 Thread whatever
Thanks for the explanation, Eric. Anyway, I'm already using your
StyleSheetShortcuts :D.
w

On 3 feb., 09:45, Eric Shulman elsdes...@gmail.com wrote:
  The good thing about PartTiddlerPlugin is that the part can be visible
  or hidden. Plus, how do you hide a section? With /% %/?

  I tried this:
  tiddler .##Behind the scenes
  /%!Behind the scenes
  TEXT/%

 You can write:

 tiddler TiddlerTitle##sectionname/%
 !sectionname
 content
 !end
 %/

 OR

 tiddler TiddlerTitle##sectionname@@display:none;
 !sectionname
 content
 !end
 @@

 OR

 tiddler TiddlerTitle##sectionname{{hidden{
 !sectionname
 content
 !end

 }}}

 The first method, using TW comment markers (/% ... %/) prevents the
 hidden section content from being displayed or processed except when
 transcluded.

 The second method uses inline CSS (@@attr:val;...@@) to suppress the
 display of the section content, but that section is still processed
 when the tiddler is rendered, even if it is not being trancluded which
 can result in extra processing overhead or produce unwanted side-
 effects, depending upon what macros are in that section content).

 The third method is like the inline CSS syntax, but uses a CSS class
 wrapper ({{hidden{...}}}).

 Note that the first two methods both have a syntax limitation: because
 the /%...%/ and @@...@@ sequences are used to surround the hidden
 secdtion, you cannot use them *within* the content itself.  This limit
 doesn't occur when using the third method, because CSS wrapper syntax
 *can* be nested within itself.  Also note that the classname
 hidden is not defined by default, but can be easily defined by
 adding
    .hidden { display:none; }
 to your StyleSheet tiddler.  You can also add this set of convenient
 'formatting shortcut' classnames by installing:
    http://www.TiddlyTools.com/#StyleSheetShortcuts
 and then add:
    [[StyleSheetShortcuts]]
 to your StyleSheet.  This automatically *includes* the additional
 class definitions from StyleSheetShortcuts, without having to copy/
 paste them directly into your stylesheet.

 enjoy,
 -e
 Eric Shulman
 TiddlyTools / ELS Design Studios

 -
 Was this answer useful? If so, please help support TiddlyTools:

    TiddlyTools direct contributions: (paypal)
      http://www.TiddlyTools.com/#Donate
    UnaMesa tax-deductible contributions:
      http://about.unamesa.org/Participate(paypal)
    TiddlyWiki consulting:
      http://www.TiddlyTools.com/#ELSDesignStudios
      http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: TiddlerAliasPlugin issue with aliases with spaces

2011-02-03 Thread whatever
Interesting thing, however. I tried the third example:
tiddler [[here##sectionname]]{{hidden{
!sectionname
content
!end
}}}

It displayed the content okay, but since I'm using the
DcTableOfContentsPlugin, both sectionname and end get listed in
the table of content. If I remove !end, then }}} is shown as part of
the section text.
w

On 3 feb., 11:37, whatever kbrezov...@gmail.com wrote:
 Thanks for the explanation, Eric. Anyway, I'm already using your
 StyleSheetShortcuts :D.
 w

 On 3 feb., 09:45, Eric Shulman elsdes...@gmail.com wrote:

   The good thing about PartTiddlerPlugin is that the part can be visible
   or hidden. Plus, how do you hide a section? With /% %/?

   I tried this:
   tiddler .##Behind the scenes
   /%!Behind the scenes
   TEXT/%

  You can write:

  tiddler TiddlerTitle##sectionname/%
  !sectionname
  content
  !end
  %/

  OR

  tiddler TiddlerTitle##sectionname@@display:none;
  !sectionname
  content
  !end
  @@

  OR

  tiddler TiddlerTitle##sectionname{{hidden{
  !sectionname
  content
  !end

  }}}

  The first method, using TW comment markers (/% ... %/) prevents the
  hidden section content from being displayed or processed except when
  transcluded.

  The second method uses inline CSS (@@attr:val;...@@) to suppress the
  display of the section content, but that section is still processed
  when the tiddler is rendered, even if it is not being trancluded which
  can result in extra processing overhead or produce unwanted side-
  effects, depending upon what macros are in that section content).

  The third method is like the inline CSS syntax, but uses a CSS class
  wrapper ({{hidden{...}}}).

  Note that the first two methods both have a syntax limitation: because
  the /%...%/ and @@...@@ sequences are used to surround the hidden
  secdtion, you cannot use them *within* the content itself.  This limit
  doesn't occur when using the third method, because CSS wrapper syntax
  *can* be nested within itself.  Also note that the classname
  hidden is not defined by default, but can be easily defined by
  adding
     .hidden { display:none; }
  to your StyleSheet tiddler.  You can also add this set of convenient
  'formatting shortcut' classnames by installing:
     http://www.TiddlyTools.com/#StyleSheetShortcuts
  and then add:
     [[StyleSheetShortcuts]]
  to your StyleSheet.  This automatically *includes* the additional
  class definitions from StyleSheetShortcuts, without having to copy/
  paste them directly into your stylesheet.

  enjoy,
  -e
  Eric Shulman
  TiddlyTools / ELS Design Studios

  -
  Was this answer useful? If so, please help support TiddlyTools:

     TiddlyTools direct contributions: (paypal)
       http://www.TiddlyTools.com/#Donate
     UnaMesa tax-deductible contributions:
       http://about.unamesa.org/Participate(paypal)
     TiddlyWiki consulting:
       http://www.TiddlyTools.com/#ELSDesignStudios
       http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: TiddlyWiki Generator -- script to generate a TiddlyWiki type report -- is there any - ???

2011-02-03 Thread Jeremy Ruston
Indeed, generating TiddlyWiki files as a report format is pretty
straightforward. The main gotcha is to observe the correct encoding
rules: tiddlers are stored as DIV elements in the TiddlyWiki HTML
file, and therefore their content needs to be HTML encoded, such that:

* Convert  to amp;
* Convert  to lt;
* Convert  to gt;
* Convert  to quot;

(Without the double quotes around the substituted string).

Best wishes

Jeremy

On Wed, Feb 2, 2011 at 11:39 PM, Tobias Beer beertob...@googlemail.com wrote:
 This doesn't sound overly hard. Simply put certain placeholders into
 your tiddlers or tiddlywiki html ...then do a string replace and
 voila, you've populated your wiki with whatever you wanted rendered TW
 style.

 Cheers, Tobias.

 --
 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.





-- 
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] CloseOtherTiddlers should be disabled when you do a search

2011-02-03 Thread Andreas
Hi.

I'm using this nice build-in feature of TiddlyWiki, CloseOtherTiddlers
to selectively show one page at a time. Pages (tiddlers) with this
feature are those linked directly to the Main Menu.

However, there is a drawback, when I want to search for a tiddler
containing a text. Whenever I type something in the search box, all
tiddlers containing the text are supposed to be displayed,
highlighting the text in question. In my case though, tiddlers
displayed are less than those actually found.

The reason is pretty obvious and it's caused by the
CloseOtherTiddlers: each time a new match is made for a tiddler
without the CloseOtherTiddlers directive, it is appended to the
displayed list of tiddlers. But if the tiddler contains the directive,
it causes all other tiddlers to close. The result is a page containing
only the last tiddler found with the directive and those found after
it, without the directive.

I'm looking for a solution to this problem in two directions:
1. Have a check box in the tweak tab above to manually enable/disable
this CloseOtherTiddlers functionality.
2. Be able to specify the behavior of a tiddler from the caller and
not within the tiddler itself. For example, in the Main Menu, I would
be able to define tiddler links like
[[TittlerName::CloseOtherTiddlers]] (the syntax is random), so the
same tiddler, if called normally from another place, won't cause
others to close.

For me, the second option would be much better but I can't afford
loosing time if I have to change a lot of the default TiddlyWiki
behavior.

What do you think? Is there anything else I can use?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: mGSD Journals and projects

2011-02-03 Thread stuckagain
Jim

Its fair to say that I use this to keep track of projects for
professional work based issues, rather than personal projects. I
originally used the text area of the project with text dates as a log,
but it soon gets out of hand, is difficult to link to specific notes,
difficult to quickly delete outdated notes and almost impossible to
have journal notes that apply to more than one project. As regards
emails, I rarely paste these in verbatim, I use a URL to the email
concerned in my Gmail account.

Stuckagain

On Feb 2, 10:52 am, Jim McD jim_mcdonne...@hotmail.com wrote:
 I get similar functionality by just keeping a journal as a note
 attached to the project.  To add some information, I click on the
 project, then add something like this to the note section:

 {t}  Installed backup software.  Asked Nigel to confirm

 The {t} turns into a date/time stamp.  Over time, your note builds up
 into a diary showing what you have done on the project.  This is how I
 keep track of projects, instead of using pen and paper. When I
 complete a task in the project,  or have a conversation, I add an
 entry as above to record the fact.  If you come back to something
 after a few days, you don't forget where you were as it is all written
 down there.  Works best if your updates are brief.  I wouldn't paste
 whole emails in there, or you are just re-inventing your email.

 Where possible I use reference numbers (eg call, case or ticket
 numbers) in my mgsd notes and sometimes in task and project titles.
 You can summon up emails by searching your Outlook (or whatever mail
 client) for the number.  However after adding brief notes you don't
 always need to re-read those emails.

 On Jan 29, 10:13 am, stuckagain webmas...@thrale.com wrote:

  Simon and colleagues

  I have recently started using the fantastic mGSD, after many years of
  using an early MPTW which I had personalised to include delegated
  tasks and journals for projects. The new mGSD is great and now
  includes many of my earlier customisations, but has one a big
  shortfall for me (and others judging by me search of previous posts
  here) it could be better for displaying journals related to projects.
  Here is s how would suggest it could be improved.

  Separate Journals and Reference items. Journals should be
  chronological notes about specific projects, e.g. copies of emails
  sent/received, notes about instructions given or simply point in time
  notes on progress or agreements about next steps. Whereas reference
  items are materials that have no chronological importance, for example
  source documents, lists of available resources, links to sites with
  more information, specifications etc.

  The journals relating to each project should be viewable
  chronologically in one easy step from each project, without having to
  do multiple clicks on multiple tiddlers; so you can easily
  chronologically review progress - like a book.

  The references should be separate, so they can be found easily,
  without having to wade through scores of journals in big projects.

  To do this, something like the following is needed
  1. tag new journals 'Journal' rather than 'Reference'
  2. change the default name for journals to -0MM-0DD_0hh:0mm (it is
  necessary to use the tiddler title to chronologically sort journals,
  as otherwise you would have to use tiddler creation date, which has
  the drawback that you cannot later enter in journals from earlier
  dates and keep them in order of when the event happened, rather than
  when you had time to enter it into the computer).
  3. revise the project dash to add a slider link to journals, which if
  clicked, opens a most recent first sorted listing of journals that
  displays: date (tiddly name), text (tiddly content), check-box to
  delete individual journal entries. In my less sophisticated version
  than the fabulous mGSD I did ...

  +++![Journal ]...
  forEachTiddler
   where
  'tiddler.tags.containsAll([Journal,context.viewerTiddler.title])  !
  tiddler.tags.contains(Trash)'
   sortBy 'tiddler.title' descending
   write '|[[+tiddler.title.substring(0,10)+|+tiddler.title+]]|
  tiddler [[+tiddler.title+]]$))|[x(+tiddler.title+|Trash)]|\n'
    begin '|Date|Journal|Trash|h\n'
    end 'count+ journals\n'

  ===

  I could do something like this myself as a local customisation, but I
  am reluctant as I do not want to fork from the mGSD code, so I can
  upgrade mGSD in future without major editing or further customisation.

  What do you think?

-- 
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to gtd-tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/gtd-tiddlywiki?hl=en.



Re: mGSD Journals and projects

2011-02-03 Thread stuckagain
I am making progress.

In the tag dashboard I have discovered that ...

div macro=mgtdList title:'Journals'
tags:'Journal  !Trash'
view:DoneAction
dontShowEmpty:yes
sort:-title
gView:bold
ignoreRealm:yes
/div

... is almost what I want. Note the different view: parameter. This
renders the tiddler text as a notes icon, which if you hover the mouse
over the icon renders the text in an unwikified way as a tooltip.

I now understand that to get what I want, I need to create a new view
type in TiddlerViewMethods. This should be a slight variation on
DoneAction ...

render_DoneAction: function() { return this.renderUtil(
'{{action{'+
'toggleTag Done [[%0]] -'+
'singleToggleTag tag:Starred title:[[%0]]'+
' [[%0]] '+
'deleteTiddler [[%0]]'+
'}}}'+
'{{notesLink{showNotesIcon [[%0]]}}}',
[
this.title
]
);},

the bit that needs to be changed is ...

'{{notesLink{showNotesIcon [[%0]]}}}',

... so that the body text is instead shown wikified in a table cell or
area next to (or under) the tiddlertitle (which is a date)

Alas, my javascript skills aren't good enough. Can someone assist?

I'd also like to get this in a slider and wrapping it all in ...

 slider Journals
mgtdList code here
 /slider

... doesn't work either!

Can anyone help me in my stumbling journey towards this solution?

Thanks

-- 
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to gtd-tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/gtd-tiddlywiki?hl=en.



[tw] Re: CloseOtherTiddlers should be disabled when you do a search

2011-02-03 Thread PMario
Hi Andreas,
The easiest way I can think of, is using the SimpleSearchPlugin [1].
It displays a list of found tiddlers. If you click a tiddler, you get
your behaviour.
There are other search plugins too. eg. GotoPlugin [2] which you can
use instead of SimpleSearchPlugin.

-m

[1] http://devpad.tiddlyspot.com/#SimpleSearchPlugin
[2] http://www.tiddlytools.com/#GotoPlugin

On Feb 3, 4:33 pm, Andreas andreas.gouna...@gmail.com wrote:
 Hi.

 I'm using this nice build-in feature of TiddlyWiki, CloseOtherTiddlers
 to selectively show one page at a time. Pages (tiddlers) with this
 feature are those linked directly to the Main Menu.

 However, there is a drawback, when I want to search for a tiddler
 containing a text. Whenever I type something in the search box, all
 tiddlers containing the text are supposed to be displayed,
 highlighting the text in question. In my case though, tiddlers
 displayed are less than those actually found.

 The reason is pretty obvious and it's caused by the
 CloseOtherTiddlers: each time a new match is made for a tiddler
 without the CloseOtherTiddlers directive, it is appended to the
 displayed list of tiddlers. But if the tiddler contains the directive,
 it causes all other tiddlers to close. The result is a page containing
 only the last tiddler found with the directive and those found after
 it, without the directive.

 I'm looking for a solution to this problem in two directions:
 1. Have a check box in the tweak tab above to manually enable/disable
 this CloseOtherTiddlers functionality.
 2. Be able to specify the behavior of a tiddler from the caller and
 not within the tiddler itself. For example, in the Main Menu, I would
 be able to define tiddler links like
 [[TittlerName::CloseOtherTiddlers]] (the syntax is random), so the
 same tiddler, if called normally from another place, won't cause
 others to close.

 For me, the second option would be much better but I can't afford
 loosing time if I have to change a lot of the default TiddlyWiki
 behavior.

 What do you think? Is there anything else I can use?

 Thanks in advance.

-- 
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] Error in macro tabs

2011-02-03 Thread AndrewMc
Hi All

Below the Timeline listing of tiddlers (in the right-side tab) there is an 
error message that says Error in macro tabs. 
If I click on this error message, I get some more detail Error while 
executing macro tabs: InternalError: too much recursion

My wiki is based on MPTW and is being viewed using Firefox 3.x (under both 
WindowsXP and Ubuntu Linux 10.10). I recently upgraded from TW 2.6.0 to 
2.6.2 by using the upgrade button in the backstage menu. I only noticed the 
error a short time after upgrading, and so suspect that there is something 
about the upgrade that may have caused this error. A brief test shows that 
the error does not seem to happen in IE7 (under WinXP), however, that 
browser does not support the SVG and MathML that I use extensively and so is 
not a solution for me.

Nearly everything in the TW seems to be working normally except that this 
error message is present, and that when I try to use ToggleRightSideBar 
http://www.tiddlytools.com/#ToggleRightSidebar I get an error message pop up 
InternalError: too much recursion.

Does anyone have any suggestions for ways that I can investigate just what 
is causing this error?

Cheers
Andrew Mc

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: mGSD Journals and projects

2011-02-03 Thread stuckagain
cmari

This looks promising. Many thanks you are very kind. I hope to have
time to work on this over the weekend.

In the meantime, I can see I didn't really explain properly. I want a
single slider around the entire list, not a slider for each tiddler
that has text. This is because I almost always read project journals
on screen when reviewing progress, but rarely need to print project
Journals, and with a slider I can make them disappear for printing at
my discretion - as opposed to CSS which would hide them 100% of the
time. Very sorry for not making this clearer.

I am really after something like this

Slider open 
[completed] [star] Tiddler 1 title [delete] /n
Tiddler text

[completed] [star] Tiddler 2 title [delete] /n
Tiddler text

[completed] [star] Tiddler 3 title [delete] /n
Tiddler text
Slider close 

Thanks for any additional help you may be able to give this amateur.

-- 
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to gtd-tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/gtd-tiddlywiki?hl=en.



Re: [tw] Error in macro tabs

2011-02-03 Thread Jeremy Ruston
The too much recursion error implies that some JavaScript has got
caught up in an infinite loop. This sort of thing can happen when one
sets up inadvertant loops, like a tab containing a tab that contains
the original tab. The fact that you're experiencing different
behaviour on different browsers is interesting though. Could you
anonymise and share the TiddlyWiki file? You can email me directly at
jeremy (at) osmosoft (dot) com if you'd prefer.

Cheers

Jeremy

On Thu, Feb 3, 2011 at 10:49 PM, AndrewMc newsp...@post.com wrote:
 Hi All

 Below the Timeline listing of tiddlers (in the right-side tab) there is an
 error message that says Error in macro tabs.
 If I click on this error message, I get some more detail Error while
 executing macro tabs: InternalError: too much recursion

 My wiki is based on MPTW and is being viewed using Firefox 3.x (under both
 WindowsXP and Ubuntu Linux 10.10). I recently upgraded from TW 2.6.0 to
 2.6.2 by using the upgrade button in the backstage menu. I only noticed the
 error a short time after upgrading, and so suspect that there is something
 about the upgrade that may have caused this error. A brief test shows that
 the error does not seem to happen in IE7 (under WinXP), however, that
 browser does not support the SVG and MathML that I use extensively and so is
 not a solution for me.

 Nearly everything in the TW seems to be working normally except that this
 error message is present, and that when I try to use ToggleRightSideBar
 http://www.tiddlytools.com/#ToggleRightSidebar I get an error message pop up
 InternalError: too much recursion.

 Does anyone have any suggestions for ways that I can investigate just what
 is causing this error?

 Cheers
 Andrew Mc

 --
 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.




-- 
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: One more question about themes

2011-02-03 Thread Yakov
Aha, I see. Thanks PMario.

 Both are automatically aware of new Themes, if a tiddler
 is tagged systemTheme / systemPalette.

The first thing is the automatic aggregation of existing tiddlers.
Though both plugins don't provide the dropdown selector to select
among *chosen* themes (not all the themes available). And in my case
this could be important in further writing since themes provide not
only appearence, but also language and author/reader(/contributor)
mode.

 html inline code may be filtered by TiddlySpace, like {{tiddler.title}}

This is interesting. I still don't use TiddlySpace, so could you give
an example or some link which shows what this filtering filters? I
mean I have no idea what you are talking about.

Yakov.

-- 
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.