[tw] Re: [tw5]list filter field !value question

2014-05-31 Thread Måns
Hi Matabele
 

> Exercise caution when using the 'set=' and 'setTo=' attributes of the 
> <$button> and <$maketid> widgets in the same way as in the <$setfield> 
> widgets. The former do not target the value for the target propagated with 
> the 'param=' attribute by default, and in some circumstances will, 
> therefore, target a different tiddler.
>

Ok. 
Can you give me an example when it won't target the current tiddler or the 
tiddler being created? 

Cheers Måns Mårtensson

-- 
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] List all tiddler with summary (just like google search result)

2014-05-31 Thread Danielo Rodríguez
Hello Jimmy 

I just released a plugin that does exactly that. 

Search for context plugin in braintest.tiddlyspot.com 

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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] The <$mangletags> widget

2014-05-31 Thread Måns
Hi Matabele

I was wondering...

Can we create "a tagger" which would tag the current tiddler with tag name 
you click AND tag the the "tag-tiddler" with the name of the current 
tiddler all at once?

Obviously the reversed action should be possible too Remove a tag from 
the current tiddler and at the same time remove the current tiddlers title 
(as a tag) from the "tag-tiddler" at the same time...

I know this sounds overly complicated, however I've setup a system where I 
can tag teachers with tasks and tasks with teachers - and as it works now I 
have to do it in two steps like described above:

I tag teacher A with a task B

Now I have to find and open task B and tag it with the teacher to make both 
types of lists work...

Same thing applies when I tag a task B with the name of teacher A - I will 
have to find and open teacher A to tag him/her with task B...

Again - when I want to remove a teacher from a task or a task from a 
teacher - I will have to do it in two steps...

*NB : You migt want to skip the rest of this this feature request because 
it is so "interwoven" with one of my TW-projects that it is too complicated 
for me to create a simple minimal testcase for my examples - sorry... 

Here's my "tag a teacher with a task (subcategory SmallTask)" template. It 
is tagged with $:/tags/ViewTemplate  and it will show up in all tiddlers 
tagged with teacher.


\define tag-styles()
background-color:$(backgroundColor)$;
\end
\define slider(caption,state,text)
<$button popup="$state$">$caption$
<$reveal type="nomatch" state="$state$" text="">
$text$

\end

<$list filter="[is[current]tag[teacher]!prefix[$]] -[[teacher]]">

Choose a task from the category//(click on tasks to add them to this tiddler)//:
<$fieldmangler>
<$linkcatcher set="$:/NewTagName" setTo="" message="tw-add-tag">

<$count filter="[is[current]tagging[]tag[SmallTask]sort[title]]"> 
{{SmallTasks||$:/core/ui/TagTemplate}} has been choosen. <$button 
class="btn-invisible" popup="$:/SmallTasksPopupState">Choose some more: 
{{$:/core/images/new-button}}


<$reveal type="nomatch" state="$:/SmallTasksPopupState" text="">



<$list filter='[tag[task]tag[SmallTasks]] -[all[current]tags[]] 
-[[task]]'><$link><$set name='backgroundColor' value={{!!color}}>>class='tw-tag-label'><$view field='title' 
format='text'/>


 
  





A matching template for tasks looks like this:

\define tag-styles()
background-color:$(backgroundColor)$;
\end

<$list filter="[is[current]tag[opgave]!prefix[$]] -[[opgave]]">


<$fieldmangler>
<$list filter="[all[current]tags[]sort[title]] -[[opgave]]" 
storyview="pop"><$set name="backgroundColor" value={{!!color}}>> class="tw-tag-label">
<$view field="title" format="text" />
<$button message="tw-remove-tag" param={{!!title}} class="btn-invisible 
tw-remove-tag-button">×



<$list filter="[is[current]tag[task]!prefix[$]] -[[task]]">



@@float:right;

|borderless small|k
|>|>| [[Teacher(s)|Teachers]] |h
|>|>| <$list 
filter="[is[current]tagging[]tag[teacher]sort[title]]"><$link><$view 
field="title"/>,  |
| Start:| <$edit-text field="start" tag="input" type="date" format=" MM 
DD"> |<$transclude field="start"/> |
| End:| <$edit-text field="slut" tag="input" type="date" format=" MM DD"> 
|<$transclude field="slut"/> |

@@

Choose teacher:
<$fieldmangler>
<$linkcatcher set="$:/NewTagName" setTo="" message="tw-add-tag">
<$list filter="[tag[teacher]!prefix[$]] -[all[current]tags[]] 
-[[teacher]]">
<$link>
<$set name="backgroundColor" value={{!!color}}>
> class="tw-tag-label">
<$view field="title" format="text"/>








I made two templates one which allows removing teachers from tasks and 
another one which will remove tasks from teachers:


<$fieldmangler>
<$list filter="[all[current]tags[]sort[title]] -[[teacher]]" 
storyview="pop"><$set name="backgroundColor" value={{!!color}}>> class="tw-tag-label">
<$view field="title" format="text" /> 
<$button message="tw-remove-tag" param={{!!title}} class="btn-invisible 
tw-remove-tag-button">×
  

and a similar one for removing teachers from tasks:


<$fieldmangler>
<$list filter="[all[current]tags[]sort[title]] -[[task]]" storyview="pop"><$set 
name="backgroundColor" value={{!!color}}>> 
class="tw-tag-label">
<$view field="title" format="text" />
<$button message="tw-remove-tag" param={{!!title}} class="btn-invisible 
tw-remove-tag-button">×


 

 
My practical example is here: http://opgavefordeling.tiddlyspot.com/

It is not upgraded from 10 to 12 - because vsjs needs to be working...

Cheers Måns Mårtensson

Den fredag den 30. maj 2014 12.40.51 UTC+2 skrev Matabele:
>
> Hi
>
> I have added another widget at: http://gwiz.tiddlyspot.com/
>
> I needed to modify the tags in the template and the <$maketid> widget 
> overwrites the tags in the template ti

[tw] Re: [tw5]list filter field !value question

2014-05-31 Thread Matabele
Hi Mans

The set and setTo attributes of the button and maketid widgets have 
'currentTiddler' as the default target. The setfield widget has 
'currentTiddler' as the default target only in the absence of a parameter 
to the calling 'tw-set-field' message and in the absence of a value for the 
tiddler attribute.

Using the test code -- the setfield widget will target 'Target Two' (the 
message parameter) whilst the button widget will target 'Target One' 
('currentTiddler'.) The set and setTo attributes of the maketid widget 
function the same way as those of the button widget -- adopting the 
'currentTiddler' as the target. Neither the maketid nor the setfield widget 
change the value of the 'currentTiddler' -- the target must be specified by 
way of the calling event parameter or with the tiddler attribute (which 
overrides the calling event param.)

<$tiddler tiddler="Target One">
<$setfield set="!!text" setTo="this is the text from the setfield widget">
<$button set="!!text" setTo="this is the text from the button widget" 
message="tw-set-field" param="Target Two">Test


Hope this clarifies.

regards


On Saturday, May 31, 2014 10:26:16 AM UTC+2, Måns wrote:
>
> Hi Matabele
>  
>
>> Exercise caution when using the 'set=' and 'setTo=' attributes of the 
>> <$button> and <$maketid> widgets in the same way as in the <$setfield> 
>> widgets. The former do not target the value for the target propagated with 
>> the 'param=' attribute by default, and in some circumstances will, 
>> therefore, target a different tiddler.
>>
>
> Ok. 
> Can you give me an example when it won't target the current tiddler or the 
> tiddler being created? 
>
> Cheers Måns Mårtensson
>

