[tw] Re: newbie to Tiddy Wiki

2014-05-25 Thread Ton Gerner
Hi Jason,

The concept is the following:
$:/_new-template is the template. 
Everything you want in the template you have to enter there, so replace the 
text:

This is a template $:/_new-template
Tagged with task
and field color = #04B.

with the text you want.
You can add field(s) you want (instead of the color field).
You van add tag(s) (instead of the tag task).

If you click the 'New template tiddler' button you get a tiddler filled 
with the template text, tag(s, and field(s).
The only thing you have to do is rename the title of the tiddler from 
'$:/_new-template 1' to the title you want.


On Saturday, May 24, 2014 10:55:26 PM UTC+2, jason savage wrote:

 Ton, thanks for your help. I have followed your instructions and the 
 button appears and a new template is created, but the problem I have is 
 trying to understand the concept. How do I save this as a template that I 
 can use time and time again. It creates a new template every time and calls 
 it $_new-Template 1. The problem is that if I re-name the title from 
 $_new-Template 1 to the title I want in the tiddler I want, when I click a 
 link from another tiddler to bring the template up, it doesn't.

 All I am trying to do is create a new templated tiddler from a link inside 
 a current tiddler. Then I want that tiddler to be a template time and 
 again. But if i rename it I lose the template

 Sorry, I do not understand what you mean.

Do you want a 'New template tiddler' link/button in a tiddler?
Or do you want to create a copy of the tiddler you are working on by 
clicking a link/button?
In the latter case you can use the 'Clone tiddler' button, also described 
in [1]

Hope that helps.

Cheers,

Ton

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




 

 I'm struggling to understand the concept.



 On Saturday, May 24, 2014 6:47:37 PM UTC+1, Ton Gerner wrote:

 Hi Jason,

 Have a look at [1].
 Go to Customizations  Buttons and click 'New template tiddler' button.
 You can drag  drop the 3 tiddlers over there.
 If you tag $:/_new-template-tiddler-button with $:/tags/PageControls, the 
 'New template tiddler' button will show up after the 'save' button.
 For more customizations have a look at [2].

 Cheers,

 Ton

 [1] http://tw5toolbar.tiddlyspot.com/
 [2] http://tongerner.tiddlyspot.com/


 On Saturday, May 24, 2014 7:05:00 PM UTC+2, jason savage wrote:

 Hi, I need some help in understanding how Tiddly Wiki works generally.

 I am running a local copy of Tiddly Wiki and for the life of me I cannot 
 get to understand how to create new custom tiddlers. At the moment in order 
 to create a new tiddler I simply click on the tick/check button and a new 
 tiddler appears. Great so far. 

 What I want to do is to create a custom built tiddler which would allow 
 someone to fill in relevant tabled fields. I have been through the 
 documentation and I understand how to create tables etc...What I am 
 struggling with is how to generate a new custom tiddler by clicking a link 
 and generating that customised tiddler. 

 This would have be re-created time and again so I don't need a single 
 tiddler I would need many to be created as a template or form as and when. 
 I have looked at templates and macros, but so far as I see it, the 
 documentation assumes you have a full understanding of the process.

 Clearly I don't. Can someone explain to me how to create and save custom 
 built tiddlers that I can use over and over again, without affecting my 
 default tiddler.

 Many thanks in advance for helping a very confused person.



-- 
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: FeT - For Each Tiddler Questions.

2014-05-25 Thread whatever
Hey!

The following outputs all the links in tiddlers tagged test:
forEachTiddler where 'tiddler.tags.contains(test)' write 
'tiddler.getLinks()+\n'
The links are in the same order as they appear in the tiddler, no 
duplicates.

hth
w


On Saturday, May 24, 2014 7:15:26 PM UTC+2, Jan wrote:

 Hello! 
 I have got questions regarding FeT - where Clause expressions... 

 How do you formulate a where clause which gives out all Tiddlers linked 
 in a tiddler. Since it will be transcluded in a tiddler macro it 
 should address the Tiddler containing the macro calling up the FeT 
 plugin, and not the plugin itself. (See 
 http://tiddlywiki.abego-software.de/#whereClause%20About) 

 could this be something like: Tiddler.prototype.getLinks? 







 I need this to generate a report giving out the value of the field 
 important in the the tiddlers in a storyTiddler containing the Macro 
 calling up this: 
 forEachTiddler 
 where 
   ??? 
 write 
 'Für [[+tiddler.title+]]: +store.getValue(tiddler, important)+\n' 
  begin '@@font-size:2em;[img(30px,)[Tag.png]] Denken an:\n' 
  end '@@' 
  none '' 
  



 Thanks for your help 
 Jan. 




-- 
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] Can't delete fields in 5.0.12?

2014-05-25 Thread Ton Gerner
Hi cmari,

You are right.
Deletion of a field worked in 5.0.10 but not anymore in 5.0.12.
If you delete the field (trashcan) and click 'Done', the tiddler isn't even 
saved; it looks like you clicked 'Cancel' (no change to the tiddler 
detected).

Cheers,

Ton

On Sunday, May 25, 2014 9:25:29 PM UTC+2, cmari wrote:

 As best I can tell, removing fields worked in 5.0.10, but no longer works 
 in an otherwise empty 5.0.12 file.

 In 5.0.12, if I open a tiddler and remove a field (using the trash can 
 button next to the field), the field will disappear as expected.  But as 
 soon as I save the tiddler, the field returns.  

 cmari


-- 
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] Can't delete fields in 5.0.12?

