[tw] Re: TW5: how to get another sidebar / menu / column / tiddler on the left

2016-09-18 Thread Dave
I tried this in a tiddler tagged $:/tags/Stylesheet


.tc-tagged-left {
background-image: url(<>);
}

It works when the tiddler is viewed normally, but it doesn't show up in the 
sidebar.  For now I think I'll just make sure all text there is bolded - 
that seems to make it more visible.





Hey Jed, thanks for you're suggestion (and plugin) too.  That was easier to 
install than I thought it would be :)

Now with both installed I've got all the screen real estate covered.  I 
love the customizability!!


-- 
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/91026b92-7b85-4fd0-8180-32f18e0d07e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5: how to get another sidebar / menu / column / tiddler on the left

2016-09-18 Thread Dave

Hey Mat - I got your leftbar installed.  Thanks! I started with that 
because it looked the simplest, and it should indeed do the job. 

One question: Can you think of a way to give it a background of some sort?  

Right now I have an image in the TWs background and the letters just write 
over top of the image directly instead of having some sort of "tiddler 
background"


Thanks again :)

-- 
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/ed95e07b-8179-48d6-8a6f-599d0c96903b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using the List Widget for OR Operations?

2016-09-18 Thread Jed Carty
I put my notes here 
, hopefully they 
will be useful. I am really not sure that they will be very helpful to 
anyone who doesn't have at least some background in digital logic and due 
to the limits of the symbols my keyboard makes easily the notation isn't 
very good. Let me know if you see any mistakes or have any questions.

The take away from this is that if you want to do something that uses only 
filter operators that take an input list and return values based on a 
binary test (which is most of them) than you should be able to do any 
filtering operation with a single list widget.

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


[tw] Re: Here's a Slide Presentation TW5 you can use

2016-09-18 Thread Andrew Lister
Thanks for looking into this, I will try it out when I have some free time.

Andrew
On Saturday, 17 September 2016 00:28:03 UTC+2, Dave wrote:
>
> Try this:
>
> copy the following tiddlers into yours
>
> newSlideViewTemplate tag:$:/tags/ViewTemplate,myMacros (if you want)
>
> closeAtBottomAsides tags:$:/tags/ViewTemplate, myMacros
>
> bigFont tags:$:/tags/Stylesheet, myMacros
>
> bigFont2 tags:$:/tags/Stylesheet, myMacros * this one refers to image 
> tiddlers, which you will have to name appropriately for whatever background 
> you wanted.  I separated out these from bigFont because there's a major 
> delay in rendering it when you open the tiddler because the uri for the 
> image tiddler reference is so big.
>
> paper2.jpg (whatever image tiddler you want)
>
> paper3.jpg
>
> $:/themes/tiddlywiki/centralised/styles.tid (pick in the control panel 
> under Appearance/Theme)
> * that one I had to tweak the numbers to get it the way I wanted it.  You 
> might want to do the same.
>
>
> Let me know if that works
>
> On Friday, September 16, 2016 at 10:46:31 AM UTC-6, Andrew Lister wrote:
>>
>> That allows me to put a new presentation into your TW. What I was 
>> thinking about is integrating whatever mods you are using into an existing 
>> TW that I have - going the other direction, as it were. It seems that 
>> there's quite a few additions, however; I'm looking at the list of items in 
>> myMacros. Some of those are for things like sliders, which aren't essential 
>> to the presentation (though they're nice to have). Which ones are 
>> essential? What tiddlers from your TW would I have to copy into mine to 
>> make mine work like yours? 
>>
>> Thinking about it some more, what I would actually like is if there were 
>> a default slide show theme that one could activate on any slide, without 
>> having to do any modification. Then all it would take is to add a link to 
>> the next slide, and the presentation would be set up. That would be the 
>> most minimal possible slide presentation approach; just change the theme, 
>> and add links oneself (though not ideal to have links taking up space in 
>> slide content).
>>
>> In your presentation TW, you've defined an order to the slides, and added 
>> nice forward and backward buttons to the right and the left. Those are nice 
>> additions. In principle, one could define multiple orders, to have multiple 
>> presentations out of the same TW. Saq Imtiaz made a slide plugin for TW 
>> classic that worked like this.
>>
>> On Friday, 16 September 2016 17:55:57 UTC+2, Dave wrote:
>>>
>>> Hi,
>>>
>>> I just went to the main menu (open up the side panel), clicked "O" to 
>>> open the main menu tiddler and added [[another presentation]], opened it up 
>>> to edit, added the "slide" tag, and put the order field as "100".  You 
>>> could jump to that point and just add slides from there.  The only problem 
>>> would be that if you reached the previously "last" slide from the lower 
>>> numbers, the "next" (>>) chevron would still appear at the bottom right 
>>> indicating there's more slides, so each presentation would have to have a 
>>> distinct "The End" I suppose :)
>>>
>>> Is that what you're going for? 
>>>
>>>
>>> On Friday, September 16, 2016 at 2:31:25 AM UTC-6, Andrew Lister wrote:

 Hi Dave,

 I like the look and functionality of your presentation TW. I know I 
 could just add content to it to create a stand-alone presentation. But 
 what 
 I'd really like is for each of my TWs to have this functionality built in, 
 so that at the click of a button (changing the theme, I suppose) I could 
 start to present.  Is that possible? What would I have to add from your 
 presentation TW to mine in order to get it to work like that? Or is there 
 a 
 simpler way of going about this? I want to avoid fiddling with technical 
 stuff, as much as possible.

 Thanks,

 Andrew

 On Thursday, 14 April 2016 06:33:20 UTC+2, Dave wrote:
>
> I made this
>
>
> https://dl.dropboxusercontent.com/s/dilc5hq8x2c3b7b/TW5-SlidesPresentation.html?dl=0
>
> for general use as a TW5 version of powerpoint.  I'm sure it can be 
> improved, but its a good start.
>
>
> Enjoy!
> Dave
>


-- 
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/ecaa81ca-9f32-43a5-a2c3-015d5c9b6bb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using the List Widget for OR Operations?

2016-09-18 Thread Jed Carty
Jeremy beat me to it. 

You could also use 

<$list fiter="[is[current]!has[posters]!has[lobbycards]!has[discovers]]">
This is equavilent to the filter 
[is[current]]-[has[posters]]-[has[lobbycards]]-[has[discovers]] returning 
nothing
 

and avoid the empty message part. I just realized that in the writeup I did 
I got nor and nand backwards in all of my examples and I need to rewrite 
them. I will hopefully put up the fixed explanation later tonight. There 
not being any explanation of the filters in terms of digital logic or set 
theory operations has been bugging me so I need to just write it and be 
done.

-- 
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/88f95384-79ba-4836-b60f-c93c2eaf7a58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using the List Widget for OR Operations?

2016-09-18 Thread Jeremy Ruston
Hi Tobias

> How can I do the negating counterpart, e.g. does NOT have any of...?

It's messy; one has to use the emptyMessage attribute:

<$list filter="[is[current] -[has[posters]] -[has[lobbycards]]" 
emptyMessage=<>/>

(Typed on my phone, so may not be 100% correct!)

Best wishes

Jeremy

> 
> There's a PR that would possibly address that use case:
> 
> is[empty] filter operator
> https://github.com/Jermolene/TiddlyWiki5/pull/2186
> 
> I'll leave a comment there to see if I can spark some feedback.
> 
> Best wishes,
> 
> Tobias. 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/fcd6e81d-a394-4ec5-b8ad-35b644bb2326%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/CB7E2A78-1B40-458A-9C58-66DCFDA283CB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using the List Widget for OR Operations?

2016-09-18 Thread Tobias Beer
Hi Jeremy, 
 

> Try this:
>
> <$list filter="[has[posters]] [
> has[lobbycards]] [has[disccovers]] 
> [has[misc]] 
> +[limit[1]]">
> 
> <$transclude tiddler="$:/_Layout_ButtonSection3"/>
> 
> 
>

How can I do the negating counterpart, e.g. does NOT have any of...?

There's a PR that would possibly address that use case:

*is[empty] filter operator*
https://github.com/Jermolene/TiddlyWiki5/pull/2186

I'll leave a comment there to see if I can spark some feedback.

Best wishes,

Tobias. 

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


[tw] Re: Using the List Widget for OR Operations?

2016-09-18 Thread Jed Carty
I have been looking at logical operations with filters for a while. Since you 
can do a nor b by [all[]]-[tag[a]]-[tag[b]] you should be able to do any 
logical statement that uses the operators tag, has, field and is (maybe others 
also, I will make a list) using a single filter. 

I will write up some notes and post them later. 

-- 
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/18c037d6-a742-4cfd-b48f-657973ffface%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Bind address always 127.0.0.1 when starting from Tiddlywiki from systemd

2016-09-18 Thread Ste Wilson
Love to have a step by step breakdown/guide of your installation on the pi. I 
assume your doing a node.js thing. I've tried a few times but just bounced off 
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/5beb0ddd-b52f-486e-828e-8181fc67775a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to teach macro to take some data from URL and put it to list field of temp tiddler?

