[tw] Re: Substring of tiddler name

2017-03-20 Thread The Bo
Hey,

you could try it with a "substring" macro like this:

/*\
title: $:/substring_from_to
type: application/javascript
module-type: macro

A macro to get certain characters from a string.

\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Information about this macro
*/

exports.name = "substr";
exports.params = [
  {name: "from",default:"0"},
  {name: "to", default:"0"}
]; 
/*
Run the macro
*/
exports.run = function(from, to) {

var tiddlertitle = this.getVariable("currentTiddler");
 if (to !== "0") {
 return tiddlertitle.substring(from,to);
 } else {
 return tiddlertitle.substring(from);
}

};
})();

tag: $:/tag/Macro
type: application/javascript
module-type: macro


Usage: (even with a Filter)
<$list filter="[!is[system]!is[shadow]tag[yourTag]]">

<$link to=<>><>


Regards,
The Bo

Am Freitag, 17. März 2017 22:13:00 UTC+1 schrieb stevesuny:
>
>  Hi, 
>
> this topic seems to have come up before, but without a clear answer.
>
> How do I define a substring with  the first x characters of a tiddler name?
>
> If I have $tiddler$ named "01 01 Long name of tiddler" (those are spaces) 
> I'd like to be extract "01 01" to <> so I can write <$link 
> to="$tiddler$><> to display "01 01" as a link.
>
> Thanks!
>
> (It seems I could play with prefix, but I kind of messed up with my 
> tiddler names by having two spaces, so I can't make a prefix of the first 
> five characters...)
>
> //steve.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea8915ed-aae4-4bca-92ec-b0ab23ed2fdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Announcing the 2nd TiddlyWiki European Meetup on 10th & 11th June 2017

2017-03-18 Thread Bo Du
I have been using tiddlywiki since 2005, it makes my life much easier. I 
would like to come for the meet up if there is still any space. woule be a 
good fun.

On Friday, 24 February 2017 12:00:01 UTC, Jeremy Ruston wrote:
>
> I’m delighted to invite you to the 2nd TiddlyWiki European Meetup on 
> Saturday 10th and Sunday 11th June 2017, in Oxford, UK.
>
> We had a similar event last year (see photo below and 
> http://tiddlywiki.com/#TiddlyWiki%20European%20Meetup%202016). It was a 
> terrific opportunity to meet face-to-face and get to know one another. We 
> focussed on working together on twederation but broke out into many 
> interesting discussions and demonstrations. It was pretty good fun, and 
> hopefully we can learn from our previous experience and make the event this 
> year even better.
>
> Still to do:
>
> * Finalising the venue; I’m hoping to use the same place as last year
> * Although the event is free of charge, I’ll set up eventbrite (or 
> equivalent) so that people can register and I can have an idea of numbers
> * Planning the schedule. We might kick off with dinner on the evening of 
> Friday 9th.
>
> Please reply here if you’re interested in attending, or with any questions 
> or suggestions.
>
> Best wishes
>
> Jeremy.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f8caf6e0-75e0-45cd-9856-c8441b860c93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Hours Filter - as a counterpart to the Days Filter (suggestion)

2017-03-16 Thread The Bo
Hey guys,

I was thinking about a hours filter which is working same like the days 
filter to show tiddlers I created or modified the last x hours.
It was quite simple to change some parts of the days core filter. So I want 
to share my result:


$:/core/modules/filters/hours.js

/*\
title: $:/core/modules/filters/hours.js
type: application/javascript
module-type: filteroperator

Filter operator that selects tiddlers with a specified date field within a 
specified hour interval.

\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Export our filter function
*/
exports.hours = function(source,operator,options) {
var results = [],
fieldName = operator.suffix || "modified",
hourInterval = (parseInt(operator.operand,10)||0),
hourIntervalSign = $tw.utils.sign(hourInterval),
targetTimeStamp = (new Date()).setMinutes(0,0,0) + 
1000*60*60*hourInterval,
isWithinHours = function(dateField) {
var sign = $tw.utils.sign(targetTimeStamp - (new 
Date(dateField)).setMinutes(0,0,0));
return sign === 0 || sign === hourIntervalSign;
};

if(operator.prefix === "!") {
targetTimeStamp = targetTimeStamp - 1000*60*60*hourIntervalSign;
source(function(tiddler,title) {
if(tiddler && tiddler.fields[fieldName]) {

if(!isWithinDays($tw.utils.parseDate(tiddler.fields[fieldName]))) {
results.push(title);
}
}
});
} else {
source(function(tiddler,title) {
if(tiddler && tiddler.fields[fieldName]) {

if(isWithinHours($tw.utils.parseDate(tiddler.fields[fieldName]))) {
results.push(title);
}
}
});
}
return results;
};

})();

type: application/javascript
module-type: filteroperator


Usage:
e.g. [hours[-2]]

Is there a need for this filter? Are there any suggestions?

Regards,
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/67cb3389-ce6e-47c0-9176-7ad5f8e2d172%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: next/previous navigation

2017-02-22 Thread The Bo
@magev958
My fault, the sort[] must be equal. In my upper code I have got both 
!sort[] and sort[].

It must be:
\define prevnextTip()
$(prev_nextTiddler)$
\end


<$list filter='[is[current]tags[]limit[1]]' variable=CurrentTag>
<$list variable=prev_nextTiddler filter='[tagsort[
]before]'>
<$wikify name=tt text=<>>

<$button class='tc-btn-invisible_blue' tooltip=<>>
<$action-navigate $to=<>/>{{$:/core/images/chevron-left}}<
span class="left-notext">Previous<>

<$list variable=prev_nextTiddler filter='[tagsort[]
after]'>
<$wikify name=tt text=<>>
<$button  class='tc-btn-invisible_blue' tooltip=<>>
<$action-navigate $to=<>/><>Next {{$:/core/
images/chevron-right}}







-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7e84f04e-01d2-42d1-8353-6a99727a3bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: next/previous navigation

2017-02-20 Thread The Bo
Very interesting stuff indeed!
@thomas
I played with your code as well and added some css and made some changes:
- displays the tiddlers title on hover
- cuts long tiddler titles to "tiddler title..." (maybe you have to change 
the max-width)

tag it $:/tags/ViewTemplate
\define prevnextTip()
$(prev_nextTiddler)$
\end


<$list filter='[is[current]tags[]limit[1]]' variable=CurrentTag>
<$list variable=prev_nextTiddler filter=
'[tag!sort[]before]'>
<$wikify name=tt text=<>>

<$button class='tc-btn-invisible_blue' tooltip=<>>
<$action-navigate $to=<>/>{{$:/core/images/chevron-left}}Previous<>

<$list variable=prev_nextTiddler 
filter='[tagsort[]after]'>
<$wikify name=tt text=<>>
<$button  class='tc-btn-invisible_blue' tooltip=<>>
<$action-navigate $to=<>/><<
prev_nextTiddler>>Next {{$:/
core/images/chevron-right}}






-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ab36e063-5c38-452e-b58b-077356f696aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [BETA] Noteself android app

2017-02-20 Thread The Bo
It works like a charm. I will continue testing and give you a more detailed 
feedback.