-- 
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: List all tiddler with summary (just like google search result)

2014-05-31 Thread Måns
Hi Danielo

I just released a plugin that does exactly that. 
>
> Search for context plugin in braintest.tiddlyspot.com
>

GREAT JOB :-D

I really like how you set it up for customization too.
Well done!!

Thank you for sharing!!

Cheers Måns Mårtensson 

-- 
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]list filter field !value question

2014-05-31 Thread Matabele
Hi Mans

I had an additional thought - the following code might appear to 
synchronise the target:

<$tiddler tiddler="Target One">
<$setfield set="!!field3" setTo="this is the text from the setfield widget">
<$maketid title={{!!title}} set="!!field2" setTo="this is text from the 
maketid widget" message="tw-set-field">
<$button set="!!field1" setTo="this is the text from the button widget" 
message="tw-new-tiddler">Test


However this will be so only in the absence of an existing tiddler titled 
'Target One'. If 'Target One' exists, the maketid widget will create 
'Target One 1' which will be targeted by the setfield widget (field3) -- 
however the set and setTo attributes of the button and maketid widgets will 
target the existing 'Tiddler One' (field1 and field2.) 

regards

On Saturday, May 31, 2014 10:26:16 AM UTC+2, Måns wrote:
>
> Hi Matabele
>  
>
>> Exercise caution when using the 'set=' and 'setTo=' attributes of the 
>> <$button> and <$maketid> widgets in the same way as in the <$setfield> 
>> widgets. The former do not target the value for the target propagated with 
>> the 'param=' attribute by default, and in some circumstances will, 
>> therefore, target a different tiddler.
>>
>
> Ok. 
> Can you give me an example when it won't target the current tiddler or the 
> tiddler being created? 
>
> Cheers Måns Mårtensson
>

-- 
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: List all tiddler with summary (just like google search result)

2014-05-31 Thread Danielo Rodríguez
Hello Måns

Glad you liked it.

I tried to do it easily customizable because that's one of the main 
features of TW. Anyway, all suggestions are welcome so if you miss 
something, just let me know.

Seems this topic has a better title than the official plugin thread :-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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 nested list not working in 5.0.12

2014-05-31 Thread Danielo Rodríguez
Yes I did.

I see no difference.

Regards

El sábado, 31 de mayo de 2014 00:09:40 UTC+2, Julie escribió:
>
> Maybe an issue with the change of the is operator. Try with all[current] ?
>
> Le vendredi 30 mai 2014 14:40:48 UTC+2, Danielo Rodríguez a écrit :
>>
>> Anyone knows why this does not work anymore in 5.0.12?
>>
>> <$list filter="[tag[index]tags[]sort[title]]-index">
>> {{!!title}}
>> <$list filter="[is[current]tagging[]]">
>> -{{!!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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Emkay's visjs (Graph & timelineplugin/graphwidget) doesn't seem to work with TW5.0.12..

2014-05-31 Thread Danielo Rodríguez
Hello Mans

I removed the plugin from my wiki.

I looked into the code and this seems to be related to TW5 new core. Since 
I'm not familiar on what new features could cause this I'm afraid I will 
not be very useful here.

Sorry.

El jueves, 29 de mayo de 2014 03:27:36 UTC+2, Måns escribió:
>
> Hi Danielo
>  
>
>> Could you give us the chrome console output?
>
>
>
>1. Error executing boot module $:/plugins/emkay/visjs/graphwidget.js: 
>TypeError: Cannot call method 'measure' of undefined 
>jesperl12.html:32557
>   1. $tw.utils.errorjesperl12.html:32557
>   
> Render $:/plugins/danielo/encryptTiddler/encrypttiddler.js:40
> undefined $:/plugins/danielo/encryptTiddler/encrypttiddler.js:55
> Render $:/plugins/danielo/encryptTiddler/encrypttiddler.js:40
> undefined 
> $:/plugins/danielo/encryptTiddler/encrypttiddler.js:55 
>
> Cheers Måns Mårtensson
>

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Frederico Jeronimo


Hi Danielo,

I don't see why this wouldn't work with other svgs or any other image 
format for that matter. As a quick related test, I tried with a normal 
image instead (a gif) and detected no problems:

*CSS*
span.archive> a
{
background: url("./images/Icon_Winzip.gif") center left no-repeat;
padding-left: 18px;
}

would lead, for example, to a link pointing to a tiddler ('Zoology Research 
- Mammals (2013)') with the field 'class' set to value 'archive' as such:

{{Zoology research - Mammals (2013)||mylink}}



As for the amount of work required, I think it really depends on the number 
of individual icons you want for your tiddlers. For me, I only have about 5 
or 6 main categories of tiddlers, so I only need 5 or 6 classes in total. 
To put it in context, I can have a class called 'note' with about 30 
tiddlers and another called 'idea' applied in 40. All the notes have the 
same hyperlink icon as well as all the ideas.

Of course, if I wanted individual icons for each and every tiddler, I was 
looking at specifying 70 classes in total, which might be quite a bit of 
work...

To make this easier to manage, I'm in the process of creating template 
tiddlers that will populate the class field automatically (and define the 
overall structure of the tiddler) when I generate new ones (e.g. if I want 
a note tiddler, the class will be filled with 'note'). 


On Tuesday, May 27, 2014 10:59:05 PM UTC+1, Danielo Rodríguez wrote:
>
> Can this work with normal svg images? I like the font awesome icons but 
> I'm worried about compatibility. So for each link you have to create a new 
> tiddler with the title and a field called class? how do you manage this?
>
> Would you consider to post a public online example?
>

-- 
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]list filter field !value question

2014-05-31 Thread Måns
Hi Matabele

Yes it does. Thank you :-)

Cheers Måns Mårtensson

Den lørdag den 31. maj 2014 12.37.11 UTC+2 skrev Matabele:
>
> Hi Mans
>
> The set and setTo attributes of the button and maketid widgets have 
> 'currentTiddler' as the default target. The setfield widget has 
> 'currentTiddler' as the default target only in the absence of a parameter 
> to the calling 'tw-set-field' message and in the absence of a value for the 
> tiddler attribute.
>
> Using the test code -- the setfield widget will target 'Target Two' (the 
> message parameter) whilst the button widget will target 'Target One' 
> ('currentTiddler'.) The set and setTo attributes of the maketid widget 
> function the same way as those of the button widget -- adopting the 
> 'currentTiddler' as the target. Neither the maketid nor the setfield widget 
> change the value of the 'currentTiddler' -- the target must be specified by 
> way of the calling event parameter or with the tiddler attribute (which 
> overrides the calling event param.)
>
> <$tiddler tiddler="Target One">
> <$setfield set="!!text" setTo="this is the text from the setfield widget">
> <$button set="!!text" setTo="this is the text from the button widget" 
> message="tw-set-field" param="Target Two">Test
> 
>
> Hope this clarifies.
>
> regards
>
>
> On Saturday, May 31, 2014 10:26:16 AM UTC+2, Måns wrote:
>>
>> Hi Matabele
>>  
>>
>>> Exercise caution when using the 'set=' and 'setTo=' attributes of the 
>>> <$button> and <$maketid> widgets in the same way as in the <$setfield> 
>>> widgets. The former do not target the value for the target propagated with 
>>> the 'param=' attribute by default, and in some circumstances will, 
>>> therefore, target a different tiddler.
>>>
>>
>> Ok. 
>> Can you give me an example when it won't target the current tiddler or 
>> the tiddler being created? 
>>
>> Cheers Måns Mårtensson
>>
>

-- 
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]list filter field !value question