2016-09-18 Thread PMario
On Sunday, September 18, 2016 at 10:47:53 AM UTC+2, Siniy-Kit wrote:
>
> Now I try to teach this macro to save some data from URL to the list field 
> of tiddler $:/temp/mylist
> I try to use this hook 
> http://tiddlywiki.com/dev/#Hook%3A%20th-saving-tiddler but get error.
>
> I use this $tw.Tiddler("$:/temp/mylist",{"list": value}); 
>

The only way to create new tiddlers is $tw.wiki.addTiddler()

So a typical call may look like this: 

var fields = {list:"a b c", an_other_field:"test"};
var title = "test-title"; 

$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getCreationFields(),fields,{
title: title},$tw.wiki.getModificationFields(), {title:"this-title-wins"}));


If you copy paste the above code into the debug console it will create a 
tiddler named: "this-title-wins" ... Since it is the last parameter in the new 
$tw.Tiddler() call. So parameter priority is from left to right!

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/4c5f5943-79e2-49f7-9813-c800fc571f71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to teach macro to take some data from URL and put it to list field of temp tiddler?

2016-09-18 Thread PMario
Hi 

try this: 

$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getModificationFields(), 
{title:"bla",caption:"hi"}));

It will show up in the recent tab now. The second  function you may want to 
use is: $tw.wiki.getCreationFields()that gives you the created timestamp

-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/17b70d76-0e5c-4abf-8d54-f44f9977c236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using the List Widget for OR Operations?

2016-09-18 Thread PMario
On Saturday, September 17, 2016 at 2:31:02 AM UTC+2, Zaphod Beeblebrox 
wrote:
>
> *PMario said:*
>
>> There are always several methods to achieve something in TW. Using the 
>> list widget as you do here is one of them.
>> IMO the $reveal widget in combination with the tw transclude mechanism 
>> and the transclude widget would be a better fit here. 
>>
>> But this is my impression having a very fast view at the problem. So I'd 
>> need to do some experiments - later today - to be sure.
>>
>  
> I'm always open to new suggestions from those that know more than me 
> (which, when it comes to TW, includes just about everyone! :-P ).
>

I did make some tests, but with the existing reveal widget, it gets more 
complicated than using the list filter to mimic the reveal behaviour. .. So 
imo no different possibility from my side :)

-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/ff0cdb6d-5667-4187-8972-35b283dce9c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to teach macro to take some data from URL and put it to list field of temp tiddler?

2016-09-18 Thread Siniy-Kit
Thank you, Danielo. I put this code 
new $tw.Tiddler({title:"bla",caption:"hi"});

 to my macros,  but tiddler "bla" didn't appear. may be it is necessary  to 
write something else?  Or may be somebody have a full example of using this 
hook?

воскресенье, 18 сентября 2016 г., 11:53:17 UTC+3 пользователь Danielo 
Rodríguez написал:
>
> To create a tiddler you habe to use the keyword new. Also you have to pass 
> as parameters only objects,as many as you want,but objects 
>
> new $tw.Tiddler({title:"bla",caption:"hi"})
>
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d954107d-92a2-4893-9fb2-47a8f4510eab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] How to teach macro to take some data from URL and put it to list field of temp tiddler?

2016-09-18 Thread Danielo Rodríguez
To create a tiddler you habe to use the keyword new. Also you have to pass as 
parameters only objects,as many as you want,but objects 

new $tw.Tiddler({title:"bla",caption:"hi"})

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/97f89763-5b38-4b60-9808-99a7f04ad5dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] How to teach macro to take some data from URL and put it to list field of temp tiddler?

2016-09-18 Thread Siniy-Kit
Hi! long ago I wrote my first macro. Here is it 
http://novye-podarki.ru/heeg.html#%24%3A%2F_loctid.js  this macro take data 
from current url and build a very simple table  with this data.
for example, if you click this link 
http://novye-podarki.ru/heeg.html#!heeg#;10010;5;150;sam;1;0;oplNalKur;1;0;NoMon;1;0;$%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%80$89112564578$i...@heeg.ru$2016-05-25T09:53:45.441Z_04383
macros will take data from this link and show table with order.

Now I try to teach this macro to save some data from URL to the list field 
of tiddler $:/temp/mylist
I try to use this hook 
http://tiddlywiki.com/dev/#Hook%3A%20th-saving-tiddler but get error.

I use this $tw.Tiddler("$:/temp/mylist",{"list": value}); 

-- 
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/2203f9d3-caf3-4bb1-948c-640fc62c836a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.