[tw] Re: TW5 show list of values in a field

2016-11-25 Thread 'Mark S.' via TiddlyWiki
I think what you what is a select tag with option groups inside.

I created 3 tiddlers with tags GroupA and GroupB variously assigned. Each 
tiddler had a field called eponymously "field". Each tiddler also had a 
field called "findme" so I could limit my list to to just the tiddlers of 
interest. This code then produces a select widget with a group for tag 
GroupA and GroupB, with their field contents specified inside of each group.

<$select tiddler="$:/temp/tag1">
   <$list filter="[has[findme]tags[]]" variable="mytag">
>>
<$list filter="[tagget[field]]" variable="field">
  >><>
   







Overall, it would probably be better if you explained your actual use-case 
rather than looking for detailed technical recipes.

Good luck!
Mark 

On Friday, November 25, 2016 at 11:52:20 AM UTC-8, Jon wrote:
>
> Hi Riz,
>
> That produces the dropdown containing a list of tiddlers tagged with 
> "family" but the field values of "keyword" are also contained within the 
> box rather than being placed in a list outside it.
>
> Thanks
> Jon
>
> On Friday, 25 November 2016 17:03:29 UTC, Riz wrote:
>>
>>
>> Try this
>>
>> <$select tiddler="$:/temp/tag1">
>>
>><$list filter="[tag[family]]">
>>   <>
>> @@color:red;{{!!keyword}}@@
>>
>> 
>>
>>
>>

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


[tw] Re: Where can I find CSS syntax for Stylesheets?

2016-11-25 Thread Mat
Hi Matt. The style definitions can follow standard style definition syntax, 
i.e

.mystylename {
  color:green;
  border:2px solid yellow;
  ...
}

...where colors can optionally be expressed in HEX form or in a few other 
variants.

This is basic CSS so you can read up on syntax in just any "intro to CSS" 
guide. You must also read up on how to target html elements so to specify 
what to style. For example, you might want a cell in a table to be 
yellow... but not in all tables. As mentioned by someone above, you can use 
the browser inspector tool (right click on element and select "Inspect") to 
see... or at least get clues... on how to target something.

In TW you can also specify the different bits in the style definition by 
use of transclusion. That way you can fetch values from elsewhere, e.g the 
stylename or "color" or "green" or a whole line or a whole definition etc. 
I'm a bit TW-rusty at the moment so I won't attempt to detail how to do it 
but you can do some experimentation if you're interested in it.

<:-)

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


[tw] Re: [TW5] How to add parent tag of tiddler when using a separate tiddler as a data entry form

2016-11-25 Thread Josiah
Mr BJ

I have to say you are a man that DOES.

J, x

On Friday, 25 November 2016 18:43:14 UTC+1, BJ wrote:
>
> It is possible to add variables to the modal:
>
> <$action-sendmessage $message="tm-modal" $param="$:/_mc/frm/Slash Cmd 
> Entry" text="" x="$(x)$"/>
>
> and you can create the value of x by adding:
> <$action-setfield $tiddler="""$(MCPlugin)$""" $field=text $value="<$vars 
> x=<>>{{$:/_mc/btn/addMCPSlashCmd}}<$/vars>"/> 
>
> to your $:/_mc/btn/saveMCPlugin
>
> then in your $:/_mc/btn/saveMCSCmd have
>
> <$action-setfield $tiddler='$:/_mc/tmp/addSlashCmd/tags' $field='tags' 
> $value=$(x)$/>
>
>
> all the best BJ
>
> On Tuesday, November 22, 2016 at 7:48:03 PM UTC+1, reakt...@gmail.com 
> wrote:
>>
>> Greetings!
>>
>> I'm working on a project to create documentation around a Minecraft 
>> server I'm attempting to set up. I created a button to bring up a tiddler 
>> as a data entry form to create the tiddlers for each plugin. I'm now trying 
>> to create buttons to have them added on creation of a plugin tiddler to add 
>> permissions as well as slash commands.
>>
>> I'd like to have my tiddlers for slash commands as well as permissions 
>> include the parent tag (the name of the plugin tiddler). The problem I'm 
>> running into is that I made the buttons to launch data entry tiddlers and 
>> if I'm attempting to create a new slash command tiddler, I'm not sure how 
>> to add the tag of the parent tiddler to the new one.
>>
>> Using <> doesn't work because technically the current 
>> tiddler is the data entry form. I've tried using bits and pieces from 
>> TiddlyPack, CategoryLists, and bottomOfTiddler macro but I can't seem to 
>> wrap my head around this. My current project can be viewed at 
>> http://minecraft.tiddlyspot.com/
>>
>> *Example:*
>>
>> - Click on Plugins
>> - Click Add Plugin
>> - Entry the plugin name
>> - Click Save and then Close
>> - Click the title of the newly created plugin tiddler
>> - Clicking the button for adding a slash command should open a data entry 
>> form tiddler however, the new tiddler created should also be tagged with 
>> the name of the plugin
>>
>

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