2014-05-25 Thread cmari
whoops, I see I'm late to this 
(https://github.com/Jermolene/TiddlyWiki5/issues/619). 
I'm not sure this issue ever made it to Google Groups, though, so in case 
it's helpful to anyone else, here's the workaround suggested there:
Workaround: 

In addition to deleting the field, make a change in the text of the tiddler 
or add another field. Then the deletion gets saved.

cmari


On Sunday, May 25, 2014 12:25:29 PM UTC-7, cmari wrote:

 As best I can tell, removing fields worked in 5.0.10, but no longer works 
 in an otherwise empty 5.0.12 file.

 In 5.0.12, if I open a tiddler and remove a field (using the trash can 
 button next to the field), the field will disappear as expected.  But as 
 soon as I save the tiddler, the field returns.  

 cmari


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

2014-05-25 Thread Måns
Hi TwWizards

I don't know how to create a showwhen field value is *not* a specified 
value with the list filter field operator.

$list filter=[mark[1]]span class=red$view 
field=1//span/$list
will show the text value of field 1 wrapped in my red class when there's 
a text value 1  of another field mark. 

How do I create the opposite effect? - sth like when the value of the field 
mark is not 1 - then show value og field one (no class)?

$list filter=![mark[1]]$view field=1//$list

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-25 Thread Måns
Made a typo - sorry
 

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


should have been:

How do I create the opposite effect? - sth like when the value of the field 
mark is not 1 - then show value of field one (no class)?

$list filter=![mark[1]]$view field=1//$list (doesn't work)

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-25 Thread Måns
$list filter=[!field:mark[1]]$view field=1//$list also doesn't 
work...
I expected that it would show the text value of my field 1 if the field 
mark had another value than 1...

Cheers

Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 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-25 Thread cmari
Hi 

Hi Måns,
Maybe I don't understand what you're doing, but the following seemed to 
work for me:

$list filter=[!mark[1]]$view field=1//$list
cmari


On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also doesn't 
 work...
 I expected that it would show the text value of my field 1 if the field 
 mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 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: FeT - For Each Tiddler Questions.

2014-05-25 Thread Jan Johannpeter

Hey whatever
Thanks a lot...but it is more complicated...or different.
I need this to generate a report giving out the value of the field 
important in the the tiddlers which are Tiddlylinks in a StoryTiddler 
created by Erics SaveStoryPlugin.


If the links are:
[[Tiddler1]]
[[Tiddler2]]
...
I want generate
important@Tiddler1
important@Tiddler2

 as wikified output.

I know the rest of the expression (see below), but not the where clause...
I could not find this in the FeT-Documentation.

Again Thanks a lot
Jan

(below...)
forEachTiddler
where
 ???
write
'Für [[+tiddler.title+]]: +store.getValue(tiddler, important)+\n'
begin '@@font-size:2em;[img(30px,)[Tag.png]] Denken an:\n'
end '@@'
none ''






Am 25.05.2014 15:09, schrieb whatever:

Hey!

The following outputs all the links in tiddlers tagged test:
forEachTiddler where 'tiddler.tags.contains(test)' write 
'tiddler.getLinks()+\n'
The links are in the same order as they appear in the tiddler, no 
duplicates.


hth
w


On Saturday, May 24, 2014 7:15:26 PM UTC+2, Jan wrote:

Hello!
I have got questions regarding FeT - where Clause expressions...

How do you formulate a where clause which gives out all Tiddlers
linked
in a tiddler. Since it will be transcluded in a tiddler macro it
should address the Tiddler containing the macro calling up the FeT
plugin, and not the plugin itself. (See
http://tiddlywiki.abego-software.de/#whereClause%20About
http://tiddlywiki.abego-software.de/#whereClause%20About)

could this be something like: Tiddler.prototype.getLinks?







I need this to generate a report giving out the value of the field
important in the the tiddlers in a storyTiddler containing the
Macro
calling up this:
forEachTiddler
where
  ???
write
'Für [[+tiddler.title+]]: +store.getValue(tiddler,
important)+\n'
 begin '@@font-size:2em;[img(30px,)[Tag.png]] Denken an:\n'
 end '@@'
 none ''




Thanks for your help
Jan.


--
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 
mailto:tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com 
mailto:tiddlywiki@googlegroups.com.

Visit this group at http://groups.google.com/group/tiddlywiki.
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.
For more options, visit https://groups.google.com/d/optout.


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

2014-05-25 Thread Måns
Hi cmari

I want to create a quiz battle between two teams, where one team chooses a 
number/button - the teacher clicks it - and a word from a full sentence 
gets revealed. 
If the word isn't red the team will try to guess/remember the full sentence.
If the word is red - the other team will have a go at it - or choose yet 
another number/button...

When I set up the quiz I want to be able to choose which field value is 
formatted as red text.


My attempt http://hitsang.tiddlyspot.com

Here mark is skift

As you can see :
$list filter=[skift[1]]span class=red$view 
field=1//span/$list$list filter=[!skift[1]]$view 
field=1//$list

shows both versions of the text value of the field skift (both black and 
red) - and if you set the value of the field skift to anything other than 
1 - the text is hidden...

There must be something wrong somewhere ...?

Cheers Måns Mårtensson

Den søndag den 25. maj 2014 23.21.11 UTC+2 skrev cmari:

 Hi 

 Hi Måns,
 Maybe I don't understand what you're doing, but the following seemed to 
 work for me:

 $list filter=[!mark[1]]$view field=1//$list
 cmari


 On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also doesn't 
 work...
 I expected that it would show the text value of my field 1 if the field 
 mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 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-25 Thread cmari
Does it help to tag to the filter?
$list filter=[tag[sang]skift[1]]span class=red$view 
field=1//span/$list$list filter=[tag[sang]!skift[1]]$view 
field=1//$list

On Sunday, May 25, 2014 2:44:12 PM UTC-7, Måns wrote:

 Hi cmari

 I want to create a quiz battle between two teams, where one team chooses a 
 number/button - the teacher clicks it - and a word from a full sentence 
 gets revealed. 
 If the word isn't red the team will try to guess/remember the full 
 sentence.
 If the word is red - the other team will have a go at it - or choose yet 
 another number/button...

 When I set up the quiz I want to be able to choose which field value is 
 formatted as red text.


 My attempt http://hitsang.tiddlyspot.com

 Here mark is skift

 As you can see :
 $list filter=[skift[1]]span class=red$view 
 field=1//span/$list$list filter=[!skift[1]]$view 
 field=1//$list

 shows both versions of the text value of the field skift (both black and 
 red) - and if you set the value of the field skift to anything other than 
 1 - the text is hidden...

 There must be something wrong somewhere ...?

 Cheers Måns Mårtensson

 Den søndag den 25. maj 2014 23.21.11 UTC+2 skrev cmari:

 Hi 

 Hi Måns,
 Maybe I don't understand what you're doing, but the following seemed to 
 work for me:

 $list filter=[!mark[1]]$view field=1//$list
 cmari


 On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also doesn't 
 work...
 I expected that it would show the text value of my field 1 if the 
 field mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 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-25 Thread cmari
sorry, typo: Does it help to *add a* tag to the filter?
$list filter=[tag[sang]skift[1]]
span class=red$view field=1//span/$list$list 
filter=[tag[sang]!skift[1]]$view field=1//$list

On Sunday, May 25, 2014 3:05:48 PM UTC-7, cmari wrote:

 Does it help to tag to the filter?
 $list filter=[tag[sang]skift[1]]span class=red$view 
 field=1//span/$list$list filter=[tag[sang]!skift[1]]$view 
 field=1//$list

 On Sunday, May 25, 2014 2:44:12 PM UTC-7, Måns wrote:

 Hi cmari

 I want to create a quiz battle between two teams, where one team chooses 
 a number/button - the teacher clicks it - and a word from a full sentence 
 gets revealed. 
 If the word isn't red the team will try to guess/remember the full 
 sentence.
 If the word is red - the other team will have a go at it - or choose yet 
 another number/button...

 When I set up the quiz I want to be able to choose which field value is 
 formatted as red text.


 My attempt http://hitsang.tiddlyspot.com

 Here mark is skift

 As you can see :
 $list filter=[skift[1]]span class=red$view 
 field=1//span/$list$list filter=[!skift[1]]$view 
 field=1//$list

 shows both versions of the text value of the field skift (both black 
 and red) - and if you set the value of the field skift to anything other 
 than 1 - the text is hidden...

 There must be something wrong somewhere ...?

 Cheers Måns Mårtensson

 Den søndag den 25. maj 2014 23.21.11 UTC+2 skrev cmari:

 Hi 

 Hi Måns,
 Maybe I don't understand what you're doing, but the following seemed to 
 work for me:

 $list filter=[!mark[1]]$view field=1//$list
 cmari


 On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also 
 doesn't work...
 I expected that it would show the text value of my field 1 if the 
 field mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 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-25 Thread Måns
I would also like to be able to set the statevalue of the buttons in 
autogenerated systemtiddlers with individual names individually created 
from the titles of each quiz sentence/tiddler...

eg: $:/Hit1State should be sth. like $:/Hit1StateTiddlerTitle...

If I can't do this all words in button 1 in every tiddler will get revealed 
when I click one of them - and I can't have them all open at the same time 
eg in a substory list ...




Den søndag den 25. maj 2014 23.44.12 UTC+2 skrev Måns:

 Hi cmari

 I want to create a quiz battle between two teams, where one team chooses a 
 number/button - the teacher clicks it - and a word from a full sentence 
 gets revealed. 
 If the word isn't red the team will try to guess/remember the full 
 sentence.
 If the word is red - the other team will have a go at it - or choose yet 
 another number/button...

 When I set up the quiz I want to be able to choose which field value is 
 formatted as red text.


 My attempt http://hitsang.tiddlyspot.com

 Here mark is skift

 As you can see :
 $list filter=[skift[1]]span class=red$view 
 field=1//span/$list$list filter=[!skift[1]]$view 
 field=1//$list

 shows both versions of the text value of the field skift (both black and 
 red) - and if you set the value of the field skift to anything other than 
 1 - the text is hidden...

 There must be something wrong somewhere ...?

 Cheers Måns Mårtensson

 Den søndag den 25. maj 2014 23.21.11 UTC+2 skrev cmari:

 Hi 

 Hi Måns,
 Maybe I don't understand what you're doing, but the following seemed to 
 work for me:

 $list filter=[!mark[1]]$view field=1//$list
 cmari


 On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also doesn't 
 work...
 I expected that it would show the text value of my field 1 if the 
 field mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 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-25 Thread Måns
Aaah - Yes it did

Thanks a lot cmari - Great  :-)