2014-05-31 Thread Måns

Hi Matabele

Neat :-)

As I understand it the maketid widget creates the tiddler if it doesn't 
exist already - and appends the specified field and fieldvalue at the same 
time..

If the tiddler doesn't exist already the maketid widget and set field 
widget will write fields & values to the existing tiddler, however the 
maketid will also create a new tiddler with a numbered appendix to the 
title - and this tiddler won't get fields & values set by the widgets...

It seems a little unuseful that maketid will create an extra tiddler 
without fields & values
What might an use case be?

Hmm. Maybe it would be good if maketid didn't create a new tiddler - if the 
targetted already exists - however this might be the basis for writing yet 
another widget - or have some additional parameter telling maketid not to 
create a tiddler if the original tiddler title already exists...  

As if I knew what I was talking about ... ;-)

Cheers Måns Mårtensson


Den lørdag den 31. maj 2014 12.51.24 UTC+2 skrev Matabele:
>
> Hi Mans
>
> I had an additional thought - the following code might appear to 
> synchronise the target:
>
> <$tiddler tiddler="Target One">
> <$setfield set="!!field3" setTo="this is the text from the setfield 
> widget">
> <$maketid title={{!!title}} set="!!field2" setTo="this is text from the 
> maketid widget" message="tw-set-field">
> <$button set="!!field1" setTo="this is the text from the button widget" 
> message="tw-new-tiddler">Test
> 
>
> However this will be so only in the absence of an existing tiddler titled 
> 'Target One'. If 'Target One' exists, the maketid widget will create 
> 'Target One 1' which will be targeted by the setfield widget (field3) -- 
> however the set and setTo attributes of the button and maketid widgets will 
> target the existing 'Tiddler One' (field1 and field2.) 
>
> regards
>
> On Saturday, May 31, 2014 10:26:16 AM UTC+2, Måns wrote:
>>
>> Hi Matabele
>>  
>>
>>> Exercise caution when using the 'set=' and 'setTo=' attributes of the 
>>> <$button> and <$maketid> widgets in the same way as in the <$setfield> 
>>> widgets. The former do not target the value for the target propagated with 
>>> the 'param=' attribute by default, and in some circumstances will, 
>>> therefore, target a different tiddler.
>>>
>>
>> Ok. 
>> Can you give me an example when it won't target the current tiddler or 
>> the tiddler being created? 
>>
>> Cheers Måns Mårtensson
>>
>

-- 
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: Emkay's visjs (Graph & timelineplugin/graphwidget) doesn't seem to work with TW5.0.12..

2014-05-31 Thread Måns
Hi Danielo

No problem!

I hope Emkay notices that we like his plugin - and would love to see it 
work with the latest version of TW.

Cheers Måns Mårtensson

Den lørdag den 31. maj 2014 13.21.48 UTC+2 skrev Danielo Rodríguez:
>
> Hello Mans
>
> I removed the plugin from my wiki.
>
> I looked into the code and this seems to be related to TW5 new core. Since 
> I'm not familiar on what new features could cause this I'm afraid I will 
> not be very useful here.
>
> Sorry.
>
> El jueves, 29 de mayo de 2014 03:27:36 UTC+2, Måns escribió:
>>
>> Hi Danielo
>>  
>>
>>> Could you give us the chrome console output?
>>
>>
>>
>>1. Error executing boot module $:/plugins/emkay/visjs/graphwidget.js: 
>>TypeError: Cannot call method 'measure' of undefined 
>>jesperl12.html:32557
>>   1. $tw.utils.errorjesperl12.html:32557
>>   
>> Render $:/plugins/danielo/encryptTiddler/encrypttiddler.js:40
>> undefined $:/plugins/danielo/encryptTiddler/encrypttiddler.js:55
>> Render $:/plugins/danielo/encryptTiddler/encrypttiddler.js:40
>> undefined 
>> $:/plugins/danielo/encryptTiddler/encrypttiddler.js:55 
>>
>> Cheers Måns Mårtensson
>>
>

-- 
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: Emkay's visjs (Graph & timelineplugin/graphwidget) doesn't seem to work with TW5.0.12..

2014-05-31 Thread Alberto Molina


> I hope Emkay notices that we like his plugin - and would love to see it 
> work with the latest version of TW.
>
 
+1

-- 
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] The <$mangletags> widget

2014-05-31 Thread Matabele
Hi Mans

This should have been easy using a pair of <$mangletags> widgets -- except 
there's a bug in my <$mangletags> widget. When I stack two <$mangletags> 
widgets around a button, I don't get the results expected. I think this may 
be due to faulty updating of the objects between the inner and outer 
instances of the widget -- still trying to track down what's wrong.

I will get back to you when (if) I manage to solve the problem. The widget 
worked when I had three separate handlers for an 'add' 'remove' and 
'replace', but this meant using three different widget messages. In the 
process of combining this into one handler, somethings gone wrong :-(

regards

On Saturday, May 31, 2014 12:27:55 PM UTC+2, Måns wrote:
>
> Hi Matabele
>
> I was wondering...
>
> Can we create "a tagger" which would tag the current tiddler with tag name 
> you click AND tag the the "tag-tiddler" with the name of the current 
> tiddler all at once?
>
> Obviously the reversed action should be possible too Remove a tag from 
> the current tiddler and at the same time remove the current tiddlers title 
> (as a tag) from the "tag-tiddler" at the same time...
>
>
>

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Måns
Hi Frederico, Stephan and Danielo

Do you know if it will ever be possible to use tiddler images in a class? 
Imo hardcoding base64 binary code for images in stylesheets has never been 
"my cup of tea" - however I really like the idea of having few images as 
tiddlers in a TW - and reuse them for many purposes: as icons - button 
images etc etc ...

I realize that it *is* possible when tiddlers are distributed via node.js 
or tiddlyweb as individual entities, because it allows us to point to a 
binary image tiddler - I am talking about a standalone/one file TW... 

Cheers Måns Mårtensson 

Den lørdag den 31. maj 2014 13.49.07 UTC+2 skrev Frederico Jeronimo:
>
> Hi Danielo,
>
> I don't see why this wouldn't work with other svgs or any other image 
> format for that matter. As a quick related test, I tried with a normal 
> image instead (a gif) and detected no problems:
>
> *CSS*
> span.archive> a
> {
> background: url("./images/Icon_Winzip.gif") center left no-repeat;
> padding-left: 18px;
> }
>
> would lead, for example, to a link pointing to a tiddler ('Zoology 
> Research - Mammals (2013)') with the field 'class' set to value 'archive' 
> as such:
>
> {{Zoology research - Mammals (2013)||mylink}}
>
>
> 
>
> As for the amount of work required, I think it really depends on the 
> number of individual icons you want for your tiddlers. For me, I only have 
> about 5 or 6 main categories of tiddlers, so I only need 5 or 6 classes in 
> total. To put it in context, I can have a class called 'note' with about 30 
> tiddlers and another called 'idea' applied in 40. All the notes have the 
> same hyperlink icon as well as all the ideas.
>
> Of course, if I wanted individual icons for each and every tiddler, I was 
> looking at specifying 70 classes in total, which might be quite a bit of 
> work...
>
> To make this easier to manage, I'm in the process of creating template 
> tiddlers that will populate the class field automatically (and define the 
> overall structure of the tiddler) when I generate new ones (e.g. if I want 
> a note tiddler, the class will be filled with 'note'). 
>
>
> On Tuesday, May 27, 2014 10:59:05 PM UTC+1, Danielo Rodríguez wrote:
>>
>> Can this work with normal svg images? I like the font awesome icons but 
>> I'm worried about compatibility. So for each link you have to create a new 
>> tiddler with the title and a field called class? how do you manage this?
>>
>> Would you consider to post a public online example?
>>
>

-- 
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] The <$maketid> and <$setfield> widgets

2014-05-31 Thread Alberto Molina
Hi Matabele,

Thanks a lot for the widgets! I find them extremely useful to create 
newHere buttons and I'm presently trying to customize them.

When a new tiddler is created with your widgets, it is opened in view mode. 
How to get it in edit mode, like the regular "new tiddler button" ?

Regards,
Alberto


-- 
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] The <$maketid> and <$setfield> widgets