[tw] Re: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2016-11-25 Thread Josiah
I have NO IDEA what this is about.

On Friday, 25 November 2016 20:46:01 UTC+1, sady assad wrote:
>
>
>
>
>
>
>
>  
>
> *موقع اليوتيوب الذي عرض فيديوهات جلسة استماع الكونجرس الأمريكي *
>
> * لمتابعة نشاطات غسل الأموال ونشاطات*
>
>  
>
> *السعودي معن عبدالواحد الصانع*  
>
> *مالك مستشفى  وشركة سعد  ومدارس سعد بالمنطقة الشرقية** بالسعودية * * ورئيس 
> مجلس ادارة بنك اوال البحريني*
>
>  
>
>  *وتعليق محطة سي ان بي سي التلفزيونية* 
>
>   
>
> *مترجم باللغة العربية*
>
>  
>
> US Congressional Hearing of 
>
>  Saudi billionaire" maan  Al Sanea "
>
>  and Money Laundering  
>
> with bank of America 
>
>  
>
> With Arabic Subtitles
>
>  
>
>  
>
> http://www.youtube.com/watch?v=mIBNnQvhU8s
>
>  
>
>  
>
>  
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

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


[tw] Re: TW5 show list of values in a field

2016-11-25 Thread Jon
Hi Riz,

That produces the dropdown containing a list of tiddlers tagged with 
"family" but the field values of "keyword" are also contained within the 
box rather than being placed in a list outside it.

Thanks
Jon

On Friday, 25 November 2016 17:03:29 UTC, Riz wrote:
>
>
> Try this
>
> <$select tiddler="$:/temp/tag1">
>
><$list filter="[tag[family]]">
>   <>
> @@color:red;{{!!keyword}}@@
>
> 
>
>
>

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


[tw] Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2016-11-25 Thread sady assad
*موقع اليوتيوب الذي عرض فيديوهات جلسة استماع الكونجرس الأمريكي *

* لمتابعة نشاطات غسل الأموال ونشاطات*



*السعودي معن عبدالواحد الصانع*

*مالك مستشفى  وشركة سعد  ومدارس سعد بالمنطقة الشرقية** بالسعودية * * ورئيس
مجلس ادارة بنك اوال البحريني*



 *وتعليق محطة سي ان بي سي التلفزيونية*



*مترجم باللغة العربية*



US Congressional Hearing of

 Saudi billionaire" maan  Al Sanea "

 and Money Laundering

with bank of America



With Arabic Subtitles





http://www.youtube.com/watch?v=mIBNnQvhU8s

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


[tw] TiddlyWiki For Rent ...

2016-11-25 Thread Josiah
TiddlyWiki deserves a theme tune ...

This could be adapted ...

https://www.youtube.com/watch?v=Z5Oefacg7n8

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


[tw] Re: [TW5] How to add parent tag of tiddler when using a separate tiddler as a data entry form

2016-11-25 Thread BJ
It is possible to add variables to the modal:

<$action-sendmessage $message="tm-modal" $param="$:/_mc/frm/Slash Cmd 
Entry" text="" x="$(x)$"/>

and you can create the value of x by adding:
<$action-setfield $tiddler="""$(MCPlugin)$""" $field=text $value="<$vars 
x=<>>{{$:/_mc/btn/addMCPSlashCmd}}<$/vars>"/> 

to your $:/_mc/btn/saveMCPlugin

then in your $:/_mc/btn/saveMCSCmd have

<$action-setfield $tiddler='$:/_mc/tmp/addSlashCmd/tags' $field='tags' 
$value=$(x)$/>


all the best BJ