Cheers Måns Mårtensson

Den mandag den 26. maj 2014 00.05.48 UTC+2 skrev cmari:

 Does it help to tag to the filter?
 $list filter=[tag[sang]skift[1]]span class=red$view 
 field=1//span/$list$list filter=[tag[sang]!skift[1]]$view 
 field=1//$list

 On Sunday, May 25, 2014 2:44:12 PM UTC-7, Måns wrote:

 Hi cmari

 I want to create a quiz battle between two teams, where one team chooses 
 a number/button - the teacher clicks it - and a word from a full sentence 
 gets revealed. 
 If the word isn't red the team will try to guess/remember the full 
 sentence.
 If the word is red - the other team will have a go at it - or choose yet 
 another number/button...

 When I set up the quiz I want to be able to choose which field value is 
 formatted as red text.


 My attempt http://hitsang.tiddlyspot.com

 Here mark is skift

 As you can see :
 $list filter=[skift[1]]span class=red$view 
 field=1//span/$list$list filter=[!skift[1]]$view 
 field=1//$list

 shows both versions of the text value of the field skift (both black 
 and red) - and if you set the value of the field skift to anything other 
 than 1 - the text is hidden...

 There must be something wrong somewhere ...?

 Cheers Måns Mårtensson

 Den søndag den 25. maj 2014 23.21.11 UTC+2 skrev cmari:

 Hi 

 Hi Måns,
 Maybe I don't understand what you're doing, but the following seemed to 
 work for me:

 $list filter=[!mark[1]]$view field=1//$list
 cmari


 On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote:

 $list filter=[!field:mark[1]]$view field=1//$list also 
 doesn't work...
 I expected that it would show the text value of my field 1 if the 
 field mark had another value than 1...

 Cheers

 Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns:

 Made a typo - sorry
  

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value og field one (no class)?


 should have been:

 How do I create the opposite effect? - sth like when the value of the 
 field mark is not 1 - then show value of field one (no class)?

 $list filter=![mark[1]]$view field=1//$list (doesn't work)

 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] Last call - anyone want tiddlywikiguides.org?