2014-05-31 Thread Matabele
Hi Molina

There's an 'edit=' attribute available -- in the absence of this attribute, 
the default setting (edit="yes") should open the tiddler for editing. With 
edit="show' -- the widget should navigate to the new tiddler without 
opening, and with edit="no" -- the new tiddler should be created in the 
background (all navigation suppressed.)

I have just tested again in a standalone v5.0.12-beta, and the behaviour is 
as expected -- if you are getting some other behaviour, please let me know 
with details of TW version, browser etc.

Whilst testing, I noticed that although the new tiddler appears in the 
search results, it fails to appear in the 'Recent' tab -- this was not the 
case when I was developing the widget with v5.0.10 on node.js :-(

regards

On Saturday, May 31, 2014 2:50:57 PM UTC+2, Alberto Molina wrote:
>
> Hi Matabele,
>
> Thanks a lot for the widgets! I find them extremely useful to create 
> newHere buttons and I'm presently trying to customize them.
>
> When a new tiddler is created with your widgets, it is opened in view 
> mode. How to get it in edit mode, like the regular "new tiddler button" ?
>
> Regards,
> Alberto
>
>
>

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Danielo Rodríguez
Thank you Federico. 

Looks that you have quite experience with CSS. Thank you for taking the time to 
explain it to me. 

I will put it in practice. Thank you! 

-- 
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: Emkay's visjs (Graph & timelineplugin/graphwidget) doesn't seem to work with TW5.0.12..

2014-05-31 Thread Danielo Rodríguez
I would love to see how do you use the widget. A real use case. 

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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Custom images/icons on internal links

2014-05-31 Thread Stephan Hradek


Am Samstag, 31. Mai 2014 14:46:33 UTC+2 schrieb Måns:
>
> Do you know if it will ever be possible to use tiddler images in a class? 
>
Just by transcluding them in the stylesheet.
 

> Imo hardcoding base64 binary code for images in stylesheets has never been 
> "my cup of tea"
>
Which would be kind of hard-coding.

-- 
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] Transclusions as macro parameters problem with TW5.12

2014-05-31 Thread HowardM
I can transclude the contents of fields and dictionary entries using the 
formats {{tiddler!!field}} and {{tiddler##index}} but I can only make the 
former (field) work as a macro or widget parameter.   Transcluding a data 
dictionary entry as a parameter - say parameter={{tiddler##index}} - 
results in the widget or macro giving no result.

Is this one of the deliberate limitations mentioned in the documentation on 
data tiddlers or am I missing something ?

I haven't tried this before upgrading to TW5.12 so I don't know if it is 
specific to this version.

Grateful for any advice

-- 
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: Emkay's visjs (Graph & timelineplugin/graphwidget) doesn't seem to work with TW5.0.12..

2014-05-31 Thread Måns
Hi Danielo

I would love to see how do you use the widget. A real use case.


I'm using it on all created tasks here: 
http://opgavefordeling.tiddlyspot.com/

A task is "opgave" in Danish.

If you click the button "Tidslinie" (timeline) in the first tiddler 
(Opgaver) you will get a timeline view of time intervals for tasks.

There's a lot of text telling that start or end dates are missing from 
individual tasks - however at the bottom of the popup you should be able to 
see those tasks in a timeline which have start and end dates set.

To the right of the "Tidlslinie" (timeline) button there's a button called 
"Mindmap". Depending on OS, browser and cpu/ram this will show you a Graph 
of all tiddlers grouped in tasks - showing nodes in respective colors..

If you use Chrome when you click the dates shown in a task tiddler,  you'll 
get a date popup allowing you to set start and end date - If you use FF or 
IE you can still add start and end dates - however you don't get the 
convenient date picker dialog - and you'll have to respect the date format 
used by vsjs to make it work with the timeline..

Cheers Måns Mårtensson

-- 
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]list filter field !value question

2014-05-31 Thread Matabele
Hi Mans

On Saturday, May 31, 2014 2:27:24 PM UTC+2, Måns wrote:
>
>
> As I understand it the maketid widget creates the tiddler if it doesn't 
> exist already - and appends the specified field and fieldvalue at the same 
> time..
>

No -- the new tiddler gets created from the template with the title and 
tags specified (these two fields write over the 'title' and 'tags' fields 
of the template before it is created.) The setting of the value of the 
text-reference is done separately and may be subject to the vagaries of 
timing (presently the new tiddler appears to be created before the value of 
the text-reference is set.) This can be seen since the target of the set 
and setTo attributes may differ from the newly created tiddler.


> If the tiddler doesn't exist already the maketid widget and set field 
> widget will write fields & values to the existing tiddler, however the 
> maketid will also create a new tiddler with a numbered appendix to the 
> title - and this tiddler won't get fields & values set by the widgets...
>

Again, not quite correct. The message parameter generated by the <$maketid> 
widget will be the same as the title of the new tiddler (even if a new name 
is generated in the case that the title specified already exists) -- all of 
the <$setfield> widgets will, therefore, target the newly created tiddler.

The set and setTo attributes of the <$button> and <$maketid> widgets, 
however differ -- they target 'currentTiddler'. In the case that the target 
specified for these attributes is the same as the new title, all will be 
well provided that there is no existing tiddler with that title. If there 
is, the <$maketid> widget will change the title and create a new tiddler 
with a different name without changing 'currentTiddler'.

I can not change the behaviour of the <$button> widget, and by choice I 
chose to mirror this behaviour in the <$maketid> widget. This could be 
changed -- or the set and setTo attributes of the <$maketid> widget could 
be removed entirely (after all, a <$setfield> widget is easily added.) 

In any case -- the best practice is to use only <$setfield> widgets if you 
intend to target the new tiddler -- use the set and setTo attributes of the 
<$button> and <$maketid> widgets for other purposes.

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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Custom images/icons on internal links

2014-05-31 Thread Måns
Hi Stephan
 

> Do you know if it will ever be possible to use tiddler images in a class? 
>>
> Just by transcluding them in the stylesheet.
>

Could you please show me the right syntax for doing that?

I have tried variations like :  

.SomeClass{
background: url({{$:/core/images/home-button}}) center left no-repeat;
padding-left: 18px;
}
 - to no avail

Cheers Måns Mårtensson


 
>
>> Imo hardcoding base64 binary code for images in stylesheets has never 
>> been "my cup of tea"
>>
> Which would be kind of hard-coding.
>

-- 
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: Emkay's visjs (Graph & timelineplugin/graphwidget) doesn't seem to work with TW5.0.12..

2014-05-31 Thread Andreas Hahn

Hi,

if I am not mistaken, the problem is that the graphwidget plugin 
compiles several filters when it is first executed, which fails, because 
the compileFilter-function uses the performance framework which in turn 
has not yet been initialized by startup.js.
So this seems to be a problem with the module execution order. However I 
don't know if this is a bug and the Filter module has to assure that the 
performance framework has been loaded or if this expected behaviour and 
one is not supposed to use the Filter module in such a way.


Anyway, you should be able to get it to work by postposing the Filter 
compilation in graphwidget.js until it is necessary.


Regards,
/Andreas

Am 31.05.2014 13:21, schrieb Danielo Rodríguez:

I removed the plugin from my wiki.

I looked into the code and this seems to be related to TW5 new core. 
Since I'm not familiar on what new features could cause this I'm 
afraid I will not be very useful here.


Sorry.



--
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 Node.js a couple of questions.

2014-05-31 Thread Danielo Rodríguez
Hello,

Recently I started to use the Node.js edition of tiddlywiki. I find 
extremely useful having the tiddlers in separate files rather than in a 
single standalone one. BUT, I have a couple of doubts that I want to 
resolve.

Firs of all: How can I get an offline version of my wiki? I mean, a real 
standalone version. The instructions here 

 describes 
how to do something similar. BUT all the server menus and plugins are 
included. I want to get rid of those. I noticed there is a button to get an 
offline version on the server tab menu. That's exactly what I want, but 
from command line. I tried this with no luck, I just get an empty file:

tiddlywiki tiddlyTest/ --rendertiddler $:/editions/server/download-offline 
test1.html text/plain

2. If I import a wiki file to the node version for the first time 
everything works fine. So far so good. But If I edit some of the imported 
tiddlers in the node.js version and then I import again the same file my 
changes are overwritten. This makes no sense to me. One would expect to 
import only the newest version of each tiddler. Is there a way to fix this? 
With this you can carry you wiki in a Usb stick and import it automatically 
when you arrive home without any worry of get overwritten information.

3. Is possible to tell the core to export a new offline snapshot every time 
a new tiddler is created?

Thank you all!


-- 
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] The <$maketid> and <$setfield> widgets

2014-05-31 Thread Alberto Molina
Works fine. Thanks!

Alberto

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Stephan Hradek
I wish I could but I can't - at least not yet.

-- 
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]list filter field !value question

2014-05-31 Thread Måns
Hi Matabele

Thank you for explaining things :-)

