[tw] Re: [TW5] Filter syntax to list all values of a field

2015-09-29 Thread Tobias Beer
Hi Bob,

To learn more about the syntax for {{{ [filter[]] }}} , try searching for 
"{{{" on tiddlywiki.com...

   - Transclusion in WikiText 
   
   - Transclusion and Substitution 
   
   
...both are quite essential to creating the kind of stuff you desire.
Also, the first example in the SelectWidget 
 documentation
shows you how to populate a select via the ListWidget 
 based on a filter.

As for...

You can also use <> instead of the view widget.


Be aware that using <>
works well in this context, but elsewhere it might
wikify / transclude  
whatever 
*currentTiddler* holds,
e.g. if it is a *WikiWord* it will become a link.

For example, try this on tiddlywiki.com and note how
some parts of results become links while others don't:

<$list filter="[tag[TableOfContents]]">

<>


Same with...

<$list filter="[tag[TableOfContents]]">

{{!!title}}


Now try that again using this inside your list...

<$list filter="[tag[TableOfContents]]">

<$view field="title"/>


or...

<$list filter="[tag[TableOfContents]]">

<$text text={{!!title}}/>


Best wishes,

— tb

-- 
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/ac96d21b-72a8-4187-af6b-0eb1974fb078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Filter syntax to list all values of a field

2015-09-29 Thread Evolena
Le mardi 29 septembre 2015 23:50:08 UTC+2, Bob Flandard a écrit :
>
> Hello Evolena,
>
> Most of my TW5 belongs to you! 
>
> Do you have stuff on TiddlySpot that I might scrutinize?
>

Thank you.

No, I don't have such a site. And if I had, it would be in French ;) 
But some of my answers are adapted by Tobias Beer in his fantastic tb5 


-- 
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/8b061df1-a938-431b-beeb-0f0b10fd471f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-29 Thread Tobias Beer
Hi Andreas,
 

> Yes, I did suggest and talk about it in this issue here: 
> https://github.com/Jermolene/TiddlyWiki5/issues/1903 .
>

Ah, that's what that is.
I didn't quite make the connect.
Left a comment on GitHub:

https://github.com/Jermolene/TiddlyWiki5/issues/1903#issuecomment-144286827

Best wishes,

— tb 

-- 
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/1b7ddfb3-76fa-4b10-9d9b-7e24b1266f29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-29 Thread jonathanhaug
Tobias,

 

thanks a lot, you’re great a help!

 

Jonathan

-- 
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/002001d0fb3c%24e152e4a0%24a3f8ade0%24%40wolke7.net.
For more options, visit https://groups.google.com/d/optout.


[tw] TWC Image popup

2015-09-29 Thread Joe Mehegan
Hi,

I am new to Tiddlywiki. My work wants me to start using this for reports 
and group feedback.
I must use TWC as work uses IE 9, due to company's operating software not 
compatible with the newer version of IE.
I have been searching for the last 3 days to find out how to have a text 
link that will popup a window with an image in it.
ie: *see plot of S11 & S21 parameters. *when clicked the image will popup, 
no menus just a borderless image, with the ability to change image size.

I am sure there is an easy way to do this but I haven't been able to locate 
it.

Thanks for any help you can give.

Joe Mehegan

Sr. Electrical Engineering Test Technician  

-- 
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/1b7e2776-dbfc-4d8e-a835-7345e63b7529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Filter syntax to list all values of a field

2015-09-29 Thread Bob Flandard
Hello Evolena,

Most of my TW5 belongs to you! 

Do you have stuff on TiddlySpot that I might scrutinize?

Many thanks for yet again solving my imponderable conundrum. If Jeremy dies 
or gets incurable hiccups, you'll have to take-over :)

All the best, Bob

-- 
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/c5c94ef7-c512-4003-8613-ef6fe5475bd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-29 Thread Dave
Thank you all for your information.  I think I'll re-read this whole thread 
a couple times before I dive into the project.

In your opinions, if I were ever to get it to the stage that it needs to be 
transformed from separate stand alone wikis to, say, tiddlyweb or 
tiddlybase (the future turn key tiddlywiki database ;), are there people in 
the community I could just hire to do the heavy lifting for me?  (I'm 
dreaming now)

-- 
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/ddd6a774-7b38-41f9-a02f-bac86e267087%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Filter syntax to list all values of a field

2015-09-29 Thread Evolena
Le mardi 29 septembre 2015 23:05:48 UTC+2, Bob Flandard a écrit :