On Tuesday, November 22, 2016 at 7:48:03 PM UTC+1, reakt...@gmail.com wrote:
>
> Greetings!
>
> I'm working on a project to create documentation around a Minecraft server 
> I'm attempting to set up. I created a button to bring up a tiddler as a 
> data entry form to create the tiddlers for each plugin. I'm now trying to 
> create buttons to have them added on creation of a plugin tiddler to add 
> permissions as well as slash commands.
>
> I'd like to have my tiddlers for slash commands as well as permissions 
> include the parent tag (the name of the plugin tiddler). The problem I'm 
> running into is that I made the buttons to launch data entry tiddlers and 
> if I'm attempting to create a new slash command tiddler, I'm not sure how 
> to add the tag of the parent tiddler to the new one.
>
> Using <> doesn't work because technically the current 
> tiddler is the data entry form. I've tried using bits and pieces from 
> TiddlyPack, CategoryLists, and bottomOfTiddler macro but I can't seem to 
> wrap my head around this. My current project can be viewed at 
> http://minecraft.tiddlyspot.com/
>
> *Example:*
>
> - Click on Plugins
> - Click Add Plugin
> - Entry the plugin name
> - Click Save and then Close
> - Click the title of the newly created plugin tiddler
> - Clicking the button for adding a slash command should open a data entry 
> form tiddler however, the new tiddler created should also be tagged with 
> the name of the plugin
>

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


[tw] Re: TW5 show list of values in a field

2016-11-25 Thread Riz

Try this

<$select tiddler="$:/temp/tag1">

   <$list filter="[tag[family]]">
  <>
@@color:red;{{!!keyword}}@@
   



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


[tw] Re: Where can I find CSS syntax for Stylesheets?

2016-11-25 Thread Riz

Hi Mat

The best methods to find the CSS Classes and changing colors are all 
mentioned above. Definitely get used to them. Also check out 
$:/themes/tiddlywiki/vanilla/base 
 in 
your TW, all classes affecting the elements of your TW is there. The CSS 
classes for your  specific requests are given below. You can use the named 
colors or hex code like #22, whichever you please.

/* Changing Border Color */
.tc-tiddler-frame {border: 1px solid blue;}

/* Changing text color */
.tc-tiddler-frame .tc-tiddler-body {color: orange;}

/* Changing tag background */
Here I got to clarify. Do you want to change the background of all the 
tags? This will do that.
.tc-tag-label {background: red !important;}

Remember, if you use the above code, it will override any other mechanism 
to change the bg of a tag including the one below. The only way to change 
the bg will be to edit your stylesheet. So I will recommend against it. 

But if you want to change the background color of a particular tag. Here is 
the way to do that.

For eg, you want to change the background of a tag named "HelloThere"
1. Create a tiddler. Title it "HelloThere"
2. Create a field in the tiddler with the name color. Don't add any value 
yet, just click add.
3. The field will now be converted to a color picker. Pick the color you 
want for the tag "HelloThere"

/* Changing draft background */

Now this is a bit tricky, as in - I do not know which part of the draft 
tiddler are you talking about. I am giving the CSS for frame and text area. 
You can use either one or both in combination. 

/* Changing draft-frame background */
.tc-tiddler-edit-frame {background: red;}

/* Changing draft-frame text area background */
.tc-edit-texteditor textarea {background: grey;}

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


Re: [tw] Re: How to open tiddler by $tw. ?

2016-11-25 Thread sini-Kit
Thank you Mario! I found my old plugin and I use there js function 
window.location.hash="HelloThere" 

I try to write a little code to use ENTER button in search field. I have 
put this code to my $:/boot/bootprefix.js 
 and it works if 
my search field is on screen when tw5 start.


if (document.querySelector('[type="search"]')){
document.querySelector('[type="search"]').addEventListener('keypress', function 
(e) {
var key = e.which || e.keyCode;
if (key === 13) { 
window.location.hash="%24%3A%2FAdvancedSearch";
}
});

}





пятница, 25 ноября 2016 г., 18:32:21 UTC+3 пользователь Jeremy Ruston 
написал:

> Hi Mario, Sini-Kit,
>
> There are actually 2 addToStory() functions. One in navigator.js and one 
> in story.js. ... IMO that's a bug, because the are slightly different, 
> which shouldn't be!
>
>
> I did intend to do some refactoring there :)
>
> The support for multiple story rivers with their own navigation means that 
> the story logic primary lives in the navigator widget. However, it's not 
> very easy for external code to get hold of the story information maintained 
> by the navigator widget. That’s why the global story object was added.
>
> The story function looks like this: Story.prototype.addToStory = 
> function(navigateTo,navigateFromTitle,options)
>
> var story = new $tw.Story();
> story.addToStory("HelloThere");
>
> You'll need to have a look, at the source code to see, what's going on. 
>
>
> That looks right. You probably want to call 
> story.navigateTiddler(“HelloThere”) so that the history list gets updated 
> alongside the story list.
>
> Best wishes
>
> Jeremy
>
>
> hope that helps
> have fun!
> mario
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/24d8cd8e-559e-45fc-bb3a-440d4c8f1f01%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

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