Sorry if I'm still confusing things however:

I'm not sure if I would prefer that:

>the set and setTo attributes of the <$maketid> widget could be removed 
entirely (after all, a <$setfield> widget is easily added.) 

You can't have more than one set of set and setTo attribute in one 
<$maketid> call - or can you?
Isn't that why you introduced the <$setfield> widget in the first place? - 
or is it because <$setfield> is more "generic" ? (eg. can be added to the 
button macro)...

I hope you will excuse my obvious confusion in these matters - however I 
haven't tried to create widgets or plugins myself - for a reason  

Cheers Måns Mårtensson

-- 
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] The <$maketid> and <$setfield> widgets

2014-05-31 Thread Matabele
Hi
 

>
> Whilst testing, I noticed that although the new tiddler appears in the 
> search results, it fails to appear in the 'Recent' tab -- this was not the 
> case when I was developing the widget with v5.0.10 on node.js :-(
>

With additional testing, I can confirm that a misbehaviour has arisen with 
the change from v5.0.10 to v5.0.12. After updating to v5.0.12, the title of 
the new tiddler appears in the 'Open' tab and in search results, but is 
absent from the 'Recent' tab (in v5.0.10, all was well.)

Does anyone know what has changed in v5.0.12 to cause this, and what remedy 
is necessary? The code of the navigator widget appears unchanged and I have 
failed to locate the change causing the misbehaviour.

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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [tw5]list filter field !value question

2014-05-31 Thread Matabele
Hi Mans

I am open to suggestions. I have debated whether to retain the set and 
setTo attributes of the <$maketid> widget myself (they are a legacy from 
the <$linkcatcher> widget which was my template for developing both the 
<$seffield> and <$maketid> widgets.)

The set and setTo attributes of the <$button> widget can take care of state 
variables (this must be the primary reason for their existence.) The set 
and setTo attributes of the <$maketid> widget appear somewhat redundant 
(and clearly create confusion.)

Should they be retained? Can anyone think of a use for them (remembering 
that they target 'currentTiddler' by default), or should they be removed?

regards

On Saturday, May 31, 2014 5:50:37 PM UTC+2, Måns wrote:
>
> Hi Matabele
>
> Thank you for explaining things :-)
>
> Sorry if I'm still confusing things however:
>
> I'm not sure if I would prefer that:
>
> >the set and setTo attributes of the <$maketid> widget could be removed 
> entirely (after all, a <$setfield> widget is easily added.) 
>
> You can't have more than one set of set and setTo attribute in one 
> <$maketid> call - or can you?
> Isn't that why you introduced the <$setfield> widget in the first place? - 
> or is it because <$setfield> is more "generic" ? (eg. can be added to the 
> button macro)...
>
> I hope you will excuse my obvious confusion in these matters - however I 
> haven't tried to create widgets or plugins myself - for a reason  
>
> Cheers Måns Mårtensson
>

-- 
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] The <$mangletags> widget

2014-05-31 Thread Matabele
Hi

I seem to have messages flying all over the place when more than two 
<$mangletags> widgets are used in the same stack (same applies to two 
<$maketid> widgets) -- until I find a remedy, using more than one of either 
of these widgets in one stack will give unpredictable results.

regards

On Friday, May 30, 2014 12:40:51 PM UTC+2, Matabele wrote:
>
> Hi
>
> I have added another widget at: http://gwiz.tiddlyspot.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.
For more options, visit https://groups.google.com/d/optout.


[tw] Transclusions as macro parameters problem with TW5.12

2014-05-31 Thread Danielo Rodríguez
Hello, 
You have to enclose the macrocall inside a set widget and use a variable to 
access the content. 

<$set name="variable" value={transclusion}>  <> 

In the macro you use $variable$, or $(variable)$ I don't remember 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] The <$mangletags> widget

2014-05-31 Thread Matabele
Hi Mans

I have a workaround for the bug in my <$mangletags> widget -- this will 
enable you to get the gist of my idea to see if this might be what you are 
looking for (hopefully, I will fix the bug and the dummy <$setfield> will 
no longer be required.) I have used three tiddlers to explain the idea (and 
a fourth 'temp' tiddler to store variables) -- you may choose to include 
the buttons in either the 'teacher' tiddler or the 'task' tiddler for your 
application.

1. Create a tiddler with the title "Joe Bloggs" -- to represent a teacher
2. Create a tiddler with the title "Sport" -- to represent a task
3. Put this code into a third tiddler:

;Teacher:<$edit-text tiddler="temp" field="teacher"/>
;Task:<$edit-text tiddler="temp" field="task"/>

<$mangletags tiddler={{temp!!task}} add={{temp!!teacher}}>
<$setfield message="tw-mangle-tags">
<$mangletags tiddler={{temp!!teacher}} add={{temp!!task}} message=
"tw-set-field">
<$button  message="tw-mangle-tags" param={{temp!!teacher}}>Set