> The 
> 
> {{{ [tag[some field]each[field_name_2]get[field_name_2]sort[title]] }}}
> 
>
> part just concatenates all the field values into a single line with no 
> spaces, rather than a list of separately selectable options, that I was 
> hoping for.
>
> Where might I have gone wrong?
>
> Thank you, Bob
>

This syntax transcludes a list of tiddlers (in fact, here each field value 
retrieved by the get operator is considered as a tiddler's title) matching 
a specified filter. This is not suitable for the usage with the options of 
the select widget, where you want an explicit list widget outside the 
option element, so that each value returned by the filter becomes an option.

<$list filter="[tag[some 
field]each[field_name_2]get[field_name_2]sort[title]]">

<$view field="title"/>



You can also use <> instead of the view widget.

-- 
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/8dc65c34-fbdb-4b53-8280-e6a435d59282%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Filter syntax to list all values of a field

2015-09-29 Thread Bob Flandard
Hello Eric and tb,

Thank you for your suggestions. I couldn't get Eric's code to work without 
removing some stuff off the end of it and adding a single "]", but then it 
listed tiddler names not field values, so I must have broken it.

<$list filter="[tag[some field]has[field_name_1]]"/>

tb's code worked as expected when added to new tiddler, but when I add it 
to a tiddler with:

tag =
$:/tags/EditTemplate


field list-after=
$:/core/ui/EditTemplate/body


and text=

<$list filter="[all[current]tag[some field]]">

field_name_1: <$select field="field_name_1">

value 1
value 2
value 3


field_name_2: <$select field="field_name_2">
default value

{{{ [tag[some field]each[field_name_2]get[field_name_2]sort[title]] }}}






The 

{{{ [tag[some field]each[field_name_2]get[field_name_2]sort[title]] }}}


part just concatenates all the field values into a single line with no 
spaces, rather than a list of separately selectable options, that I was 
hoping for.

Where might I have gone wrong?

Thank you, Bob



-- 
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/a0d53802-fb0e-4fc5-bb9f-55f8462bc175%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-29 Thread FrD
Hi Danielo,

Are you talking of that : 
http://tiddlywiki.com/#Order%20of%20Tagged%20Tiddlers ?

FrD

Le mardi 29 septembre 2015 19:13:00 UTC+2, Danielo Rodríguez a écrit :
>
> Hello Andreas,
>
> ...
>
> Also I saw an awesome trick, that deserves to be on tiddlywiki.com: the 
> list after field on the stylesheet tiddler. I was getting crazy about it! I 
> was trying to override some styles and they were not being applied. Thank 
> you for this also.
>
> Thank you very much!!
>

-- 
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/7e3b3283-dcb1-4664-a541-5d0c04033749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-29 Thread 'Andreas Hahn' via TiddlyWiki

Hi Tobias,

Yes, I did suggest and talk about it in this issue here: 
https://github.com/Jermolene/TiddlyWiki5/issues/1903 .
As far as I am concerned, Jeremy did give me a go on that one, which 
means that eventually I am gonna sit down and work out a few more 
concrete things and start a development branch on that. It is quite a 
big undertaking to kinda retroactively apply those simplifications to 
the widgets that are already in the core and I believe before I attempt 
any of that, there should be more tests testing the behaviour of widgets.


/Andreas


Am 29.09.2015 um 20:28 schrieb Tobias Beer:

Hi Andreas,

I didn't take a look at how common the things are that your 
*commonAction.js* provides.

Have you been proposing any of that to the core or considering that?

Best wishes,

— tb
--
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/691393d6-be58-491a-8b97-22dc09d18b6e%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/560AE49E.1060907%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Filter syntax to list all values of a field

2015-09-29 Thread Tobias Beer
Hi Bob,
 

> I'm trying to make a list of all the values of a specific field "Some 
> Field", for all tiddlers (probably not system or shadow tiddlers, but with 
> and without would be interesting) tagged with "Some Tag".
>

Try this on TiddlyWiki.com

{{{ [tag[WikiText]each[caption]get[caption]] }}}

Best wishes,

— tb

-- 
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/2eaece94-8f92-4def-b4b0-e6d6063a3baf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Filter syntax to list all values of a field

2015-09-29 Thread Eric Shulman
On Tuesday, September 29, 2015 at 11:17:52 AM UTC-7, Bob Flandard wrote:
>
> I'm trying to make a list of all the values of a specific field "Some 
> Field", for all tiddlers (probably not system or shadow tiddlers, but with 
> and without would be interesting) tagged with "Some Tag".
>
> This doesn't work:
> <$list filter="[tag[Some Tag]field:Some Field[]]"/>
>