[tw] Re: Tiddler Movable

2016-11-25 Thread Josiah
i thought it had been done already?

On Tuesday, 22 November 2016 15:54:55 UTC+1, Del Vee wrote:
>
> Hi everybody,
>
> I would like to meve tiddler like on this old tiddlywiki (
> http://www.digitaldimsum.co.uk/wp-content/uploads/2007/04/202.html)
>
> Could we do the same thing in a TW5 ?
>
> Thanks 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4ed63316-a206-44fc-b2f0-9a3823782bac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Where can I find CSS syntax for Stylesheets?

2016-11-25 Thread Josiah
Remember its just an HTML file. All CSS works as normal. The ISSUE is to 
assert CSS at the right level of the cascade to get it noticed. A COMMON 
problem in TiddlyWiki styling is grasping what  $:/tags/Stylesheet can do 
and can't. I think some of what you want to do needs to be in the DEFAULT 
style-sheet, not the specific tag override.

On Tuesday, 22 November 2016 17:28:55 UTC+1, Matt Groth wrote:
>
> I'm a beginner to both HTML and CSS, but I've already figured out the 
> steps to getting to $:/tags/Stylesheet. I'm now struggling to find all of 
> the syntax codes I need in the body of this tiddler to make the changes I 
> want. 
>
> I know the basics, in that I have to paste an RGB code like #22, but 
> I don't know what to put this code into.
>
> Specifically, I'm looking to:
>
>- Change the border color for tiddlers
>- change the text colors throughout my tiddlywiki
>- change the color of new tags
>- change the background color of the "draft" or "edit tiddler" 
>windows, which turn out white even if I change the background.
>
>
> I already figured out how to change the background color of the page :)
>
> In general, does anyone know where I can find a list of all the syntax 
> codes I might need in a Stylesheet?
>
>

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


Re: [tw] Re: How to open tiddler by $tw. ?

2016-11-25 Thread PMario
On Friday, November 25, 2016 at 4:32:21 PM UTC+1, Jeremy Ruston wrote:
>
> The support for multiple story rivers with their own navigation means that 
> the story logic primary lives in the navigator widget. However, it's not 
> very easy for external code to get hold of the story information maintained 
> by the navigator widget. That’s why the global story object was added.
>

I see. navigator code starts Oct. 2013 and story Aug. 2015
 

> That looks right. You probably want to call 
> story.navigateTiddler(“HelloThere”) so that the history list gets updated 
> alongside the story list.
>

Yea. story.navigateTiddler() is the better option. 

-m

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


Re: [tw] Re: How to open tiddler by $tw. ?

2016-11-25 Thread Jeremy Ruston
Hi Mario, Sini-Kit,

> There are actually 2 addToStory() functions. One in navigator.js and one in 
> story.js. ... IMO that's a bug, because the are slightly different, which 
> shouldn't be!

I did intend to do some refactoring there :)

The support for multiple story rivers with their own navigation means that the 
story logic primary lives in the navigator widget. However, it's not very easy 
for external code to get hold of the story information maintained by the 
navigator widget. That’s why the global story object was added.

> The story function looks like this: Story.prototype.addToStory = 
> function(navigateTo,navigateFromTitle,options)
> 
> var story = new $tw.Story();
> story.addToStory("HelloThere");
> 
> You'll need to have a look, at the source code to see, what's going on. 

That looks right. You probably want to call story.navigateTiddler(“HelloThere”) 
so that the history list gets updated alongside the story list.

Best wishes

Jeremy

> 
> hope that helps
> have fun!
> mario
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/24d8cd8e-559e-45fc-bb3a-440d4c8f1f01%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

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


[tw] Re: How to open tiddler by $tw. ?

2016-11-25 Thread PMario
Hi sini-Kit, 

There are actually 2 addToStory() functions. One in navigator.js and one in 
story.js. ... IMO that's a bug, because the are slightly different, which 
shouldn't be!

The story function looks like this: Story.prototype.addToStory = 
function(navigateTo,navigateFromTitle,options)

var story = new $tw.Story();
story.addToStory("HelloThere");

You'll need to have a look, at the source code to see, what's going on. 

hope that helps
have fun!
mario

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


[tw] Re: TiddlyWiki Hangout #101 will be on Saturday 26th November 2016 at 2pm GMT

2016-11-25 Thread Jed Carty
I am looking forward to this! I may have to run away a bit early though.

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


[tw] Re: [TW5] Another way to make multiple tag-like fields