I already love it! :)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/494f5399-49cb-407e-b734-b7c57abc2ce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Different actions to different tiddlers with one click/button possible?

2017-02-17 Thread The Bo
Hey Mario,

thanks for your suggestions and I will have a look at your plugin. Yes it's 
a bit sad but it was the best workaround I could find so far. ;-)

@Mark
That won't work because I use the !is[tag] filter. For the example in my 
second post the "toggle" for the tiddler *"01110*" would work with one 
click. But the tiddler "*0111*" is used as a tag at that moment. 
In my usecase I would need some sort of a chain.

Am Donnerstag, 16. Februar 2017 16:40:53 UTC+1 schrieb PMario:
>
> On Thursday, February 16, 2017 at 4:16:21 PM UTC+1, The Bo wrote:
>>
>> Yes, exactly!
>> Right now every empty branch is already not visible because I put the 
>> tags into the field "toc_inactive" and deleted the tags afterwards with an 
>> action widget.
>> So the target is to bring back the complete branch by just one click if 
>> there is a new tiddler tagged with an inactive tiddler.
>>
>
> I do understand. But with this workflow you kind of "destroy" the 
> wonderful TW tagging mechanism. .. That's sad. 
>   
> Have you seen my: tocP - Parent Based TOC 
> <https://wikilabs.github.io/editions/tocP/#tocP%20-%20Parent%20Based%20TOC> 
> plugin?
>
> I did include a simple "editors-UI" which adds "new xx" buttons at the end 
> of the toc-link. Which makes it simple to add new tiddlers. ... I'm imaging 
> a similar UI for your usecase, which makes it fast and simple to enable and 
> disable branches. So there would be no need to remove and add tags. It's 
> just the visual representation of the structure, that is modified and not 
> the "valuable" content. 
>
> -m
>
 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/53b2499b-1405-4b06-a380-017228f23cb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Different actions to different tiddlers with one click/button possible?

2017-02-16 Thread The Bo
Yes, exactly!

Am Donnerstag, 16. Februar 2017 15:58:01 UTC+1 schrieb PMario:
>
> On Thursday, February 16, 2017 at 3:02:05 PM UTC+1, The Bo wrote:
>>
>> Now hypothetically I want to tag Tiddler D with the tag "01110" which is 
>> currently inactive. This is the point where I'm searching for a solution to 
>> toggle the tiddlers "0111" and "01110" with one click.
>>
>
> I think I understand now. 
>
> 01 Topictiddler
>   010 Subtopic   <-  imo should not be shown, right?
>   011 Subtopic
>   0110 Subsubtopic
>   01100 Subsubsubtopic
>   Tiddler A
>   0111 Subsubtopic
>   *01110   *-> There is no Tiddler connected, so I want to 
> toggle this tiddler
>
> 0111 has the "expand icon" because 01110 exists. ... _but_  01110 has 
> no "content tiddler" so it is basically empty. ... that's why you don't 
> want to show the branch, if there is no leaves. .. where a leave is eg: 
> Tiddler A.  right?
>
> So the function may be called: "Toggle empty branch visibility"
>
> -mario
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84c2c26f-2ed7-4e87-b9e9-d7ddf8dd7232%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Different actions to different tiddlers with one click/button possible?

2017-02-16 Thread The Bo


Am Donnerstag, 16. Februar 2017 01:16:37 UTC+1 schrieb PMario:
>
> Hi, 
>
> On Wednesday, February 15, 2017 at 5:20:08 PM UTC+1, The Bo wrote:
>>
>> I try to build some sort of "TOC-toggle" where I want to remove not used 
>> TOC-Tiddlers temporarily so that they won't be displayed in the TOC.
>> The TOC is structured like this:
>>
>> 01
>>   010
>>011
>>   0110
>>   01100
>>   0
>>   0111
>> 02
>> ...
>>
>
> Interesting. .. So you don't want the "selective-expandable" but the full 
> TOC. ... But clicking a button you'll want to disable different levels. ... 
> eg: 
>
> Sorry, that was a bad example. In fact I use the selective-expandable TOC. 
It was just for a better understanding. I will try to explain it better:

My Structure:

01 Topictiddler
  010 Subtopic
   011 Subtopic
  0110 Subsubtopic
  01100 Subsubsubtopic
  Tiddler A
  Tiddler B
  01101 Subsubsubtopic
  Tiddler C
  0111 Subsubtopic
  *01110   *-> There is no Tiddler connected, so I want to 
toggle this tiddler.
02 Topictiddler

I "toggle" the tiddler 01110 by adding a field "toc_inactive" with the 
value {{!!tags}} and delete the tags. Like this the tiddler won't be found 
in the TOC but isn't deleted.
The next instance is:

01 Topictiddler
  010 Subtopic
   011 Subtopic
  0110 Subsubtopic
  01100 Subsubsubtopic
  Tiddler A
  Tiddler B
  01101 Subsubsubtopic
  Tiddler C
  *0111 Subsubtopic*-> There is no Tiddler connected, so I want to 
toggle this tiddler.
02 Topictiddler

 and so on.

Now hypothetically I want to tag Tiddler D with the tag "01110" which is 
currently inactive. This is the point where I'm searching for a solution to 
toggle the tiddlers "0111" and "01110" with one click.


tree -L 2 will show
>  
>
01
>   010
>   011
> 02
>
> tree -L 3 will show
>
> 01
>010
>011
>   0110
>   0111
> 02
>
> right. .. but you want to have only one command eg: going from -L 1 
> directly to -L 4. right?
>
> -mario
>
Exactly. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3fd984cf-8a89-4089-950e-d2e81093897c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Different actions to different tiddlers with one click/button possible?

2017-02-15 Thread The Bo
Hey,

I try to build some sort of "TOC-toggle" where I want to remove not used 
TOC-Tiddlers temporarily so that they won't be displayed in the TOC.
The TOC is structured like this:

01
  010
   011
  0110
  01100
  0
  0111
02
...

I already found a way to bring back TOC-Tiddler with the following code:
<$button>
<$fieldmangler tiddler=<>>
<$set name="digit-pattern4" value="(^[0-9]{5}\s)">
<$list filter="[is[tag]!tag[#]has[toc_inactive]regexp:title
]">
<$action-setfield $field='tags' $value={{!!toc_inactive}}/>
<$action-deletefield toc_inactive/>

<$set name="digit-pattern3" value="(^[0-9]{4}\s)">
<$list filter="[is[tag]!tag[#]has[toc_inactive]regexp:title
]">
<$action-setfield $field='tags' $value={{!!toc_inactive}}/>
<$action-deletefield toc_inactive/>

<$set name="digit-pattern2" value="(^[0-9]{3}\s)">
<$list filter="[is[tag]!tag[#]has[toc_inactive]regexp:title
]">
<$action-setfield $field='tags' $value={{!!toc_inactive}}/>
<$action-deletefield toc_inactive/>

<$set name="digit-pattern1" value="(^[0-9]{2}\s)">
<$list filter="[is[tag]!tag[#]has[toc_inactive]regexp:title
]">
<$action-setfield $field='tags' $value={{!!toc_inactive}}/>
<$action-deletefield toc_inactive/>