You were close.  Use the "has[...]" filter to select tiddlers that have the 
desired field, and then output the field value inside the <$list> widget.

<$list filter="[tag[Some Tag]has[Some Field]"/>{{!!Some Field}}


-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4fb02ed3-9af3-4caa-ac29-2b94e2c34037%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-29 Thread Tobias Beer
Hi Andreas,

I didn't take a look at how common the things are that your 
*commonAction.js* provides.
Have you been proposing any of that to the core or considering that?

Best wishes,

— tb

-- 
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/691393d6-be58-491a-8b97-22dc09d18b6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Filter syntax to list all values of a field

2015-09-29 Thread Bob Flandard
Hello,

I'm trying to make a list of all the values of a specific field "Some 
Field", for all tiddlers (probably not system or shadow tiddlers, but with 
and without would be interesting) tagged with "Some Tag".

This doesn't work:
<$list filter="[tag[Some Tag]field:Some Field[]]"/>

Any ideas?

Thanks, Bob

-- 
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/9d2e480e-e727-4bff-aee6-b0d75737c4fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-29 Thread 'Andreas Hahn' via TiddlyWiki

Hi Danielo,

glad it could be of help. Yes the commonAction.js is required (you can 
see the setup method being called in the fireonrender constructor), but 
you are free to (and in fact I would recommend to) change the the name 
to "YOURPLUGINcommonAction", as I (and possibly other people) use this 
little helper widget in other plugins and the naming would ensure that 
it doesn't clash. (Example: I am using the same helper widget in Tinka 
as well, where I use it for regex checker and action filters and there 
it is named TinkaCommonAction)


Also, you can "borrow" (i.e. copy) as many of the styles and 
code/tiddlers as you want. I actually use the unibar plugin everyday as 
it simplifies my workflow immensly, but I haven't gone through the 
trouble of making it presentable or more available to other people. The 
trick with the list-after field is definitely one that should be 
included on tiddlywiki.com, if not already. (I think I only found it 
through googling in an older thread on this group)


/Andreas


Am 29.09.2015 um 19:13 schrieb Danielo Rodríguez:

Hello Andreas,

Thank you very much. I will take a look at your unibar plugin and the 
js file you are pointing. Looks like it depends on 
$:/plugins/ahahn/unibar/commonAction.js. Is commonAction required for 
the basic functionality? I suppose the answer is yes, but sure asking 
does not hurt :P


By the way, the looking is awesome!! I love the look and feel, do you 
mind if I borrow some styles?


Also I saw an awesome trick, that deserves to be on tiddlywiki.com: 
the list after field on the stylesheet tiddler. I was getting crazy 
about it! I was trying to override some styles and they were not being 
applied. Thank you for this also.


Thank you very much!!
--
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/5d64c1f6-72df-4326-9283-abfaec0e88b7%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/560AD4A7.6000803%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-29 Thread Danielo Rodríguez
Hello Andreas,

Thank you very much. I will take a look at your unibar plugin and the js 
file you are pointing. Looks like it depends on 
$:/plugins/ahahn/unibar/commonAction.js. 
Is commonAction required for the basic functionality? I suppose the answer 
is yes, but sure asking does not hurt :P

By the way, the looking is awesome!! I love the look and feel, do you mind 
if I borrow some styles?

Also I saw an awesome trick, that deserves to be on tiddlywiki.com: the 
list after field on the stylesheet tiddler. I was getting crazy about it! I 
was trying to override some styles and they were not being applied. Thank 
you for this also.

Thank you very much!!

-- 
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/5d64c1f6-72df-4326-9283-abfaec0e88b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-29 Thread Tobias Beer
Hi Mario,
 

> I was talking about the existing nodejs server implementation, which is 
> missing authorisation. 
>

Yes, that is good to know.
Perhaps I'm assuming too much that people don't actually use it
for production servers over the www ...and then they do.

When Dave spoke of giving the data / wiki to someone else,
I didn't think he's talking of exposing any file-store or node server.
I'd be thinking of standalone wikis built for that purpose,
safely encapsulated, immutable, i.e. not writing anything back.

I did have a closer look to hapijs but nothing to share yet.


With "framework" possibly meaning anything,
I am a bit at loss trying to figure out what
hapi  really is good for.

"Start your application like this" doesn't seem to be
the best introduction as to what something is for or good at.

Best wishes,

— tb