2014-05-25 Thread Daniel Baird
Hi all,

In a few days my domain tiddlywikiguides.org will expire.  I don't have
time or budget to maintain it, so I'm willing to transfer it to anyone who
wants to have it.

I've mentioned this before on the dev and docs groups; here's my once-only
post to the main TW list.

tiddlywikiguides.org used to run a mediawiki instance that collected docs
for TiddlyWiki, back when the classic version was the only version.  Most
of that content has been moved into the tiddlyspace docs section.

I'd like to see it at least redirected to tiddlywiki.com or somewhere like
that, but if you want to make something fancier out of it, that's cool too.

Otherwise it'll just expire and probably get bought up by some jerk domain
spammer.


Post back here if you're interested..


Cheers
;Daniel

-- 
Daniel Baird
objoke: I had a problem and decided to solve it with threading. Now,
have problems. two I

-- 
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: FeT - For Each Tiddler Questions.

2014-05-25 Thread whatever
Hey!
Try this:
where 'tiddler.title.contains(YourStoryTiddlerTitle)'
Just replace YourStoryTiddlerTitle with the actual tiddler title.
w

On Sunday, May 25, 2014 11:43:51 PM UTC+2, Jan wrote:

  Hey whatever
 Thanks a lot...but it is more complicated...or different.
 I need this to generate a report giving out the value of the field 
 important in the the tiddlers which are Tiddlylinks in a StoryTiddler 
 created by Erics SaveStoryPlugin.

 If the links are:
 [[Tiddler1]]
 [[Tiddler2]]
 ...
 I want generate
 important@Tiddler1
 important@Tiddler2
 
  as wikified output.

 I know the rest of the expression (see below), but not the where clause...
 I could not find this in the FeT-Documentation.

 Again Thanks a lot
 Jan

 (below...)
 forEachTiddler 
 where 
  ??? 
 write 
 'Für [[+tiddler.title+]]: +store.getValue(tiddler, important)+\n' 
 begin '...@@font-size:2em;[img(30px,)[Tag.png]] Denken 
 an:\njavascript:' 

 end '@@' 
 none '' 
  





 Am 25.05.2014 15:09, schrieb whatever:
  
 Hey!

 The following outputs all the links in tiddlers tagged test:
 forEachTiddler where 'tiddler.tags.contains(test)' write 
 'tiddler.getLinks()+\n'
 The links are in the same order as they appear in the tiddler, no 
 duplicates.

 hth
 w


 On Saturday, May 24, 2014 7:15:26 PM UTC+2, Jan wrote: 

 Hello! 
 I have got questions regarding FeT - where Clause expressions... 

 How do you formulate a where clause which gives out all Tiddlers linked 
 in a tiddler. Since it will be transcluded in a tiddler macro it 
 should address the Tiddler containing the macro calling up the FeT 
 plugin, and not the plugin itself. (See 
 http://tiddlywiki.abego-software.de/#whereClause%20About) 

 could this be something like: Tiddler.prototype.getLinks? 







 I need this to generate a report giving out the value of the field 
 important in the the tiddlers in a storyTiddler containing the Macro 
 calling up this: 
 forEachTiddler 
 where 
   ??? 
 write 
 'Für [[+tiddler.title+]]: +store.getValue(tiddler, important)+\n' 
  begin '@@font-size:2em;[img(30px,)[Tag.png]] Denken an:\n' 
  end '@@' 
  none '' 
  



 Thanks for your help 
 Jan. 


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