The Problem is, that I have to click four times. ;-)

Is there a simple way to do it in one click?

Regards
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e53c8476-aa78-429d-b868-1f7faf8399d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Search mechanism: Match tiddlers while ignoring different date formats

2017-01-05 Thread The Bo
Hey,

all my tiddlers have a field "american_date", e.g. 20170105. Furthermore 
the text field of every tiddler contains a date string in the format 
05.01.2017.
Now I want to extend the search mechanism that it will even match if i 
search for 5.1.17 or 05.01.17 etc.

Is there an easy solution to do this?

Regards
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e9ca47a5-3b37-47b8-bac6-95fb375950c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-29 Thread The Bo
Thanks Mario, I will give it a try. ;-)

A core implementation would be awesome!

Am Montag, 28. November 2016 14:11:25 UTC+1 schrieb PMario:
>
> On Monday, November 28, 2016 at 9:35:26 AM UTC+1, The Bo wrote:
>>
>> this is what I'm looking for. Where can I find it?
>>
>
> Hi,
>
> In the last hangout, near the end <https://youtu.be/nXwCm794O6M?t=8536>, 
> we discussed a possibility to bring some of Erics's stuff to the core. 
>
> What we want to have in the core in the short run: 
>
>  - recursion protection. ... to avoid javascript errors or endless trees. 
>  - auto select an open tiddler, in the TOC branches. 
>
> In the first run it should be a plugin, for easy testing. 
>
>
> see: http://tiddlytools.github.io/InsideTW/#PartsList ... TOC section. 
> There are several macros involved. ... 
>
> I'll have a closer look and will create a pull request. ... Which doesn't 
> mean, that I'm the only one, which can do this. So if someone is interested 
> and faster than me, help is very welcome. Just drop me a line. 
>
> have fun!
> mario
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/45ed2983-ba59-4393-885c-86b495b88d3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-28 Thread The Bo
Hey Mario,

this is what I'm looking for. Where can I find it?

Regards,
The Bo

Am Donnerstag, 24. November 2016 11:23:57 UTC+1 schrieb PMario:
>
> Have a look at: https://youtu.be/j2Lz6CswsE8?t=3313 if that's what you 
> need.
>
> -m
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63d1b089-e40c-4d3a-92f1-914da6f0519a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag shortener macro

2016-11-24 Thread The Bo
Hi Mario,

the purpose is to find a way to highlight tiddlers in the 
"toc-navigation-tree" even if I just use the search function.
I see that a state tiddler (text: open) is created for every topic in the 
toc-navigation I open.
Now I want to change the search mechanism using the linkcatcher widget so 
that a state tiddler for every topic/subtopic is created.

My TOC is looking like this (reference no. / title):

01 Topic 1
  -> 010 Subtopic
  -> 0101 Subtopic
  *Tiddler A (tagged 0101 Subtopic)*
  Tiddler B (tagged 0101 Subtopic)
  -> 0102 Subtopic
  
  -> 011 Subtopic
  
02 Topic 2
...

If I can extract the reference no. of the tag of *Tiddler A* I will be able 
to extract the reference no. of every upper topic/tag (0101 -> 010 -> 01 -> 
TableofContents)
Like this I could created state tiddlers (text:open):
$:/state/toc/TableofContents-01 Topic 1--123124123
$:/state/toc/01 Topic 1-010 Subtopic--123124123
$:/state/toc/010 Subtopic-0101 Subtopic--123124123

Maybe it sounds a bit confusing, sorry about that.
I already tried to use the splitbefore filter operator but I think it won't 
fit for my purposes.

Regards,
The Bo

Am Donnerstag, 24. November 2016 10:08:38 UTC+1 schrieb PMario:
>
> Hi, 
>
> Can you describe, what you want to achieve instead of code that doesn't 
> work. 
>
> I can see some facts: 
>
>  - show a list of tiddler tags
>  - shorten the tag names
>
> guessing: 
>
>  - short names should still link to tag tiddlers?
>  - ???
>
>
> The "splitbefore"  filter operator is no option? 
> http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20(Examples)%5D%5D
>  
> <http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20%28Examples%29%5D%5D>
>
> -m
>


Am Donnerstag, 24. November 2016 10:08:38 UTC+1 schrieb PMario:
>
> Hi, 
>
> Can you describe, what you want to achieve instead of code that doesn't 
> work. 
>
> I can see some facts: 
>
>  - show a list of tiddler tags
>  - shorten the tag names
>
> guessing: 
>
>  - short names should still link to tag tiddlers?
>  - ???
>
>
> The "splitbefore"  filter operator is no option? 
> http://tiddlywiki.com/#Filter%20Operators:%5B%5BFilter%20Operators%5D%5D%20%5B%5Bsplitbefore%20Operator%5D%5D%20%5B%5Bsplitbefore%20Operator%20(Examples)%5D%5D
>
> -m
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8e260071-ad86-45a9-a0db-b8cf9d965219%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Tag shortener macro

2016-11-23 Thread The Bo
Hey,

I want to display tags of tiddlers in a list. Now I need a solution to 
shorten the tag name.
I tried to build a macro similar to a macro I used before but I don't know 
how to get the "tag-variable".

Maybe someone can help me with this.

So far I have got this code:
/*\
title: $:/macros/tag_shortener.js
type: application/javascript
module-type: macro

Shorten a tag

\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Information about this macro
*/

exports.name = "tag_shortener";

exports.params = [
{name: "end_string"}
];

/*
Run the macro
*/
exports.run = function(end_string) {
return this.getVariable("currentTiddler").substring(0, end_string);
};

})();


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/568906c4-1096-4d10-9b16-07da8efe40a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Page-control-button initiating dropdown menu

2016-11-14 Thread The Bo
My result so far for a resolution-button in the page-controls.
The stylesheet includes  a "low" "normal" and "high" resolution-template.

The Button: (tagged $:/tags/PageControls)

<$button popup=<> 
tooltip={{$:/language/Buttons/Resolution/Hint}} 
aria-label={{$:/language/Buttons/Resolution/Caption}} class=<
> selectedClass="tc-selected">
{{$:/thebo/buttons/Resolution}}


<$reveal state=<> type="popup" 
position="below" animate="yes">

''Auflösung:''
<$linkcatcher to="$:/state/auflösung">
<$list filter="[source[res]sortby[niedrig normal hoch]]" variable="res">
<$link to=<>>

<$reveal type="match" state="$:/state/auflösung" text=<>>


<$reveal type="nomatch" state="$:/state/auflösung" text=<>>



<$text text=<>/>





The Stylesheet: (tagged $:/tags/Stylesheet)
\rules only filteredtranscludeinline transcludeinline macrodef 
macrocallinline html

<$reveal type="match" state="$:/state/auflösung" text="niedrig">
body.tc-body {
font-size: 13px;
line-height: 20px;
}
.tc-tiddler-frame .tc-tiddler-body {
font-size: 12px;
}
.tc-tiddler-frame {
width: 530px;
}
.tc-story-river {
width: 530px;
}
.tc-sidebar-scrollable {
   left: 590px;
}



<$reveal type="match" state="$:/state/auflösung" text="normal">