-- 
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/24e5a27c-763a-4fc5-950f-76429309a81c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-29 Thread PMario
On Tuesday, September 29, 2015 at 4:54:25 PM UTC+2, Tobias Beer wrote:
>
> So imo you can start with a simple file based version, because it has much 
>> less "moving parts". But for you "end goal" you'll definitely need a real 
>> database with several indexes for fast access.
>
>
> What's wrong with a filesystem and using grep?
>

Nothing. As I wrote: "start with it". But dedicated indices are faster. 
 

>
> Also authentication and more importantly authorisation handling is 
>> completely missing.
>
>
> When someone speaks of grep,
> that wouldn't be the first thing to come to my mind. 
>

The part you quoted, is out of context. I was talking about the existing 
nodejs server implementation, which is missing authorisation. 
 

>
> That way if you wanted to look at all patients with a certain diagnosis or 
>>> demographic profile you could load just them...
>>>
>>   
>
> But only if you did your indexing. The nodejs server doesn't have such 
>> functionality at the moment. 
>
>
> That would indeed be something very powerful
> when building / serving a TiddlyWiki from node,
> I hope it will be something OS agnostic in the end.
>

Yes. ... Much space for improvements :)
 

> Maybe we're back @ python and on a way TiddlyWeb5? :D
> ...possibly node can be bent to achieve the same.
>

I did have a closer look to hapijs but nothing to share yet. 
 
-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b9f7c16b-d106-49df-ae52-1665dc244393%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-29 Thread PMario
On Tuesday, September 29, 2015 at 4:54:25 PM UTC+2, Tobias Beer wrote:
>
> @ Mario,
>  
>
>> The very basic system, that I did describe in my first post, will work 
>> well for a single user. ... But it doesn't scale very well. If you need 
>> multi concurrent users, you'll definitely need a much more sophisticated 
>> concept and a server side backend. The TiddlyWeb concept should work quite 
>> well here. 
>>
>
> I think he's a chiropractor, not running a chiropractical school.
> So far, I did not hear Dave speak one word of multi-user.
>

Hi did. In the first post he asked about selling a product. .. 

... Could I sell this to other chiropractors/ companies?
>

see: companies.

see the following paragraph from Daves post:

It'll mainly be text in tiny chunks like [ tiddler:RightCervicalRotation, 
> fieldname:2015-09-28.11:40:19 AM, field content: 47 ] amalgamated into 
> lists and summary tiddlers, but probably hundreds of them per visit, and 
> over a patient's lifetime they can have up to hundreds of visits.  It will 
> be mainly me updating the data, but if I ever get it good enough to 
> distribute to other docs, there are often multiple people accessing it in 
> bigger clinics, although not usually at the same time.  Id imagine you 
> could keep it all behind a firewall of some sort, backups like any other 
> file structure I suppose.
>

-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e771a851-3825-4518-a6e8-6e05f154e976%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-29 Thread Tobias Beer
Hi Jonathan,

you mean "[all[current]!tag[locked]]" (tag, not tagging), right?


That's right, using the tagging filter for that purpose only works like 
so...

<$list filter="[all[current]]-[tagging[locked]]">

 

But it's not as efficient as using the tag filer, so... ;-)

How do i prevent my login tiddler of getting saved, so that the wiki
> starts with an empty input field in the login tiddler, even if the
> password was entered before the last saving?
>

Revisit 3) 
 up 
above again...

Best wishes,

— tb 

-- 
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/f370e529-a580-4255-8e5d-a892224b069c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to get a tiddler text as if it were a .tid file

2015-09-29 Thread Tobias Beer
Hi Danielo,

Ah, no chastising thyself. :-)

For anyone who doesn't use it yet,
in the google groups *Favourites* section in the sidebar,
you can create *folders* that show an *aggregation*
of all posts from all groups in them.

So, I have a TiddlyWiki folder with all this...





Best wishes,


— tb

-- 
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/4ded770d-7ea9-4172-a7f6-7e48254e4620%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-29 Thread Jonathan Haug

Hi Tobias,


> <$list filter="[all[current]!tagging[locked]]">

you mean "[all[current]!tag[locked]]"  (tag, not tagging), right?

Beside of that: fabulous!

To become my personal hero: one more thing ...

When I have entered my password it becomes saved inside the wiki, when I 
hit the save button (using tiddlyfox).
Next user opening the wiki gets write access cause the password is 
already entered. not so perfect ...


How do i prevent my login tiddler of getting saved, so that the wiki 
starts with an empty input field in the login tiddler, even if the 
password was entered before the last saving?