<$mangletags tiddler={{temp!!task}} find={{temp!!teacher}}>
<$setfield message="tw-mangle-tags">
<$mangletags tiddler={{temp!!teacher}} find={{temp!!task}} message=
"tw-set-field">
<$button  message="tw-mangle-tags" param={{temp!!teacher}}>Reset


4. Save the tiddler
5. Enter "Joe Bloggs" into the Teacher input box (this creates a variable 
'teacher' in the tiddler 'temp' for the widgets to read)
6. Enter "Sport" into the Task input box (this creates a variable 'task' in 
the tiddler 'temp' for the widgets to read)
5. Play with the buttons

regards


On Saturday, May 31, 2014 12:27:55 PM UTC+2, Måns wrote:
>
> Hi Matabele
>
> I was wondering...
>
> Can we create "a tagger" which would tag the current tiddler with tag name 
> you click AND tag the the "tag-tiddler" with the name of the current 
> tiddler all at once?
>
> Obviously the reversed action should be possible too Remove a tag from 
> the current tiddler and at the same time remove the current tiddlers title 
> (as a tag) from the "tag-tiddler" at the same time...
>
>>
>>

-- 
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] keep colors in data tiddler

2014-05-31 Thread Rustem
How can I keep my colors in a separate tiddler and then refer to them in my 
style sheet? I tried to replicate what I saw in shadow tiddlers, without 
success.
Note, I do not want to create a whole palette. I'm happy with Vanilla. Just 
want to define additional colors, without overriding the shadow tiddler.

-- 
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] The <$mangletags> widget

2014-05-31 Thread Matabele
Hi Mans

Sorry, it had slipped my mind that I found a careless mistake in my 
<$mangletags> widget - this has been fixed and I am currently trying to 
upload the revised widget (the internet here has crawled to a stop.) This 
does not fix the bug and the dummy <$setfield> is still required.) 

I have posted the demo for you on the site, and I suggest updating your 
<$mangletags> widget before trying this at home :-)

regards

On Saturday, May 31, 2014 7:08:57 PM UTC+2, Matabele wrote:
>
> Hi Mans
>
> I have a workaround for the bug in my <$mangletags> widget -- this will 
> enable you to get the gist of my idea to see if this might be what you are 
> looking for (hopefully, I will fix the bug and the dummy <$setfield> will 
> no longer be required.) I have used three tiddlers to explain the idea (and 
> a fourth 'temp' tiddler to store variables) -- you may choose to include 
> the buttons in either the 'teacher' tiddler or the 'task' tiddler for your 
> application.
>
> 1. Create a tiddler with the title "Joe Bloggs" -- to represent a teacher
> 2. Create a tiddler with the title "Sport" -- to represent a task
> 3. Put this code into a third tiddler:
>
> ;Teacher:<$edit-text tiddler="temp" field="teacher"/>
> ;Task:<$edit-text tiddler="temp" field="task"/>
>
> <$mangletags tiddler={{temp!!task}} add={{temp!!teacher}}>
> <$setfield message="tw-mangle-tags">
> <$mangletags tiddler={{temp!!teacher}} add={{temp!!task}} message=
> "tw-set-field">
> <$button  message="tw-mangle-tags" param={{temp!!teacher}}>Set
> 
>
>
> <$mangletags tiddler={{temp!!task}} find={{temp!!teacher}}>
> <$setfield message="tw-mangle-tags">
> <$mangletags tiddler={{temp!!teacher}} find={{temp!!task}} message=
> "tw-set-field">
> <$button  message="tw-mangle-tags" param={{temp!!teacher}}>Reset
> 
>
> 4. Save the tiddler
> 5. Enter "Joe Bloggs" into the Teacher input box (this creates a variable 
> 'teacher' in the tiddler 'temp' for the widgets to read)
> 6. Enter "Sport" into the Task input box (this creates a variable 'task' 
> in the tiddler 'temp' for the widgets to read)
> 5. Play with the buttons
>
> regards
>
>
> On Saturday, May 31, 2014 12:27:55 PM UTC+2, Måns wrote:
>>
>> Hi Matabele
>>
>> I was wondering...
>>
>> Can we create "a tagger" which would tag the current tiddler with tag 
>> name you click AND tag the the "tag-tiddler" with the name of the current 
>> tiddler all at once?
>>
>> Obviously the reversed action should be possible too Remove a tag 
>> from the current tiddler and at the same time remove the current tiddlers 
>> title (as a tag) from the "tag-tiddler" at the same time...
>>
>>>
>>>

-- 
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] How to hide/exclude shadow tiddlers

2014-05-31 Thread DC Reader
Hello,

How can I exclude shadow tiddlers from the Tags tab in the sidebar? And is it 
possible to have a sidebar with all tiddlers except system/shadow tiddlers?

-- 
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] keep colors in data tiddler

2014-05-31 Thread Danielo Rodríguez
I think I did it. Just let me check my own wiki 

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Danielo Rodríguez
I think it is possible using macros. 

The theme Tiddlers uses 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Feature request for tagging

2014-05-31 Thread Shash
Hi,

I would love to have a close button for the tags even in view mode similar 
to the one in edit mode. This would help in reorganization of the tiddlers 
in a faster way as there would be only one button click to remove a 
particular tag from the tiddler rather than three clicks. 

Please join to put in your views.

Regards 
Shash

-- 
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] Update all issues/bugs in tiddlywiki.com

2014-05-31 Thread Shash
Hi Jeremy,

Sometimes it happens that whenever I find any issue with Tiddlywiki 5 while 
working and try to raise an alarm in this group, the issue happens to be 
already listed in github. I would suggest instead of wasting precious time 
of the gents in this group answering some trivial questions, it would be 
apt to list all the issues in the main site at tiddlywiki.com till the 
development hits the stable version. 

Please put in your views on this. Thanks!

Regards
Shash (Shashank)

-- 
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] Feature request for tagging

2014-05-31 Thread Ton Gerner
Hi Shash,

I had the need to add/delete tags in view mode and added a button to toggle 
$:/tags/ViewTemplate to $:/core/ui/EditTemplate/tags on/off.
For further details see [1], tab 'Examples' > 'Add tagging in view mode'.

Cheers,

Ton

[1] http://tw5custom.tiddlyspot.com/

On Saturday, May 31, 2014 9:35:32 PM UTC+2, Shash wrote:
>
> Hi,
>
> I would love to have a close button for the tags even in view mode similar 
> to the one in edit mode. This would help in reorganization of the tiddlers 
> in a faster way as there would be only one button click to remove a 
> particular tag from the tiddler rather than three clicks. 
>
> Please join to put in your views.
>
> Regards 
> Shash
>

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Jeremy Ruston
Hi Måns

Do you know if it will ever be possible to use tiddler images in a class?
>>
> Just by transcluding them in the stylesheet.
>

> Could you please show me the right syntax for doing that?

Here's how it's done:

.SomeClass{
background: url(<>) center left
no-repeat;
padding-left: 18px;
}

The datauri maro is needed to convert the tiddler to base64 and prepend the
data URI furniture.

Best wishes

Jeremy




On Sat, May 31, 2014 at 4:23 PM, Måns  wrote:

> Hi Stephan
>
>
>
>> Do you know if it will ever be possible to use tiddler images in a class?
>>>
>> Just by transcluding them in the stylesheet.
>>
>
> Could you please show me the right syntax for doing that?
>
> I have tried variations like :
>
> .SomeClass{
> background: url({{$:/core/images/home-button}}) center left no-repeat;
> padding-left: 18px;
> }
>  - to no avail
>
> Cheers Måns Mårtensson
>
>
>
>>
>>> Imo hardcoding base64 binary code for images in stylesheets has never
>>> been "my cup of tea"
>>>
>> Which would be kind of hard-coding.
>>
>  --
> 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.
>