<$reveal type="match" state="$:/state/auflösung" text="hoch">
body.tc-body {
font-size: 20px;
line-height: 35px;
}
.tc-tiddler-frame .tc-tiddler-body {
font-size: 18px;
}
.tc-tiddler-frame {
width: 800px;
}
.tc-story-river {
width: 880px;
}
.tc-sidebar-scrollable {
   left: 880px;
}



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/87f2224d-e5aa-451c-9d10-be23f16efe57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Page-control-button initiating dropdown menu

2016-11-14 Thread The Bo
Hi Jeremy,

very good hint. Thank you very much!

Regards,
The Bo

Am Montag, 14. November 2016 10:10:11 UTC+1 schrieb Jeremy Ruston:
>
> Hi The BO
>
> I was thinking about a page-control-button which is acting like the new 
> editor-toolbar-buttons with a dropdown menu. (e.g. 
> $:/core/ui/EditorToolbar/stamp).
> My idea was to have a select field in the dropdown menu to change the 
> resolution of the wiki.
>
> My first attempts showed that the page-control-buttons work different than 
> the editor-toolbar-buttons.
> Is it possible to build such a "dropdown button”?
>
>
> The “storyview” dropdown is a good example of a page control button with a 
> dropdown that you can use to start from:
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/PageControls/storyview.tid
>
> Best wishes
>
> Jeremy.
>
>
> Regards,
> The BO
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/233d85af-b9c4-4e84-847f-cc9667ee3229%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/233d85af-b9c4-4e84-847f-cc9667ee3229%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5aad3edc-dea4-414a-a9f8-9517888d2449%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Page-control-button initiating dropdown menu

2016-11-14 Thread The Bo
Hey,

I was thinking about a page-control-button which is acting like the new 
editor-toolbar-buttons with a dropdown menu. (e.g. 
$:/core/ui/EditorToolbar/stamp).
My idea was to have a select field in the dropdown menu to change the 
resolution of the wiki.

My first attempts showed that the page-control-buttons work different than 
the editor-toolbar-buttons.
Is it possible to build such a "dropdown button"?

Regards,
The BO

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/233d85af-b9c4-4e84-847f-cc9667ee3229%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Select field changing multiple variables

2016-11-11 Thread The Bo
Thanks for all your answers!

I really like Mark's solution because it's quite simple to implement and is 
working very clean.

Regards,
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84207f7e-24f4-4fda-9fae-7cba40a2853c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Select field changing multiple variables

2016-11-10 Thread The Bo
Hello,

I'm looking for a way to build a select field (selectwidget) where I can 
change the layout of the wiki.

Until now I use this code:
<$select tiddler="$:/themes/tiddlywiki/vanilla/metrics/fontsize" 
default="Textsize" tag="input">

80%
90%
Textsize
110%
120%


Now I want to change more variables (e.G. storywidth, bodylineheight etc.) 
but I want to use only one select field. 

I haven't found a solution yet.

Regards,
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8ea82b24-4e4a-4eec-8b32-bf35d06acd90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Table (created by $list): Highlight every second row

2016-11-07 Thread The Bo
Hey Jed,

this is perfect. Thanks!

Am Montag, 7. November 2016 11:41:45 UTC+1 schrieb Jed Carty:
>
> You use css the same way as you would in html.
>
> More specifically, make a tiddler with whatever name you want and put this 
> css in it:
>
> .alternating-rows tr:nth-child(even) {background-color:white}
> .alternating-rows tr:nth-child(odd) {background-color:lightgrey}
>
> give the tiddler the tag $:/tags/Stylesheet and save the tiddler
>
> then using what you have in your post just change the first line to
>
> 
>
> and it should give the table alternating background colors. You can change 
> the background color or add whatever css properties to the even and odd 
> rows independently by editing the css.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6cecfba5-670a-4c5c-a0cb-b57e8dab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Table (created by $list): Highlight every second row

2016-11-07 Thread The Bo
Hey,

is it possible to highlight every second row of a table which is created by 
a list filter?


The table is structured like this:


Topic 1
Topic 2


<$list filter="...">

<$link to=<>>{{!!title}}
<$view field="created">






Regards,
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/df1ca73b-6d3c-4a32-9cf1-7ad428430d15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Get certain characters of a tiddler title

2016-08-10 Thread The Bo
I build a little macro which seems to fullfill what I'm looking for:

/*\
title: $:/core/modules/macros/date_title.js
type: application/javascript
module-type: macro

Macro to get the date from a tiddler title if title is starting with an 
american date format (mmdd) and convert it to date format dd.mm..
\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Information about this macro
*/

exports.name = "date_title";

exports.params = [];

/*
Run the macro
*/
exports.run = function() {
return this.getVariable("currentTiddler").substring(6,8) + "." + this.
getVariable("currentTiddler").substring(4,6) + "." + this.getVariable(
"currentTiddler").substring(0,4);
};

})();


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/02a59250-a4e0-4d53-a350-75d9f8588b70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Get certain characters of a tiddler title

2016-08-10 Thread The Bo
Thank you both!

The problem is that the created stamp and the tiddler name date are 
different. 

@Mark
The tiddler name date is starting in the year 1989 so it would be hard to 
create a filter for every year/month.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/02c1ca1e-bc92-4a0f-a15c-7297200bbab7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Get certain characters of a tiddler title

2016-08-09 Thread The Bo
Hey Mario,

thanks for your support!
Ok... every tiddler in my TW-project is starting with the american date 
format mmdd for better sorting.
Now I would like to seperate , mm and dd to build a german date format 
like dd.mm. and put it in a dynamic table via $list.

Regards,
The Bo

Am Dienstag, 9. August 2016 14:33:19 UTC+2 schrieb PMario:
>
> Hi Bo,
>
> I don't know an easy solution out of the box. ... If you describe, what 
> you want to achieve, imo it may be possible to find an easy (and existing) 
> way.
>
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56ee6313-f83c-4f3b-b341-9cb7931984af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Get certain characters of a tiddler title

2016-08-09 Thread The Bo
Hi,

I would like to display the first characters of a tiddler title.

For example
tiddler title: New Tiddler
number of characters: 3

This should display "New".

There must be a simple way I wasn't able to find until now. ;-)

Regards
The Bo




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d5ff3db9-ba73-4764-8130-3ae914011875%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Highlight links in TOC in a different color

2016-08-05 Thread The Bo
Right now I use a workaround where I set a caption field with a css style I 
can change in the stylesheet.

<$button>Drücken
<$list filter='[!tag[#]!is[system]!has[source]!untagged[]]'>
<$fieldmangler tiddler=<>>
<$action-setfield $field='caption' $value='@@.beitrag {{!!title}}@@'/>






-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b20572d6-b03e-4810-86a3-fff19944601c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A question on Transclusion and Templating (TW5)

2016-08-03 Thread The Bo
Hi Miles,

you could create a macro like this:

Tiddler:$:/core/macros/tiddlertitle
Tag: $:/tags/Macro
\define tiddlertitle(param)

!!{{$param$!!title}}
---
{{$param$}}

\end

And use it inside a tiddler:
<>

Regards
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3175f31f-b8de-47eb-9554-126203733ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Highlight links in TOC in a different color