Thanks!


Jonathan

--
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/560AAEAC.5090902%40wolke7.net.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Transclude tiddler on list empty

2015-09-29 Thread Jeremy Ruston
Hi Danielo

<$list filter="[all[shadows+tiddlers]prefix{$:/state/OTW/Repository/Selected}]"
empty={{$:/plugins/danielo515/OctoWiki/ui/Loading}}>


The attribute is "emptyMessage", not "empty".

Best wishes

Jeremy.

On Tue, Sep 29, 2015 at 2:17 PM, Danielo Rodríguez 
wrote:

> One thing I have noticed is that the entire widget tag should be on the
> same line. Otherwise it will not work. Are you aware of that Jeremy?
>



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

-- 
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/CAPKKYJY7Vrqzb-m4jy%3Do%3DGmhcHW9R-pb0mE33bv2OO_oiws%3Dvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Transclude tiddler on list empty

2015-09-29 Thread Tobias Beer

>
> The content of the emptyMessage attribute is wikified. Try something like:
>
> <$list filter="[tag[mytag]]" emptyMessage="""<$transclude 
> tiddler="MyTitle"/>""" template="MyTemplate"/>
> 
>

Added here: Show Content For Empty Lists @ tb5 


Best wishes,

— tb 

-- 
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/9ec60aa7-dca5-403d-86d2-2b522315fc0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to get a tiddler text as if it were a .tid file

2015-09-29 Thread Danielo Rodríguez
Dam! I though that I have deleted that thread. Thank you very much Tobias 
to pointing it out (and also, to point how dumb I can be :P )

-- 
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/3fac6ff6-6805-44fd-a3a2-7e01f542030d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-29 Thread Tobias Beer
@ Mario,
 

> The very basic system, that I did describe in my first post, will work 
> well for a single user. ... But it doesn't scale very well. If you need 
> multi concurrent users, you'll definitely need a much more sophisticated 
> concept and a server side backend. The TiddlyWeb concept should work quite 
> well here. 
>

I think he's a chiropractor, not running a chiropractical school.
So far, I did not hear Dave speak one word of multi-user.

So imo you can start with a simple file based version, because it has much 
> less "moving parts". But for you "end goal" you'll definitely need a real 
> database with several indexes for fast access.


What's wrong with a filesystem and using grep?

Also authentication and more importantly authorisation handling is 
> completely missing.


When someone speaks of grep,
that wouldn't be the first thing to come to my mind. 

That way if you wanted to look at all patients with a certain diagnosis or 
>> demographic profile you could load just them...
>>
>   

But only if you did your indexing. The nodejs server doesn't have such 
> functionality at the moment. 


That would indeed be something very powerful
when building / serving a TiddlyWiki from node,
I hope it will be something OS agnostic in the end.
Maybe we're back @ python? :D
...possibly node can be bent to achieve the same.

~

@ Dave,
 

> I'd imagine you could keep it all behind a firewall of some sort, backups 
> like any other file structure I suppose.


So long as you build standalone output wikis for people to look at
and don't expoe your node-server outbound, there is no need for firewalls.

What I'm gathering is that Node.js is the way to go and mainly I have to 
> decide whether to have it in different wikis or one big wiki.  Isn't the 
> main point (or one of them) of TW using Node.js that size is irrelevant?
>

Yes,, size is irrelevant, so long as you know how to serve your tiddlers, 
i.e. in what "editions".
If you expect to have the server construct a wiki with 1.000.000 tiddlers 
and
then use and edit that wiki so as to write back changes to the server,
I suspect you'll have long before met Mr. Performance Barrier.

Best wishes,

— tb

-- 
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/6d4325e6-02ba-440d-bac1-25b12a6ef5d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to get a tiddler text as if it were a .tid file

2015-09-29 Thread Tobias Beer
Hi Danielo,
 

> Should I suppose there is not an easy way for this?
>

https://groups.google.com/d/msg/tiddlywikidev/muPP9ZTB7RM/3PrN8z_YAgAJ ;-)

Best wishes,

— tb 

-- 
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/a0a76275-8cdf-4511-9655-cd00186bbd6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: OT: ubuntu touch

2015-09-29 Thread PMario
On Monday, September 28, 2015 at 3:04:51 AM UTC+2, Spangenhelm wrote:
>
> You were talking about transfering from cellphone to cellphone but can you 
> use telegram to transfert files to your computer ?
>