-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Transclusions as macro parameters problem with TW5.12

2014-05-31 Thread Jeremy Ruston
Hi Howard

I can create a new tiddler on tiddlywiki.com and add this text:

<$text text={{$:/palettes/Vanilla##page-background}}/>

As expected, it outputs #ececec, the default page background colour.

Can you show some examples that haven't been working?

Best wishes

Jeremy


On Sat, May 31, 2014 at 3:59 PM, HowardM 
wrote:

> I can transclude the contents of fields and dictionary entries using the
> formats {{tiddler!!field}} and {{tiddler##index}} but I can only make the
> former (field) work as a macro or widget parameter.   Transcluding a data
> dictionary entry as a parameter - say parameter={{tiddler##index}} -
> results in the widget or macro giving no result.
>
> Is this one of the deliberate limitations mentioned in the documentation
> on data tiddlers or am I missing something ?
>
> I haven't tried this before upgrading to TW5.12 so I don't know if it is
> specific to this version.
>
> Grateful for any advice
>
> --
> 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.
>



-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] keep colors in data tiddler

2014-05-31 Thread Andreas Hahn
Did you specify the correct Tiddler-Type for your tiddlers (if you tried 
to replicate what the shadow tiddlers do) ?
WikiText should be enabled in your stylesheet and the data tiddler 
should be a dictionary.


/Andreas

--
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] TW5 Node.js a couple of questions.

2014-05-31 Thread Jeremy Ruston
Hi Danielo

> Recently I started to use the Node.js edition of tiddlywiki. I find
extremely useful having the tiddlers in separate files rather than in a
single standalone one.

Great, glad you've been able to make it all work.

Your questions all seem to relate to the scenario of working on an offline
snapshot of a client-server wiki, and subsequently synchronising changes.
It's not a use case that is particularly well supported at the moment, but
the intention is to fully support it.

> BUT, I have a couple of doubts that I want to resolve.

>
> Firs of all: How can I get an offline version of my wiki? I mean, a real
> standalone version. The instructions here
> 
>  describes
> how to do something similar.
>

If you want to work on the same wiki content as both a standalone wiki and
a client-server wiki, then the best approach is to use two different wikis,
as you see with tw5.com and tw5.com-server in the TW5 repo.

The idea is to keep your content in a wiki that contains the correct
plugins for standalone use, and then create a separate wiki for
client-server use that includes it, using the "includeWikis" property of
the tiddlywiki.info file. See:

http://tiddlywiki.com/#TiddlyWikiFolders

BUT all the server menus and plugins are included. I want to get rid of
> those. I noticed there is a button to get an offline version on the server
> tab menu. That's exactly what I want, but from command line. I tried this
> with no luck, I just get an empty file:
>
> tiddlywiki tiddlyTest/ --rendertiddler $:/editions/server/download-offline
> test1.html text/plain
>

The following works OK for me:

tiddlywiki editions/tw5.com-server/  --rendertiddler
$:/editions/server/download-offline offline.html text/plain

I'd expect a blank file if the tiddler
"$:/editions/server/download-offline" were missing, as would happen if you
attempted this command with a wiki that doesn't include the
tiddlywebadaptor plugin.


> 2. If I import a wiki file to the node version for the first time
> everything works fine. So far so good. But If I edit some of the imported
> tiddlers in the node.js version and then I import again the same file my
> changes are overwritten. This makes no sense to me. One would expect to
> import only the newest version of each tiddler. Is there a way to fix this?
> With this you can carry you wiki in a Usb stick and import it automatically
> when you arrive home without any worry of get overwritten information.
>

It would be useful to be able to have an option for the `--load` command to
only import newer tiddlers - perhaps your first pull request for the
Node.js edition?


> 3. Is possible to tell the core to export a new offline snapshot every
> time a new tiddler is created?
>

I guess you mean each time a tiddler is modified? Anyhow, no, that isn't
directly supported at the moment, although it would be straightforward to
write a module to do it. Writing the offline snapshot is a time-consuming
operation; you'd probably want to have some throttling so that the snapshot
generation only occurs every 60 seconds (say).

Best wishes

Jeremy


>
> Thank you all!
>
>
>  --
> 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.
>



-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Custom images/icons on internal links

2014-05-31 Thread Måns
Hi Jeremy and Danielo

Thank you very much :-)

This was one of the features I was hoping to get with tw5 - GREAT !!

Cheers Måns Mårtensson


Den lørdag den 31. maj 2014 22.17.42 UTC+2 skrev Jeremy Ruston:
>
> Hi Måns
>
>  Do you know if it will ever be possible to use tiddler images in a 
>>> class? 
>>>
>> Just by transcluding them in the stylesheet.
>>
>
> > Could you please show me the right syntax for doing that?
>
> Here's how it's done:
>
> .SomeClass{
> background: url(<>) center left 
> no-repeat;
> padding-left: 18px;
> }
>
> The datauri maro is needed to convert the tiddler to base64 and prepend 
> the data URI furniture.
>
> Best wishes
>
> Jeremy
>
>
>
>
> On Sat, May 31, 2014 at 4:23 PM, Måns > 
> wrote:
>
>> Hi Stephan
>>
>>  
>>
>>> Do you know if it will ever be possible to use tiddler images in a 
 class? 

>>> Just by transcluding them in the stylesheet.
>>>
>>
>> Could you please show me the right syntax for doing that?
>>
>> I have tried variations like :  
>>
>> .SomeClass{
>> background: url({{$:/core/images/home-button}}) center left no-repeat
>> ;
>> padding-left: 18px;
>> }
>>  - to no avail
>>
>> Cheers Måns Mårtensson
>>
>>
>>  
>>>
 Imo hardcoding base64 binary code for images in stylesheets has never 
 been "my cup of tea"

>>> Which would be kind of hard-coding.
>>>
>>  -- 
>> 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 
>  

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Måns
Hi again Jeremy

I just tried

.SomeClass{
>> background: url(<>) center 
>> left no-repeat;
>> padding-left: 18px;
>> }
>>
>
and it didn't work.
Then I tried replacing the image with another image (*.png) - still no 
result..

Am I experiencing a bug?

I'm using TW 5 version: 0.12 beta in Chrome version: 31.0.1650.63 on Linux.
  

Cheers Måns Mårtensson

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Jeremy Ruston
Strange. In order for wikitext processing to occur you'll need to ensure that 
the  type of the stylesheet tiddler is set to text/vnd.tiddlywiki.



Best wishes




Jeremy


—
jeremy.rus...@gmail.com

On Sat, May 31, 2014 at 10:57 PM, Måns  wrote:

> Hi again Jeremy
> I just tried
> .SomeClass{
>>> background: url(<>) center 
>>> left no-repeat;
>>> padding-left: 18px;
>>> }
>>>
>>
> and it didn't work.
> Then I tried replacing the image with another image (*.png) - still no 
> result..
> Am I experiencing a bug?
> I'm using TW 5 version: 0.12 beta in Chrome version: 31.0.1650.63 on Linux.
>   
> Cheers Måns Mårtensson

-- 
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] Backlinks lost in transclusion?

2014-05-31 Thread Xavier Cazin
Hello everyone,

I recently found out that backlinks didn't survive through transclusion,
and it made me sad :-)

Let's say I have a template tiddler named "See also", which content is:

See also: <$link to={{!!title}}><$view field="title"/>.

(merely pointing to the *currentTiddler*).

If I then call this template from a tidder called "My source" through the
{{My target||See also}} typical construct, I get the link created as
expected, but *not the backlink*: "My Source" doesn't shows up in the
References tab of TiddlerInfo.

I've put a test live here http://xcazin.tiddlyspot.com/ if you are
interested (sorry it's 5.0.8, but the behavior is the same with 5.0.12).
Just click on the TidderInfo icon of "My target" to see that only the  non
transcluded backlink appears.

Do you think this is a bug? If not, what am I missing to get my backlink
back?

Thanks in advance for your thoughts,

Xavier.

-- 
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: Newbie needs help in drafting search code

2014-05-31 Thread RickL
Not sure about tiddlyspot but will look into it.
Meanwhile, below is an illustration of what I would like.

Project A
[x]item 1
[_]item 2
[x]item 3

Project B
[_]item 4
[x]item 5
[x]item 6

Project C
[x]item 7
[_]item 8
[_]item 9


Formula or code to return the following:

Master Purchase List
[_]item 2
[_]item 4
[_]item 8
[_]item 9

 I am using TW 5.0.8 on Chrome; trying to upgrade to the latest 5.0.12 but 
not having much luck with that either. :)
Is this possible?


On Friday, May 30, 2014 3:55:30 PM UTC-4, Stephan Hradek wrote:
>
>
>
> Am Freitag, 30. Mai 2014 16:17:58 UTC+2 schrieb RickL:
>>
>> I have group of tiddlers for projects, each tagged "project".
>> Each "project" tiddler contains a list of materials necessary to complete 
>> the project, with a checkbox for each item.
>>
> So if you already have that, why not post it on (e.g.) tiddly spot so that 
> one can play around to help you reach your goal?
>
> I, for example, absolutely hate it, having to set something up which I 
> *think* is what one described. I prefer to be able to play around with 
> the real problem to help solve it. 
>
>
> BTW: Is it TWc or TW5?
>

-- 
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] keep colors in data tiddler