2016-08-03 Thread The Bo
Hey,

I'm using TW5 for sorting notes in a large table of content including ~600 
tiddlers. For a better overview I would like to highlight every toc link 
which isn't containing the tag "#" in a different color.
I allready tried some css but couldn't found a way.
Does anybody have an idea?

Regards
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/80f44feb-edb1-40c6-bd68-45430b12dd84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 How Do I Remove the Search Box?

2016-07-28 Thread The Bo
Hey,

you could change the tiddler *$:/core/ui/SideBarLists* and delete 
everything between *<$set name="searchTiddler" value="$:/temp/search">* and 
*.

Regards
The Bo

Am Donnerstag, 28. Juli 2016 06:32:15 UTC+2 schrieb John Newell:
>
> I am in the final production stage of the (tw) eBook SpiritualQuest and I 
> need to remove the Search Box.
> I have used the ReadOnly format ( with many thanks to Ton Gerner) to great 
> effect 
> but the search box is redundant as I have other navigation in play WITHIN 
> each tiddler.
>
> What is the best (simplest, please)  way to remove it?
>
> John Newell
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d9e45243-4708-485f-a35f-2a9d7fefb3d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Editor Toolbar - Adding a browse for files button ( [ext[...]] )

2016-07-25 Thread The Bo
Hey Jeremy,

I have a workaround for my purposes because the files are in directories 
named like this "01/011/0112/filename.pdf". My idea was to name the files 
for this example "0112 - filename.pdf" so I could create the fullpath by 
readout of the first 4 signs.

@ Dragon Cotterill
Thank you for your suggestion but I would really like to pass on batch 
files.

Regards
The Bo

Am Montag, 25. Juli 2016 10:25:23 UTC+2 schrieb Jeremy Ruston:
>
> Hi The Bo
>
> I was thinking about adding a button to the new editor toolbar where I can 
> browse for local files to add them as an [ext[...|...]] link.
>
>
> For the Javascript part I found this code:
>
> Unfortunately, for security reasons, browsers do not expose the full 
> pathname of the selected file to JavaScript. Some browsers expose the 
> filename portion, as in your example above, but even that is not consistent.
>
> Best wishes
>
> Jeremy
>
>
> My problem is my lack of javascript skills and in fact I'm not deep enough in 
> the tw core. 
> Does anyone have an idea how to implement this, maybe as a plugin?
>
> Regards,
> The BO
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/338c9fcd-4b73-44f1-838b-839ae8753ddf%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/338c9fcd-4b73-44f1-838b-839ae8753ddf%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/099b02c3-d742-4374-be72-563ef99239df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Editor Toolbar - Adding a browse for files button ( [ext[...]] )

2016-07-25 Thread The Bo
Any idea or is there already such a plugin?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/516f9491-5619-4ccc-94ec-034a564ab46b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Editor Toolbar - Adding a browse for files button ( [ext[...]] )

2016-05-19 Thread The Bo
Hey,

I was thinking about adding a button to the new editor toolbar where I can 
browse for local files to add them as an [ext[...|...]] link.

I would suggest a dropdown with a browse for file button and an editor 
field to name the link:


 



For the Javascript part I found this code:

function processSelectedFiles(fileInput) {
var files = fileInput.files;
for (var i = 0; i < files.length; i++) {
 alert(files[i].name); 
} 
}


My problem is my lack of javascript skills and in fact I'm not deep enough in 
the tw core. 
Does anyone have an idea how to implement this, maybe as a plugin?

Regards,
The BO

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/338c9fcd-4b73-44f1-838b-839ae8753ddf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: (TW5) Ordering lists by date

2016-05-18 Thread The Bo
If your "finished"-field is identical to your last modification you could 
try sort[modified].

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5ad53768-cc3a-4a5e-91bf-ba369f895755%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5] Final tests for 5.1.12 before release

2016-04-27 Thread The Bo


Am Samstag, 23. April 2016 14:14:24 UTC+2 schrieb Jeremy Ruston:
>
> Now that the editor toolbar work is completed, I’d like to release 
> TiddlyWiki 5.1.12 in the next couple of days. I’d be very grateful for help 
> with testing this release; there are a lot of changes this time around 
> which brings a potential for things to go wrong. 
>
> There’s a prerelease available for testing: 
>
> http://tiddlywiki.com/prerelease 
>
> Please give it a try - be cautious about your personal data, and take 
> careful backups. Perform a test upgrade of your wikis and check for any 
> problems: 
>
> http://tiddlywiki.com/prerelease/upgrade.html 
>
> Please let me know if you spot any issues. This is a great time to submit 
> documentation updates but I’m afraid its too late for any further 
> functional changes. In particular if you have published TiddlyWiki 
> resources that are not currently linked from 
> http://tiddlywiki.com/prerelease do please consider submitting a pull 
> request. 
>
> Best wishes 
>
> Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7d8d8d46-b965-4ec8-80ad-2443a9d4f9a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5] Final tests for 5.1.12 before release

2016-04-27 Thread The Bo
Wow, the editor looks perfect to me. This will increase the usability of tw 
a lot.


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c9eacf33-fa62-4bf7-bcf7-0a149268c25e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Prevent a certain tiddler to be saved

2016-04-27 Thread The Bo
Hey Mat,

it prevents a tiddler to be saved but it doesn't work for the tiddler 
$:/status/UserName because the tiddler is deleted after saving. So there is 
no "_canonical_uri" set for the tiddler.

@Jeremy
Ok so that solution is a dead end. Do you have another idea?

Regards,
The Bo
Am Freitag, 22. April 2016 17:32:49 UTC+2 schrieb Mat:
>
> Ok, I got this to work (copied on Jeremys earlier instructions)
>
> I put this in one tiddler
>
> title: $:/core/save/all
>
> \define saveTiddlerFilter()
> [is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] 
> -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] 
> -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[[YOURTIDDLER]] 
>  +[sort[title]] $(publishFilter)$
> \end
>
>- {{$:/core/templates/tiddlywiki5.html}}
>
>
> ...and this in another
>
> title: MyButton
>
>  <$button>
> <$action-sendmessage $message="tm-download-file" $param=
> "" filename="index.html"/>
> Special Save
> 
>
> Comically, I forgot to change the $param so left it with that dummy name.
>
> This saves everything except the marked pink.
>
> <:-)
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4b88e765-fe09-42a4-8734-2fe649aa1edf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Prevent a certain tiddler to be saved

2016-04-22 Thread The Bo
Hi Mat,

thank you! It seems like this will help to create a seperated readonly 
wiki. But I can't figure out how to implement it to solve this issue

Regards,
The Bo