Since there is an open API, it should be possible to send single tiddlers 
directly from one TW to an other one or even groups of users. 
There's also the possibility to have bots. eg: notification bots, that 
actively send reminders to you or the group  

-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/99719029-848c-4e4b-907e-b82f5ff7a429%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: OT: ubuntu touch

2015-09-29 Thread PMario
On Monday, September 28, 2015 at 3:04:51 AM UTC+2, Spangenhelm wrote:
>
> You were talking about transfering from cellphone to cellphone but can you 
> use telegram to transfert files to your computer ?
>

there are win, mac and web versions of the app. So that's possible and 
works very well. 
 

> And, just for the curiosity, have you tried to use one of your tw on your 
> phone directly (like opening, editing and saving a tw file present in the 
> phone?) i guess we can open and edit but there are no saving system atm 
> right?
>
 
I couldn't manage to save to the file system. The download fallback doesn't 
work. .. seems there is no blob support. 

-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3e70e3db-018b-48d6-a598-063c57bb7c04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: OT: ubuntu touch

2015-09-29 Thread PMario
On Monday, September 28, 2015 at 11:11:57 AM UTC+2, Spangenhelm wrote:
>
> Thanks i have just tried and as i expected i can open (but not directly i 
> have to enter its path manually in my browser) and edit a tw but not save 
> (on the Aquaris at least) because it tries to "open with" when we hit the 
> download button then a message appear saying that there are no applications 
> adapted to handle this kind of content..
>

I think saving is a browser problem. It seems the browser can't handle 
download blobs atm. ... So we would need to contribute there :)

-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6a60e498-d90b-4c14-912f-30a8a8cee30f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW development best practices question

2015-09-29 Thread PMario
On Monday,  September 28, 2015 at 8:08:44 PM UTC+2, Dave wrote:
>
> Which OS?
>
> I'm using Linux
>

ok
 

> It'll mainly be text in tiny chunks like [ tiddler:RightCervicalRotation, 
> fieldname:2015-09-28.11:40:19 AM, field content: 47 ] amalgamated into 
> lists and summary tiddlers,
>

The structure you describe here can't be built with tiddlers. I'm pretty 
sure, that RightCervicalRotation is a term, that needs to be used several 
times. But tiddler names have to be unique and field names need to be 
without "special characters, spaces and the must be all lower case"

So you can have a tiddler eg: 

title:  - 2015-09-28.11:40:19 AM 
right-cervical-rotation: 47
any-other-field: asdf

some descriptive content

pros: 

If  is unique, you'll have (allmost) no problems with duplicate 
tiddler names. (see cons)
It would be possible to mix different patients data, without naming 
conflicts.
These tiddlers are also anonymous, if the patient-id is not added to the 
data set. 

cons: 
With this configuration you can create 1 tiddler per second. Which is fine 
for a single user environment, but won't work for multiple concurrent 
users. 

but probably hundreds of them per visit, and over a patient's lifetime they 
> can have up to hundreds of visits.
>

So for a single user you'll easily have 10'000 elements. ... Since all TW 
data is loaded into the browser memory, you'll definitely hit the 
boundaries, where a single file TW is nicely usable.
 

>  It will be mainly me updating the data, but if I ever get it good enough 
> to distribute to other docs, there are often multiple people accessing it 
> in bigger clinics, although not usually at the same time.
>

The very basic system, that I did describe in my first post, will work well 
for a single user. ... But it doesn't scale very well. If you need multi 
concurrent users, you'll definitely need a much more sophisticated concept 
and a server side backend. The TiddlyWeb concept should work quite well 
here. 
 

>  Id imagine you could keep it all behind a firewall of some sort, backups 
> like any other file structure I suppose.
>

A firewall won't help here. The existing nodejs server is a very basic 
implementation for testing and sending single file TiddlyWikis. There is no 
server side indexing going on. The nodejs server dynamically builds a 
single file TW and sends it to the brwoser. So you won't gain any speed 
advantages with node.
 

> What I'm gathering is that Node.js is the way to go and mainly I have to 
> decide whether to have it in different wikis or one big wiki.  Isn't the 
> main point (or one of them) of TW using Node.js that size is irrelevant?
>

No. If you load an "all tiddlers TW" it will build a really big single file 
TW and send it to the browser. There is absolutely no database like 
functionality at the moment. It's a testserver!
 

>  Or would a single TW with thousands of patients each with thousands of 
> tiddlers become unwieldy even with node.js?
>

Exactly!
 