2014-05-31 Thread Danielo Rodríguez
Why a dictionary and not a Json tiddler? What's the difference? 

-- 
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] The <$mangletags> widget

2014-05-31 Thread Måns
Hi Matabele

I have posted the demo for you on the site
>

Thank you very, very much!
And it even works in TW5.0.10 :-)

I see many use cases with this widget!

If it was combined with <$maketid> it would be possible to create all 
teachers, tasks and relations from scrap just using your simple input 
Demo...

In my case all teachers and tasks are created/predefined - so a 
listboxplugin providing an ability to choose teachers/tasks from a dropdown 
would be very useful.

I already have setup a system where you can click tag pills from auto 
generated lists of teachers (in tasks) or tasks (in teachers)  - I will see 
if <$mangletags> can find it's way into the system - it *is* getting pretty 
"hairy"/complicated already :-)

Cheers Måns Mårtensson


- 

-- 
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] keep colors in data tiddler

2014-05-31 Thread Andreas Hahn

Am 01.06.2014 01:19, schrieb Danielo Rodríguez:

Why a dictionary and not a Json tiddler? What's the difference?



Does not really matter... but I wanted to point out that a proper type 
should be set in order to use the data from the data tiddler.

As to what the difference between the two is:

- Syntax is different
- JSON does have the possibility to contain more than one level of data. 
However afaik you can only access the top level right now anyway.


/Andreas

--
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] syntax [img[imagefile.jpg]] in node.js

2014-05-31 Thread Michele Zaffalon
Hello,

I am a new user of TW5 on node.js (I am new to tiddlywiki in general) and I 
would like to display images in the wiki, directly and not as trasclusions, 
using the [img[path/to/folder/imagefile.jpg]] syntax. I read in the 
roadmap http://tiddlywiki.com/static/RoadMap.html that [img[url]] has been 
implemented, but there is no mentioning of files in the local filesystem. 
In TW5 standalone, the standard syntax 
[img[relative/path/to/folder/imagefile.jpg]] works. I have also read that 
node.js has full access to the filesystem, so it doesn't obey the same 
security restrictions as Javascript in the browser.

I am not sure this is the relevant commit, but the manual seems to be clear 
about it: 
https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/tiddlers/wikitext/Images%20in%20WikiText.tid
 
so this exchange 
https://groups.google.com/d/msg/tiddlywiki/u0pcaOIOdA4/9CesEgAHq7UJ does 
not seem to be valid anymore...

And finally  also does not seem to be an option 
https://groups.google.com/d/msg/tiddlywiki/dIrdnKRfmj8/XQ94kJm5NIkJ 
unless images are served from http as well.

By the way for me also the link syntax image is not working for me 
(see https://groups.google.com/d/msg/tiddlywiki/EmJFLV1XAD0/ZL7_W8Jsa18J)

Thank you,
michele

-- 
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] Custom images/icons on internal links

2014-05-31 Thread Stephan Hradek
I think ith has to be like this:

a:before {
  content: url(<$macrocall $name="makedatauri" text={{$:/core/images/home-
button}} type="image/svg+xml"/>)
}



It works partly. When I inspect a link using Firebug, I see the content 
url. But nothing is displayed.

-- 
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] Transclusions as macro parameters problem with TW5.12

2014-05-31 Thread Matabele
Hi

I have been testing out transclusion of data from a data dictionary. Given 
a tiddler titled 'Test Data', with the following content:

test-text:Titlethis is textand some more text
test-code:\define myMacro() <$list 
filter="[tag[widget]]">{{!!title}}
test-wiki:;Definition:Text of definition

If I then transclude the data like this:

{{Test Data##test-text}}
{{Test Data##test-code}}
{{Test Data##test-wiki}}

The html and one line macro render correctly; however, the wikitext markup 
isn't rendered correctly due to the interpretation of the line break (even 
thought the markup on the first line renders correctly.) The same would 
apply to a line-break within a multi-line macro definition or fragment of 
code.

Is there any way of inserting the necessary line-breaks into the code and 
wikitext fragments in order that they render correctly when transcluded?

regards 

On Saturday, May 31, 2014 10:26:25 PM UTC+2, Jeremy Ruston wrote:
>
> Hi Howard
>
> I can create a new tiddler on tiddlywiki.com and add this text:
>
> <$text text={{$:/palettes/Vanilla##page-background}}/>
>
> As expected, it outputs #ececec, the default page background colour.
>
> Can you show some examples that haven't been working?
>
> Best wishes
>
> Jeremy
>
>
> On Sat, May 31, 2014 at 3:59 PM, HowardM  > wrote:
>
>> I can transclude the contents of fields and dictionary entries using the 
>> formats {{tiddler!!field}} and {{tiddler##index}} but I can only make the 
>> former (field) work as a macro or widget parameter.   Transcluding a data 
>> dictionary entry as a parameter - say parameter={{tiddler##index}} - 
>> results in the widget or macro giving no result.
>>
>> Is this one of the deliberate limitations mentioned in the documentation 
>> on data tiddlers or am I missing something ?
>>
>> I haven't tried this before upgrading to TW5.12 so I don't know if it is 
>> specific to this version.
>>
>> Grateful for any advice
>>
>> -- 
>> 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 
>  

-- 
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: Backlinks lost in transclusion?

2014-05-31 Thread Stephan Hradek
Even with macros it does not work. It seems only explicit links count as 
references.

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