Am Donnerstag, 21. April 2016 16:15:56 UTC+2 schrieb Mat:
>
> Hi Bo. You should check out this reply 
> <https://groups.google.com/d/msg/tiddlywiki/1S348N3rsAc/rbXjCZRB9HYJ> 
> from Jeremy in an earlier thread. I believe it is exactly what you're 
> looking for.
>
> <:-)
>
>
> On Thursday, April 21, 2016 at 1:06:26 PM UTC+2, The Bo wrote:
>>
>> Hello Community,
>>
>> right now I'm looking for a way to prevent a certain tiddler to be saved. 
>>
>> Cases:
>> 1. Tiddler $:/status/UserName
>> 2. a regular Tiddler (e.g. GettingStarted)
>>
>> My idea was to set _canonical_uri for the $:/status/UserName to a lokal 
>> .tid-file (username.tid) so that the username is transcluded by that file.
>> After that I saved the wiki and it is working as suggested as long as I 
>> save further changes.
>>
>> I allready tried to modify the $:/core/save/all with 
>> -[[$:/status/UserName]] but it seems like the tiddler is deleted after 
>> saving.
>>
>> Is there a way to solve this problem? 
>>
>> Regards,
>> The Bo
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/778cf5c0-88eb-4735-95b0-9dca39a99f02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Prevent a certain tiddler to be saved

2016-04-21 Thread The Bo
Hey Jeremy,

Thank you for your support!

I'm using the standalone html file.
What should the plugin look like and how do I have to implement it?
In fact I think I'm not expierenced enough to create an own plugin.

Regards,
The Bo

Am Donnerstag, 21. April 2016 13:20:20 UTC+2 schrieb Jeremy Ruston:
>
> Hi The Bo
>
> One approach would be to construct a plugin that contains your desired 
> value for $:/status/UserName. Then, exclude -[[$:/status/UserName]] 
> from $:/core/save/all. That will ensure that when the tiddler is omitted 
> during the save the shadow will automatically take it’s place.
>
> Are you using the standalone HTML file configuration or Node.js?
>
> Best wishes
>
> Jeremy.
>
> On 21 Apr 2016, at 12:06, The Bo <hey...@gmail.com > wrote:
>
> Hello Community,
>
> right now I'm looking for a way to prevent a certain tiddler to be saved. 
>
> Cases:
> 1. Tiddler $:/status/UserName
> 2. a regular Tiddler (e.g. GettingStarted)
>
> My idea was to set _canonical_uri for the $:/status/UserName to a lokal 
> .tid-file (username.tid) so that the username is transcluded by that file.
> After that I saved the wiki and it is working as suggested as long as I 
> save further changes.
>
> I allready tried to modify the $:/core/save/all with 
> -[[$:/status/UserName]] but it seems like the tiddler is deleted after 
> saving.
>
> Is there a way to solve this problem? 
>
> Regards,
> The Bo
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/49460099-7ba4-4875-85f6-f5ee1447e370%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/49460099-7ba4-4875-85f6-f5ee1447e370%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f47bb5ec-383c-40d8-96f5-8576ef15b6d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Prevent a certain tiddler to be saved

2016-04-21 Thread The Bo
Hello Community,

right now I'm looking for a way to prevent a certain tiddler to be saved. 

Cases:
1. Tiddler $:/status/UserName
2. a regular Tiddler (e.g. GettingStarted)

My idea was to set _canonical_uri for the $:/status/UserName to a lokal 
.tid-file (username.tid) so that the username is transcluded by that file.
After that I saved the wiki and it is working as suggested as long as I 
save further changes.

I allready tried to modify the $:/core/save/all with 
-[[$:/status/UserName]] but it seems like the tiddler is deleted after 
saving.

Is there a way to solve this problem? 

Regards,
The Bo

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49460099-7ba4-4875-85f6-f5ee1447e370%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag "alias" in connection with a navigating TOC

2016-04-08 Thread The Bo
Hi Richard,

Your hint is very good. I would prefer to implement it into "matches title" 
and "matches all" search maybe as a fallback from caption to title. 

I already found a way to show the caption with a fallback to title at the 
results by changing the $:/core/ui/ListItemTemplate

<$view field="title">

to

>  <$view field="caption"><$view field="title">
>

Regards
The Bo
Am Donnerstag, 7. April 2016 15:58:33 UTC+2 schrieb RichardWilliamSmith:
>
> Hi The Bo,
>
> If you overwrite the core tiddler $:/core/ui/DefaultSearchResultList, you 
> can add a section to make it search the caption field too.
>
> \define searchResultList()
>> //{{$:/language/Search/Matches/Title}}//
>> <$list 
>> filter="[!is[system]search:title{$(searchTiddler)$}sort[title]limit[250]]" 
>> template="$:/core/ui/ListItemTemplate"/>
>> //Caption Matches//
>> <$list 
>> filter="[!is[system]search:caption{$(searchTiddler)$}sort[title]limit[250]]" 
>> template="$:/core/ui/ListItemTemplate"/>
>> //{{$:/language/Search/Matches/All}}//
>> <$list 
>> filter="[!is[system]search{$(searchTiddler)$}sort[title]limit[250]]" 
>> template="$:/core/ui/ListItemTemplate"/>
>> \end
>> <>
>
>
> This is quite hacky - you'd need to re-do it each time you upgrade to a 
> new version - but I'm not sure what the preferred way to over-ride the UI 
> actually is.
>
> Regards.
> Richard
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/efbe3600-fe44-4cbd-94c4-8c460e029635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag "alias" in connection with a navigating TOC

2016-04-07 Thread The Bo
Hey Eric,

my first idea was, this works perfect for me. 
But now I see that if I search for "personal management" I will get no hit. 
Even if I search for "01" I won't see the caption.

Regards
The Bo

Am Mittwoch, 6. April 2016 14:54:18 UTC+2 schrieb Eric Shulman:
>
> On Wednesday, April 6, 2016 at 5:32:44 AM UTC-7, The Bo wrote:
>>
>> in this case I would miss the titles of open tiddlers.
>>
>
> You could tweak the $:/core/ui/ViewTemplate/title and replace
> <$view field="title"/>
> with
> <>
> so that the caption text is also displayed at the top of the open tiddler.
>
> -e
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/039b6fb6-2a1c-4225-acca-9e3381ac8c8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tag "alias" in connection with a navigating TOC

2016-04-06 Thread The Bo
Hey,

in this case I would miss the titles of open tiddlers.

Regards
The Bo

Am Mittwoch, 6. April 2016 13:07:53 UTC+2 schrieb Eric Shulman:
>
> On Wednesday, April 6, 2016 at 2:57:29 AM UTC-7, The Bo wrote:
>>
>> I'm looking for a way to set some kind of an "tag alias" for my current 
>> project.
>>
>> The problem is that I'm using an expandable-toc for navigation where I 
>> have to use very large titles, e.g.:
>>
>> 01 personal management
>> >011 application (tag: 01 personal management)
>> >012 ...
>>
>> To make it a bit more user-friendly it would be perfect to tag "01" 
>> instead of "01 personal management".
>>
>
> Here's an alternative approach:
>
> * title your tiddlers with the short code numbers
> * use the caption field to provide the longer text
>
> The <<toc-*>> macro automatically uses the caption field if present (with 
> fallback to the title).
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> InsideTiddlyWiki: The Missing Manuals
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bf3976d3-2e74-46ff-9904-265a668235ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Tag "alias" in connection with a navigating TOC

2016-04-06 Thread The Bo
Hey,

I'm looking for a way to set some kind of an "tag alias" for my current 
project.

The problem is that I'm using an expandable-toc for navigation where I have 
to use very large titles, e.g.:

01 personal management
>011 application (tag: 01 personal management)
>012 ...