> Also, lets say that was the case and I chose to go with individual wikis: 
>  would it be easier to just grep information (I know bash better than 
> javascript, ha ha) for multi-patient reports, or is it conceivable to have 
> a separate "Admin" wiki that, although slower, would be able to include the 
> whole mass of them (that would be preferrable).  I'm pretty sure that is 
> what some of you have said or at least implied.
>

:) If you grep the whole dataset and build a new but smaller set, you 
basically create an index TW. Indexing is a mechanism, where real databases 
shine, if compared to sequential harddisk IO access. 
So imo you can start with a simple file based version, because it has much 
less "moving parts". But for you "end goal" you'll definitely need a real 
database with several indexes for fast access. 

TiddlyWeb has a concept, to deal with "stripped down" data sets. It's 
called recipes. 
 

> Also, isn't there a way to variably load subsets (patients) of tiddlers 
> into the single TW, 
>

Yes, you can build your "grep filters" at the beginning, to keep the number 
of "moving parts" low. The current nodejs server has no idea about recipes, 
bags, multi user access. Also authentication and more importantly 
authorisation handling is completely missing. 
 

> and just "purge and reload" the next one when needed, so it would behave 
> like single multiple wikis, but it would still be just the one.  Is that 
> what you were getting at Mario when you mentioned tiddlywiki.info files?
>

Kind of. With the tiddlywiki.inifo files you can describe, how a TW should 
be built. So every patient can have one "edition". But you also can create 
an edition, that combines tiddlers from several patients, without 
duplicating the tiddler files. ... You just need to take care about naming 
conflicts. See my info above. 
 

>  That way if you wanted to look at all patients with a certain diagnosis 
> or demographic profile you could load just them...
>

but only i

[tw] Re: [TW5] How to get a tiddler text as if it were a .tid file

2015-09-29 Thread Danielo Rodríguez
Should I suppose there is not an easy way for this?

-- 
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/dc642db7-1596-4e7f-8a9e-e43838a78fd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Creating an alternative Edit template

2015-09-29 Thread Tobias Beer
Hi Danielo,
 

> I think it was because some CSS rule that was hidding the title divs, 
>
and I set that class by mistake to my custom title.
>

;-)

That's why creating an MTC (Minimal Test-Case) is so important.
Chances are you would already find the problem creating it.

Best wishes,

— tb

-- 
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/37820320-2422-4389-8139-f2269a8d50d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Transclude tiddler on list empty

2015-09-29 Thread Tobias Beer
 Hi Danielo,
 

> One thing I have noticed is that the entire widget tag should be on the 
> same line. 
>
Otherwise it will not work. Are you aware of that Jeremy?
>

This works rather fine for me on TiddlyWiki.com:

<$list filter="[tag[DoesntExist]]" emptyMessage="""<$transclude

tiddler="About"

/>""" template="MyTemplate"/> 

Best wishes,

— tb

-- 
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/8cb59c8e-0ca4-467a-9563-3dfee865879f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Creating an alternative Edit template

2015-09-29 Thread Danielo Rodríguez

>
> Ok, just forget my last post, it was rubbish. :D
> Didn't quite get that you were looking up
> from a number of possible templates in the inner list.
> I really have to look a little closer
> when I see something like *listItem* being used.
>
>
Sometimes I can be not clear enough, not your fault

 

> ~
>
> It's a bit hard to imagine the possible problems without looking at some 
> MTC.
>
> You could have...
>
>
>1. forgotten to give the tiddler referenced in 
>*$:/state/OTW/editedTiddler*a field called "otw-alias"
>2. forgotten to give the second tiddler the tag *$:/OTW/Editor*
>3. given the second tiddler the tag *$:/tags/EditTemplate* instead of 
>the first one
>4. etc...
>
>
I really appreciate your help Tobias, but the issue is solved. None of the 
things you are pointing seems like the root cause. I think it was because 
some CSS rule that was hidding the title divs, and I set that class by 
mistake to my custom title.

Regards 

-- 
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/08f6b8fa-6410-4827-b2dc-04390dfcf7ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Transclude tiddler on list empty

2015-09-29 Thread Danielo Rodríguez
One thing I have noticed is that the entire widget tag should be on the 
same line. Otherwise it will not work. Are you aware of that 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ecdebc28-e20d-40f7-9abe-452c0e1ed440%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-29 Thread Tobias Beer
Hi Jonathan,
 

> Maybe I'm just a last step before the goal. 
> Someone with a last hint for me?
>

All you need is the list filter and a filter expression around the button 
that only shows it when the filter matches...

<$list filter="[all[current]

]">



For example...