2016-11-25 Thread Jed Carty
The problem with what Riz posted is that it isn't the tags field so the 
list isn't going to show up correctly. Also if you change the colour of the 
tags in a non-tags field it won't show the correct colour there either. 
This is an awkward work around for now if you need one:

<$set name=TheField value=field_name>
<$tiddler tiddler=TagName>
{{||$:/plugins/inmysocks/GenericTagFields/LikeTagPills}}



you have to change field_name to the name of the field your tag is in and 
the TagName to the tag you want to display. If you just want to display all 
the tags in a field just use the TagLikeList macro, it is in the tiddler 
$:/plugins/inmysocks/GenericTagFields/ListLikeTagsMacro in the plugin.

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


[tw] Re: Nested lists using tiddler titles as tags

2016-11-25 Thread Jed Carty
The quick answer is that you put a list around it that returns one element 
when your conditional is true and nothing when it isn't. So something like 
this may work:

<$set name=tiddler-title value={{!!title}}>



<>

<$list filter="[tag[Area]]">
<$list filter="[tagtag
limit[1]]"><$link>''{{!!title}}''
<$list filter="[tagtag]">


<$transclude mode="block"/>





That will only show the link to the quarter if there is something listed 
under it.

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


[tw] Re: Where can I find CSS syntax for Stylesheets?

2016-11-25 Thread Jed Carty
There are a bunch of things for css in tiddlywiki here 
, but I never 
organised it well and it is far from complete. I have way too many projects.

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


[tw] Re: [TW5] How to add parent tag of tiddler when using a separate tiddler as a data entry form

2016-11-25 Thread Jed Carty
It is nice to see that someone is actually using something I made. I am not 
certain exactly what you want in all of this, but for tagging the tiddler 
created with the plugin there are two ways to do it that I can think of 
right now. One would be to have the button that opens the modal set a field 
in some state tiddler and then add that to the end of the line setting the 
tags like this in the tiddler $:/_mc/frm/Slash Cmd Entry:

<$set name=MCSCTags filter='[[Minecraft]][[Plugin Slash 
Cmd]]$:/_mc/tmp/addSlashCmd/tags]tags[]][{$:/_mc/tmp/addSlashCmd/tmp!!current_plugin}]'>

and update the button in the tiddler $:/_mc/btn/addMCPSlashCmd to add this:

<$action-setfield $tiddler='$:/_mc/tmp/addSlashCmd/temp' 
$field='current_plugin' value={{!!title}}/>

to make this you you also need to edit the $:/_mc/btn/addMCPSlashCmd 
tiddler, add the tag $:/tags/Macro to it and remove <> from 
the bottom. Then instead of putting {{$:/_mc/btn/addMCPSlashCMD}} to the 
plugin tiddler you add <> instead. Or even better use a 
conditional view template so that you don't have to do anything to the 
plugin tiddlers text field.

The other way would be to not use modals and have the buttons instead open 
a reveal widget that has the contents of the modal inside it. That lets you 
use things like <> easier.

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


Re: [tw] TiddlyWiki as a QUINE ... thoughts

2016-11-25 Thread Jeremy Ruston
Hi Tobias, Josiah,

Joshiah prompted me to reply via Twitter

> On 15 Nov 2016, at 19:27, Tobias Beer  wrote:
> 
> I get the feeling there's mostly a philosophical point you'e trying to make 
> but reading the wikipedia article on Quine I would say TiddlyWiki sure ain't 
> one.

Wikipedia defines a quine as:

"A quine is a non-empty computer program which takes no input and produces a 
copy of its own source code as its only output"

https://en.wikipedia.org/wiki/Quine_(computing) 


For me, TiddlyWiki meets that definition; of course it is much more than a 
quine, but a key part of TiddlyWiki’s operation is the way that it saves 
changes by downloading a fresh copy of its own HTML file. Absent any 
modifications via the UI, and the saved copy is identical to the original copy.

But I’d be curious Tobias why you don’t think TiddlyWiki can be classified as a 
quine?

By the way, there’s a fascinating subset of quines that simultaneously function 
as ASCII art. This is a particularly noted example that also features animation:

http://philipsung.blogspot.co.uk/2010/12/people-who-are-not-in-our-league-v.html
 


Best wishes

Jeremy

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


[tw] How to open tiddler by $tw. ?

2016-11-25 Thread sini-Kit
Hi! I always use in my plugins $tw.notifier.display("MyTiddler");  to make 
notify and   $tw.modal.display("Mytiddler"); to make modal
But t don't know how to open tiddler in standard way  something like 
"$tw.Tiddler.display. "
May be somebody know $tw. function which  open 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c3728999-d667-4ad8-9b68-ed6a8a45f348%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.