To make it a bit more user-friendly it would be perfect to tag "01" instead 
of "01 personal management".

I would really appreciate your comments and suggestions!

Kind regards
The Bo


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49f746d1-c9ff-4b56-85ac-e17987916654%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Using tiddlymap connected with city/travel map(s)

2015-11-11 Thread The Bo
Hey,

then it's only possible to use "small" .png maps. I was thinking about a 
streetmap of a region which size is something like 50 km². I don't think 
.png would fit for this kind of project.

Greets
Tueb
Am Montag, 9. November 2015 15:15:46 UTC+1 schrieb Felix Küppers:
>
> Hi Tueb,
>
> depends on what you mean by connect, there is an example of an epic 
> "street map" at http://tiddlymap.org. Just scroll down the examples and 
> look for "Think epic. Map your quests!" . But you cannot connect tiddlymap 
> to e.g. google maps.
>
> -Felix
>
> On 11/09/2015 02:37 PM, The Bo wrote:
>
> Hey guys,
>
> I just wanted to start a new tiddly project with tiddlymap and was 
> wondering if it is possible to connect tiddlymap with a city or travel map.
>
> I think tiddlymap would suit perfect for this projekt. I could add a node 
> for every point of interest and fill the regarding tiddler with information.
>
> For my purposes it should have following features:
>
> - offline usage with short loading times
> - map zoom in/out
>
> Any ideas how to embed a map (e.g. openstreetmap)?
>
> Greets
> Tueb
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> <https://groups.google.com/d/msgid/tiddlywiki/0d39f309-6bda-4f37-8a58-1956ff6f7e3d%40googlegroups.com?utm_medium=email_source=footer>
> https://groups.google.com/d/msgid/tiddlywiki/0d39f309-6bda-4f37-8a58-1956ff6f7e3d%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/35f113d0-efbf-46bb-b164-519794cf61bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Using tiddlymap connected with city/travel map(s)

2015-11-09 Thread The Bo
Hey guys,

I just wanted to start a new tiddly project with tiddlymap and was 
wondering if it is possible to connect tiddlymap with a city or travel map.

I think tiddlymap would suit perfect for this projekt. I could add a node 
for every point of interest and fill the regarding tiddler with information.

For my purposes it should have following features:

- offline usage with short loading times
- map zoom in/out

Any ideas how to embed a map (e.g. openstreetmap)?

Greets
Tueb

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0d39f309-6bda-4f37-8a58-1956ff6f7e3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Default settings for startup (after saving)

2015-02-23 Thread The Bo
Hi Jeremy,

now I've got it. ;) I will keep that in mind.

Greetings
Tueb

Am Freitag, 20. Februar 2015 17:26:44 UTC+1 schrieb Jeremy Ruston:

 Hi Bo
  

 Change the system-tiddler $:/core/ui/sidebarlists: 
 Replace the code tabs  ... $:/core/ui/sidebar/open ...  to the 
 tab you want to start with.

 works for me. Am I missing something?


 Apologies, what I should have said is that there's no way to configure the 
 default tab without overriding the sidebar lists shadow tiddler. The 
 disadvantage of doing that is that it means that you won't get updates to 
 that tiddler that may arrive in future upgrades of the TiddlyWiki core.

 Best wishes

 Jeremy

  


  


 Greeting
 Tueb

 Am Donnerstag, 19. Februar 2015 19:14:31 UTC+1 schrieb Jeremy Ruston:

 Hi Bo

 It's not currently possible to force the initial tab. You can explicitly 
 allow saving for the tiddler that contains the state of the sidebar tabs, 
 which means that when you save the current state will be remembered:

 \define saveTiddlerFilter()
 [is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] 
 -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] 
 -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[[$:/status/UserName]] 
 -[prefix[$:/state]] -[prefix:[$:/temp]] -[[$:/StoryList]] 
 [[$:/state/tab/sidebar--1835078512]is[tiddler]] +[sort[title]]
 \end
 {{$:/core/templates/tiddlywiki5.html}}

 Best wishes

 Jeremy


 On Thu, Feb 19, 2015 at 1:15 PM, The Bo hey...@gmail.com wrote:

 Hi,

 Thanks to both of you! :)

 @Jeremy
 Your changes to $:/core/save/all do exactly what I was looking for. 

 There is just one little issue: 
 How can I define contents-toc for replacing open as the default 
 startup-tab?

 Greeting
 Tueb

 -- 
 You received this message because you are subscribed to the Google 
 Groups TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to tiddlywiki+...@googlegroups.com.
 To post to this group, send email to tiddl...@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com
  



 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:
  

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Default settings for startup (after saving)

2015-02-20 Thread The Bo
Hi Jeremy,

Change the system-tiddler $:/core/ui/sidebarlists: 
Replace the code tabs  ... $:/core/ui/sidebar/open ...  to the tab 
you want to start with.

works for me. Am I missing something?

Greeting
Tueb

Am Donnerstag, 19. Februar 2015 19:14:31 UTC+1 schrieb Jeremy Ruston:

 Hi Bo

 It's not currently possible to force the initial tab. You can explicitly 
 allow saving for the tiddler that contains the state of the sidebar tabs, 
 which means that when you save the current state will be remembered:

 \define saveTiddlerFilter()
 [is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] 
 -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] 
 -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[[$:/status/UserName]] 
 -[prefix[$:/state]] -[prefix:[$:/temp]] -[[$:/StoryList]] 
 [[$:/state/tab/sidebar--1835078512]is[tiddler]] +[sort[title]]
 \end
 {{$:/core/templates/tiddlywiki5.html}}

 Best wishes

 Jeremy


 On Thu, Feb 19, 2015 at 1:15 PM, The Bo hey...@gmail.com javascript: 
 wrote:

 Hi,

 Thanks to both of you! :)

 @Jeremy
 Your changes to $:/core/save/all do exactly what I was looking for. 

 There is just one little issue: 
 How can I define contents-toc for replacing open as the default 
 startup-tab?

 Greeting
 Tueb

 -- 
 You received this message because you are subscribed to the Google Groups 
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to tiddlywiki+...@googlegroups.com javascript:.
 To post to this group, send email to tiddl...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:
  

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Default settings for startup (after saving)

2015-02-19 Thread The Bo
Hey,