<$list filter="[all[current]!tagging[locked]]">



Best wishes,

— tb

-- 
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/a27e0536-b76f-45bf-908b-c59e220f8c50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Trying to set BrowserTabTitle as per @Eric's example

2015-09-29 Thread Tobias Beer
Hi Magev,
 

> Would it be possible to show the field "caption" instead of "title"?
>

Sure, I have added an example here...

Custom Window Title @ tb5 
 

or short...

title: $:/core/wiki/title

{{$:/SiteTitle}} — <$tiddler tiddler={{$:/HistoryList!!current-tiddler}}><$view 
field="caption">{{!!title}}

Best wishes,

— tb

-- 
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/da549562-0ff2-48d5-a971-411c49fba68a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-29 Thread Jonathan Haug

Hi Tobias,


Although, you can surely do the very same procedure

with the edit button in the tiddler toolbar.


cool thing, it just works!

I've created a tiddler called Login and put the input field in there 
like you suggested. (No need to put it in the ControlPanel for me)


Then I edited the shadow tiddler $:/core/ui/Buttons/edit and added a 
reveal widget, following your hints.


Pretty cool, all the edit buttons are gone --  and come back when I go 
to the Login tiddler and enter my password.



BUT: I didn't want to remove *all* of the edit buttons.
Just from those tiddlers I tagged with "locked".
On all the other tiddlers (the "normal" ones) the edit buttons should 
stay as always.



Maybe I'm just a last step before the goal.
Someone with a last hint for me?

Thanks in advance

Jonathan



--
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/560A72EC.1050004%40wolke7.net.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Creating an alternative Edit template

2015-09-29 Thread Tobias Beer
Hi Danielo,
 

> Just to be clear Tobias, the variable of the list widget is essential to 
> keep the scope that I need.
>

Ok, just forget my last post, it was rubbish. :D
Didn't quite get that you were looking up
from a number of possible templates in the inner list.
I really have to look a little closer
when I see something like *listItem* being used.

~

It's a bit hard to imagine the possible problems whithout looking at some 
MTC.

You could have...


   1. forgotten to give the tiddler referenced in 
   *$:/state/OTW/editedTiddler*a field called "otw-alias"
   2. forgotten to give the second tiddler the tag *$:/OTW/Editor*
   3. given the second tiddler the tag *$:/tags/EditTemplate* instead of 
   the first one
   4. etc...

Best wishes,

— tb

-- 
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/ee5eb937-4149-47d7-80b6-47846329afee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Trying to set BrowserTabTitle as per @Eric's example

2015-09-29 Thread magev958
Would it be possible to show the field "caption" instead of "title"?

Den söndag 27 september 2015 kl. 21:44:48 UTC+2 skrev Tobias Beer:
>
> Hi Jeremy,
>  
>
>> It's actually a bit easier than that. Set $:/SiteTitle to:
>> {{$:/HistoryList!!current-tiddler}}
>>
>
> Thanks, that's nice. I have added a little *Window Title* how-to here...
>
> Custom Window Title @ tb5 
> 
>
> Best wishes,
>
> — tb
>

-- 
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/66b2d09e-bcc1-4f66-94c0-33398caf55b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Need some help with $set or $reveal widgets

2015-09-29 Thread Spangenhelm
Shame on me you are exactly right! it is just that i was too focused on the 
filter part my mind just forgot about the rest of the code...my bad!
I will add your solution to my "tw manual" ! Many thanks

-- 
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/4c95a8b4-b02c-4c5e-be9d-fa2ce115e659%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Need some help with $set or $reveal widgets

2015-09-29 Thread Evolena
I don't understand why do you absolutely want to use a set or reveal 
widget, as you only use the variable to display it. Is there a reason I 
don't see?
My list example works perfectly fine when typing the new title, even if a 
tiddler with the same title is created in the meanwhile, without having the 
refreshing issue of the set widget.

-- 
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/856bd644-3796-4c02-bd7c-b9517a17aa89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Transclude tiddler on list empty

2015-09-29 Thread Danielo Rodríguez
Hello Jeremy,

Thank you very much, I was trying something similar:

<$list filter="[all[shadows+tiddlers]prefix{$:/state/OTW/Repository/Selected}]"
empty={{$:/plugins/danielo515/OctoWiki/ui/Loading}}>


But it was not working. Sometimes I can't determine where to use a 
<>, when to use {{wikitext}} and when to use a widget as parameter.


Many thanks.

-- 
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/52d157ae-fd51-49b1-9c45-93c4b40f4a6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.