I'm using tiddlywiki 5 with 4 other people for some sort of 
knowledge-management in an offline network. The community-plugin from 
Danielo (http://danielorodriguez.com/TiddlyDrive4Community) is installed as 
well. The navigation is done by an expandable TOC.

Now I want to fix some smaller issues:
Everytime the tiddly is saved by a user, his/her settings are also saved 
like expanded TOC, navigation tabs (more instead of content, filled 
username (edit-field of the community-plugin).

Example of an expanded toc:

 subject 1
 subject 2
 subject 3
 subject 3a
   subject 3b
subject 3ba

Is it possible to automatically load default settings on startup? Like 
non-expanded TOC, cleared edit-field(s) etc.?

I really appreciate your help.

Greetings
Tueb

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Default settings for startup (after saving)

2015-02-19 Thread The Bo
Hi,

Thanks to both of you! :)

@Jeremy
Your changes to $:/core/save/all do exactly what I was looking for. 

There is just one little issue: 
How can I define contents-toc for replacing open as the default 
startup-tab?

Greeting
Tueb

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Let the creator field be required for every new tiddler

2015-02-16 Thread The Bo
Hi Danielo,

your Plugin works very well! Thanks for your work! I'm just using the 
user-field and skipped the subfolder for my purposes 

Some Questions:
1. Is there a way to clear the user-field automatically on startup? So that 
the user who saved the wiki doesn't have to delete his username before 
saving.

2. A similar problem is that my expandable toc for navigation stays 
expanded after saving. Is it possible to have an automatically refresh on 
startup for a non-expanded toc?

Greetings
Tueb

Am Mittwoch, 28. Januar 2015 16:15:20 UTC+1 schrieb Danielo Rodríguez:

 On tiddlydrive I put this on the sidebar and I make the subtitle of the 
 wiki to tell you the username you are using. In case no username is set 
 then you can read you are witting as anonymous in red.

 El miércoles, 28 de enero de 2015, 15:13:44 (UTC+1), Tobias Beer escribió:

 Hi Stephan,

 While it won't help with editing conflcts, that sounds like a good 
 practice.

 Added here: Review UserName On Startup @ tb5 
 http://tb5.tiddlyspot.com/#Review%20UserName%20On%20Startup

 While instructional, I don't see a need for any reveals, though.

 Best wishes, Tobias. 



-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Comparing Tiddlers side by side

2015-02-10 Thread The Bo
Hi Birthe,

ah, it was so easy. Thanks! :)

Now my code looks like this and its working fine:

table
colgroup width=50% span=2/colgroup
tr
td valign=top
''@@color:green;$select tiddler='$:/generated-list1'
$list filter='[all[orphans]]'
option$view field='title'//option
/$list
/$select@@''
$tiddler tiddler={{$:/generated-list1}}
$transclude mode='block'/
/$tiddler/td
td valign=top
''@@color:brown;$select tiddler='$:/generated-list2'
$list filter='[all[orphans]]'
option$view field='title'//option
/$list
/$select@@''
$tiddler tiddler={{$:/generated-list-demo-state2}}
$transclude mode='block'/
/$tiddler/td
/tr
/table

However I would like to find a more comfortable solution. Maybe like a 
compare button on a tiddler where I can choose another tiddler to compare 
to.
Does anyone have an idea how to implement this?

Greetings
Tueb

Am Montag, 9. Februar 2015 17:12:18 UTC+1 schrieb Birthe C:

 Hi Bo

 |$transclude tiddler=tiddlerA mode=block/|$transclude 
 tiddler=tiddlerB mode=block/|



 Birthe


 Den mandag den 9. februar 2015 kl. 15.16.29 UTC+1 skrev The Bo:

 Hello,

 I was looking for a way to show two tiddlers side by side to compare them.

 I already tried to transclude them into a new tiddler with a table of two 
 coloumns but it seems like this doesn't work.
 My code so far is:

 |$transclude tiddler=tiddlerA mode=block|$transclude 
 tiddler=tiddlerB mode=block|

 It only shows the transcluded tiddlerA. The tiddlerB is totally missing.

 Any suggestions? 
 Is there a better way to compare two tiddlers side by side? Maybe a 
 plug-in or macro?

 Thank you for your help!
 Tueb



-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Comparing Tiddlers side by side

2015-02-09 Thread The Bo
Hello,

I was looking for a way to show two tiddlers side by side to compare them.

I already tried to transclude them into a new tiddler with a table of two 
coloumns but it seems like this doesn't work.
My code so far is:

|$transclude tiddler=tiddlerA mode=block|$transclude 
tiddler=tiddlerB mode=block|

It only shows the transcluded tiddlerA. The tiddlerB is totally missing.

Any suggestions? 
Is there a better way to compare two tiddlers side by side? Maybe a plug-in 
or macro?

Thank you for your help!
Tueb

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Let the creator field be required for every new tiddler

2015-01-28 Thread The Bo
Hey,

thank you guys for your answers.

I like this solution! It's nearly perfect for our tiddly project. :)
Thanks a lot!

Greetings
tueb

Am Mittwoch, 28. Januar 2015 12:14:10 UTC+1 schrieb Stephan Hradek:

 Would it be enought to set this as the first tiddler to display?

 $reveal state=$:/status/UserName type=match text=

 Please set your username first.

 $edit-text tiddler=$:/status/UserName tag=input type=text/
 /$reveal
 $reveal state=$:/status/UserName type=nomatch text=

 If {{$:/status/UserName}} is not your name, please change it here

 $edit-text tiddler=$:/status/UserName tag=input type=text/
 /$reveal





-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Let the creator field be required for every new tiddler

2015-01-27 Thread The Bo
Hello,

I'm trying to build a offline/network tiddly which is used by multiple 
users. I already found out that there is no multi-user support yet.
This is why I was thinking about a different solution:

1. Is it possible to make the creator field be required for every new 
tiddler? A new tiddler should only be saved if the creator field is filled.

2. Is it possible to create a new field modified by which is required for 
every edited tiddler?

I really appreciate your help! :)

Greetings
Tueb

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: jsmath broken in firefox 3.5

2009-07-11 Thread Bo

I re-downloaded the fonts and installed them today. It totally worked
even though i have no clue why this happens. It feels awesome to see
the neat document again. Thanks a lot for Davide Cervone.

On Jul 10, 12:12 pm, Bo afellow...@gmail.com wrote:
 I am sorry but the new font does not help. It is still the same. I
 even reboot my computer to make sure the new font are used.
 I found there is a workaround 
 here,http://groups.google.com/group/sage-devel/browse_thread/thread/61bf12...
 But it is just for sage, I don't know how to add it into the
 tiddlywikikijsmathplugin.
 Thanks a lot even though.

 On Jul 9, 11:45 pm, Davide Cervone d...@union.edu wrote:

  The linux version of Firefox 3.5 doesn't seem to be able to handle the
  non-standard encoding used in thejsMathTeX fonts (though earlier
  versions of Firefox did), so it's really a Firefox bug, not ajsMath
  bug.  In any case, I've made new versions of the fonts that work for
  Linux Forefox users.  They are available on thejsMathfont download
  page at

 http://www.math.union.edu/locate/jsMath/download/jsMath-fonts.html

  Hope that clears it up for you.

  Davide

  On Jul 8, 1:59 pm, Bo afellow...@gmail.com wrote:

  Jsmathis broken in Firefox 3.5 (under fedora 11).  The fonts are
   messed up. The greek letters are shown as accented roman letters,
   comma becomes semicolon, etc. I am wondering if there is a workaround
   to make it work. For now, I just delete the fonts to make it looks
   better, even though this made the tiddlywiki very slow.


--~--~-~--~~~---~--~~
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] jsmath broken in firefox 3.5

2009-07-08 Thread Bo

Jsmath is broken in Firefox 3.5 (under fedora 11).  The fonts are
messed up. The greek letters are shown as accented roman letters,
comma becomes semicolon, etc. I am wondering if there is a workaround
to make it work. For now, I just delete the fonts to make it looks
better, even though this made the tiddlywiki very slow.

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