[tw5] Re: YouTube macro lil syntax help

2020-07-27 Thread 'Jake' via TiddlyWiki


> A little related additional question. I sorted out with YouTube, but what 
> if I want to play .mp4 inside TW?
>
> I tried both  and  tags, but they didn't work. For example 
> if I want a video from https://somesite.com/somevideo.mp4 to play and 
> write:
>
> https://somesite.com/somevideo.mp4;>
>
> or 
>
>  
> https://somesite.com/somevideo.mp4;>
> 
>
> I get nothing. Am I doing smth wrong or are there some TW limitations I'm 
> not aware of?
>

errrm... guys?.. anyone?... 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2e832d6b-1e2e-473c-81d3-43ae6aaa8006o%40googlegroups.com.


[tw5] Re: YouTube macro lil syntax help

2020-07-24 Thread 'Jake' via TiddlyWiki
A little related additional question. I sorted out with YouTube, but what 
if I want to play .mp4 inside TW?

I tried both  and  tags, but they didn't work. For example 
if I want a video from https://somesite.com/somevideo.mp4 to play and write:

https://somesite.com/somevideo.mp4;>

or 

 
https://somesite.com/somevideo.mp4;>


I get nothing. Am I doing smth wrong or are there some TW limitations I'm 
not aware of?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/824517e2-54e8-45ac-a4b6-8a8039720f85o%40googlegroups.com.


[tw5] Re: Formatting based on field value

2020-07-22 Thread 'Jake' via TiddlyWiki
Yes, the last one worked perfectly! Though it's a bit more difficult to 
understand then the first one. 
Which is the input set, the output set, where the variable is assigned to 
individual item and where the variable is assigned to the whole set, so 
on... 
I mean the main question is not exactly what is assigned to what, but "what 
you can assign to what and what you can not" in terms of TW. :)

PS. As I understood in this case <> variable you can use only 
inside "wikify" widget and <> and <> anywhere in the 
wiki once you add them in macro 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9a769e3e-247c-47ab-a954-7ce6f8a08c13o%40googlegroups.com.


[tw5] Re: Formatting based on field value

2020-07-20 Thread 'Jake' via TiddlyWiki

 

> Try this:
> <$list filter="[tag[Comedy]!sort[releasedate]]" variable="title">
><$list filter="[
> get[releasedate]compare:integer:lteq[20200701]then]">
>   <$link/> |
>
> 
>
> The outer $list gets the titles of the tiddlers with the desired tag, 
> sorted in descending order by releasedate
> The inner $list compares each releasedate to see if it is less than or 
> equal to [20200701] and returns the title
>

Yes! This works! I ended with smth like this:

<$list filter="[tag[Comedy]!sort[lastedit]]" variable="title"> 
<$list filter="[get[releasedate]compare:integer:gteq[20200701]then
]">

  <$link/> <$transclude tiddler={{{ 
[get[rating]addsuffix[-icon]] 
}}} /> (<$view field="releasedate" format="date" template="0DD.0MM."/>) 
   


 

It happened to be much more complicated then I initially thought... 
definitely not the newbie thing (at least with my level of newbiness)

Thanks a lot, Eric! 

Though... a little additional question: how to count those?.. if I had one 
filter I would just put it here <$count filter="MyFilter"/> but here are 
two filters... with a variable... so I'm a bit confused...
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57147ea2-8060-41e4-a8a9-ff9d70c3e204o%40googlegroups.com.


[tw5] Re: Formatting based on field value

2020-07-20 Thread 'Jake' via TiddlyWiki

>
> Jake wrote:
>>
>> guys... guys... and to put it inside a $list?.. and to combine it with... 
>> a tag thing... and a sort thing...
>>
>> ps. btw, if i use only MMDD format for dates - can I use just 
>> "integer" then as comparison type?
>>
>
> Did you at all *test *it before asking others?
>
> <:-) 
>

Yep, I did: nothing worked... ¯\_(ツ)_/¯

otherwise: why would I ask?.. i warned everyone: that's a newbie question. 
:)
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/604538a6-ae76-44a4-9de2-52fe248e782eo%40googlegroups.com.


[tw5] Re: Formatting based on field value

2020-07-20 Thread 'Jake' via TiddlyWiki


[image: og_og_1485180781287968971[1].jpg]
guys... guys... and to put it inside a $list?.. and to combine it with... a 
tag thing... and a sort thing...

ps. btw, if i use only MMDD format for dates - can I use just "integer" 
then as comparison type?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ab972d20-1dd3-4f46-b041-015c1e79ad0do%40googlegroups.com.


[tw5] Re: Formatting based on field value

2020-07-20 Thread 'Jake' via TiddlyWiki

>
> That last solution of mine did *not *have any macro. A macro is a 
> separate "codelet" that starts with "\definition". 
>  
>
>> OK, first, I agree that it *ought *to be possible to directly insert the 
>> color into the span thing. Again, my last solution did kind of do this. But 
>> there are a few issues with the code you write here above:
>>
>
> I'll get to your exact syntax but first, here is a syntax that is "more 
> correct but still faulty":
>
> ...
> Rating {{!!rating}}
> ...
>
> The <<..>> syntax is the basic way to call a variable. I suspect this 
> doesn't work here because the span reads this one: <>  as if it 
> was the closing angle bracket of the span tag. So this is why I, in my 
> initial solution, split out the whole span out into a macro.
>
> But you ask why $(...)$ doesn't work. This is because $(..)$ is the syntax 
> to call a variable when you are in a place where the variable was not 
> created. To see the difference, test this:
>
> \define mymacro()
> <$vars fruit=banana>
> This says banana: <>
> This says apple: $(fruit)$
> 
> \end
>
> <$vars fruit=apple>
> This says apple: <>
> <>
> 
>
> If you do this (no macro)
>
> <$vars fruit=apple>
> This says apple: $(fruit)$
> 
>
> ...you don't get anything because it is simply not the syntax to use when 
> calling the variable. It should be <>.
>
> Your examples also imply a question on the difference between $list and 
> $vars. For this specific case, the output from the filter is only one value 
> so you can use either, as in your examples. $vars sets a variable to be a 
> specific value whereas $list sets a variable to be one value at a time from 
> a list of values.
>
> Hope this clarifies.
>
 
Hmmm... I think I get... some of that... me thinks :)  I also just 
thought that "define" is possible only as part of marco 
(https://tiddlywiki.com/#Pragma) and only one define per macro is possible 
(the one that starts at the very beginning of tiddler), but that's not that 
important.

In the end I decided to use your second option like:

\define rating()
<$vars style={{{ [{!!rating}compare:number:gteq[7]then[green]] 
~[{!!rating}compare:number:gteq[5]then[grey]] ~[[red]] +[addprefix[font-size: 
1.5em; font-weight: 500; color:]]" }}} >
>>{{!!rating}}

\end


since 1 macro is better than 2 macros :)  and I can put any kind of css 
formatting inside the "addprefix" stuff.

But I have one more little questing, since we touched the Compare 
operator... I read this compare Operator 
, this Filter Syntax 
 and this ListWidget 
, but I still don't get it... :)

I still have no idea *how to make compare operator work with field values 
inside a list widget?*

For example I have a list filtered by some tag and I want to add condition 
to show only tiddlers that have some date older than 20200701 and filter 
them by that date.
So if I have a working list

<$list filter="[tag[Comedy]!sort[releasedate]]> <$link/> |  

and I want to add additional filter condition. if to do it in accordance 
with the above example if should be smth like: 
[{!!releasedate}compare:date:gr[20200701]] 

but why doesn't this thing work:
<$list filter="[tag[Comedy]] +[{!!releasedate}compare:date:gr[20200701]] 
+[!sort[releasedate]]"> <$link/> |?

I tried experimenting with brackets, but haven't managed to achieve 
anything. :(


 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9a3b9bc2-7a4e-4375-b952-cddf21e53871o%40googlegroups.com.


[tw5] Re: Formatting based on field value

2020-07-18 Thread 'Jake' via TiddlyWiki
 

> Hmmm s... do I get it right, that in order not to type all that 
>> "list" thing each time I need to make 2 macros? 
>>
>
> No, it could all be in one code if it weren't for the fact 
> that "background-color:" can't take <<...>> as an argument but it *can *take 
> $(...)$ as an argument. I'm not quite sure why. So it's a CSS syntax thing, 
> not really a logic thing.
>
>  
B-but... why it needs a macro inside? why it can't be just: 

<$list filter="[{!!rating}compare:integer:gt[70]then[green]] 
~[{!!rating}compare:integer:gt[50]then[grey]] ~[[red]]" variable=color>
Rating {{!!rating}}


?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e413fa35-48a0-4c86-9b41-cbac724d6e56o%40googlegroups.com.


[tw5] Re: Formatting based on field value

2020-07-18 Thread 'Jake' via TiddlyWiki

>
> Maybe I answered in an incomplete way: If you want the outer code, i.e the 
> listwidget, to be a macro then you would do as you correctly propose. But 
> the reason so split it up into two macros is only because that css bit 
> can't handle <<...>> as an argument.
>

Can it be done via some "var" thingy?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71a7c6e2-87d3-409d-92ee-68dc8d46b61bo%40googlegroups.com.


[tw5] Re: Formatting based on field value

2020-07-18 Thread 'Jake' via TiddlyWiki

>
> Fun little task.
> You might want some additional style tweaking but here's how you can do it:
>
> \define rating() Rating {{!!
> rating}}
>
> <$list filter="[{!!rating}compare:integer:gt[70]then[green]] 
> ~[{!!rating}compare:integer:gt[50]then[grey]] ~[[red]]" variable=color>
> <>
> 
>
>
Hmmm s... do I get it right, that in order not to type all that 
"list" thing each time I need to make 2 macros? 1st would be kinda 
"technical" macro <>
\define rating-style() {{!!rating}}

and the second marco, smth like <>:
\define rating()
<$list filter="[{!!rating}compare:integer:gt[70]then[green]] 
~[{!!rating}compare:integer:gt[50]then[grey]] ~[[red]]" variable=color>
<>

\end

and the usage like: 
Rating (or whatever text): <>?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/95a1f688-60f5-4ba4-8e23-14517864bd67o%40googlegroups.com.


[tw5] Formatting based on field value

2020-07-18 Thread 'Jake' via TiddlyWiki
Thanks everyone for the previous answer, but I have another small question. 
I've searched the forum, but couldn't find the answer.

So, the question is rather simple. Is it possible to automatically apply 
formatting to the field in the text based on its value?
For example: I have a field "rating" with values from 0 to 100. I want to 
show it in green if it's above 70, in grey if it's between 50 and 70 and in 
red if it's below 50. 

To simply show field value in a text would be:
Rating: {{!!rating}}

But is it possible to automatically apply the said (or any other) 
formatting based on its value? Should I use some "compare" and "then" 
attributes?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/179b25b5-c0ef-47c6-8977-b3f40c105b31o%40googlegroups.com.


[tw5] Re: Show Tag Tiddlers of Current Tiddler marked with certain Tag

2020-07-18 Thread 'Jake' via TiddlyWiki

>
> I think the shortest and most performant filter is: 
> [enlist{!!tags}]+[tag[genre]]
> It lists the tags of the current tiddler and then looks, if it has a tag 
> "genre"
> There are 2 lists:
> The first will give you a comma separated list.
> <$list filter="[enlist{!!tags}]+[tag[genre]]"><$link/>, 
> The second will give you tag pills, that open a drop down list, if you 
> click them.
> <$list filter="[enlist{!!tags}]+[tag[genre]]"><>


 

> [enlist{!!tags}]+[tag[genre]]

Nit pick but even shorter:
> [enlist{!!tags}tag[genre]] 


Yes! It works! I knew this should be short! :)

 As I understand $view won't do, so I have to use $list and probably use a 
> filter [tags[]tag[genre]] or smth, but I'm lost in syntax once again...  


I think I'll stick with this one:
<$list filter="[enlist{!!tags}tag[genre]]"><$link/>, 

Should study this "enlist" though...

Thanks Mario & Mat!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e2ebb6b5-52ef-446f-91f9-9618b314b1e9o%40googlegroups.com.


[tw5] Re: Show Tag Tiddlers of Current Tiddler marked with certain Tag

2020-07-18 Thread 'Jake' via TiddlyWiki

>
> OR...
>
> <$list filter="[enlist{!!tags}]" variable="thistag">
><$list filter="[tag[genre]]">
>   <$link to=<>/>,
>
> 
>
> The outer $list gets all tags for the current tiddler
> The inner $list checks each of those tags to see if it is a genre
>

Yep! The second one also works, though the 1st one is a bit easier to 
understand (since I haven't used "enlist" 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a470341e-04c8-4004-8dfb-7567b9b2b3a2o%40googlegroups.com.


[tw5] Re: Show Tag Tiddlers of Current Tiddler marked with certain Tag

2020-07-18 Thread 'Jake' via TiddlyWiki
 

> You can use nested $list widgets, like this:
>
> Genre:
> <$list filter="[tag[genre]]" variable="genre">
><$list filter="[tag]">
>   <$link to=<>/>,
>
> 
>
> The outer $list gets each tiddler tagged with genre.
> The inner $list checks if the current tiddler has that genre as a tag
>
 
Yay! This one works!.. now I need some time to process what is happenning 
inside... :) 

| ̄|  

|   Thanks a lot, Eric!  |

|___ __|

(\__/) || 

(•ㅅ•) || 

/ づ  

Once again, I doubt that I could have figured it out by myself...

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2c6167c6-abd5-432b-908a-e66db9327584o%40googlegroups.com.


[tw5] Re: Show Tag Tiddlers of Current Tiddler marked with certain Tag

2020-07-18 Thread 'Jake' via TiddlyWiki


> OK, maybe:
>
> <$vars curr=<>>
> <$list filter="[tag[genre]]">
> <$list filter="[tag]"><$link/>, 
> 
> 
>
>
Errmm... Nope :)
As a result I get current tiddler title shown 9 times... :)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/da1bc609-4690-4136-a102-703deeba10a7o%40googlegroups.com.


[tw5] Re: Show Tag Tiddlers of Current Tiddler marked with certain Tag

2020-07-18 Thread 'Jake' via TiddlyWiki


> You may be interested in list-links-inline 
> , 
>
> Otherwise;
>
> <$list filter="[tag[genre]]"><$link/>, 
>
> (A problem here is that you'll get a comma also after the last title.)
>
>
No-no-no... that will just show all the Tag Tiddlers tagged "genre" and I 
know how to that already :), but I want to show tags *only if they are 
present in the current tiddler*. 
That is if current tiddler has only 1 genre tag "Comedy", I want to show 
only 1 clickable tiddler tag [[Comedy]]. If if has Action and Drama - only 
those, etc. Not the list of all the genre tags present in 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb367f7f-6d46-4e67-9551-dc563216a521o%40googlegroups.com.


[tw5] Show Tag Tiddlers of Current Tiddler marked with certain Tag

2020-07-18 Thread 'Jake' via TiddlyWiki
Well, the title says it all. Very simple one.

E.g. if I have a small movie base and I have "genre" tags like "Action", 
"Drama", "Comedy", etc. and I marked all those tags with "genre" tag.

And now I want to show them as clickable Tiddlers in the text field of a 
current Tiddler like:

Genre: [[]], [[...]], [[...]]

As I understand $view won't do, so I have to use $transclude (as 
tiddlywiki.com says) and probably use a filter [tags[]tag[genre]] or smth, 
but I'm lost in syntax once 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11feaf8b-9385-43b9-82de-bb57dcc1af59o%40googlegroups.com.


Re: [tw5] Re: Text based on field value (Plus ">" or "< " math operators)

2020-07-11 Thread 'Jake' via TiddlyWiki
 

> You might want to look at the brand new *compare* operator: 
> https://tiddlywiki.com/#compare%20Operator
>
 
Yeah-yeah. Thanks, Xavier! I found that some time ago. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dad71425-9a27-4970-b75f-6f50653e9c61o%40googlegroups.com.


[tw5] Re: Is there an editable Wiki for TiddlyWiki somewhere?

2020-07-08 Thread 'Jake' via TiddlyWiki

>
> Is there an editable Wiki for TiddlyWiki somewhere?
>  

Thank you very much for your answers!
>
> The answer to my question, as it was meant, seems to be: No, there isn't.
>
> I think that is a great pity.
>

Also thought about that - with the same sad reaction (since I would be one 
of the "consumers", not "contributors" though due to the lack of 
knowledge). :( 
I think that would allow the documentation, manuals and tutorials about TW 
expand much faster and in much more detail than it is currently on 
https://tiddlywiki.com . 
Just to appoint one-two adequate moderators to this "public tw-wiki" and it 
would be awesome (if it is technically possible in the first place).
 
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c6dfdefa-1c1d-4433-9c19-f954e5757cd0o%40googlegroups.com.


[tw5] Re: $link to anchor?

2020-07-06 Thread 'Jake' via TiddlyWiki

>
> ARIA (Accessible Rich Internet Applications) is a way to help people with 
> disabilities to process a page:  
> https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
> An `aria-label` will describe the element to, for instance, a screen 
> reader.
>

Well, then I guess that is not an "anchor". (◑‿◐) 

so... what's the anchor then?  

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d49c2c4d-766e-4bfd-9968-4db6a80ba90ao%40googlegroups.com.


[tw5] $link to anchor?

2020-07-06 Thread 'Jake' via TiddlyWiki
Is there a way to $link to a specific anchor in a tiddler (like you do with 
    https://tiddlywiki.com/#LinkWidget and there is some 
parameter called: 
aria-label Optional accessibility label
Is this some TW analogue of anchor? If so, how to put one in a tiddler? 
There's absolutely zero info on the page about using this "aria-label".
Or is it just absolutely different issue and there should be some other 
parameter instead?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/73306a28-670a-41a6-be64-72d1efbdea0bo%40googlegroups.com.


[tw5] Re: YouTube macro lil syntax help

2020-07-05 Thread 'Jake' via TiddlyWiki
Yep, that worked! 

Using the inline filter, your macro definition would look like this:
> \define video(url, w:"400px", h:"300px")
>  www.youtube.com/watch?v=]addprefix[https://www.youtube.com/embed/]] }}} 
> frameborder="0" allowfullscreen>
> \end
>
 
As well as this: 

One more note... to make the code a bit easier to understand, you could use 
> a couple of variables to define the values of the prefixes and the modified 
> src URL, like this:
> \define video(url, w:"400px", h:"300px")
> <$vars old="https://www.youtube.com/watch?v=; new="
> https://www.youtube.com/embed/;>
> <$vars src={{{ [[$url$]removeprefixaddprefix] }}}>
> > frameborder="0" 
> allowfullscreen>
> 
> 
> \end
>

And even this: 
 

> \define video(url, w:"400px", h:"300px")
>  /]] }}} frameborder="0" allowfullscreen>
> \end
>

 
In the end I decided to stick with this final macro:

\define vid(id, w:"534px", h:"300px")
https://www.youtube.com/embed/]] }}} 
width="$w$" height="$h$"  frameborder="0" allowfullscreen>
\end

and usage like: <>

Don't want to deal with youtube.com/youtu.be and https:/http: in the future.

Btw, did I get it right that you don't need to specify 
(parameters/variables - whatever they're called) of the macro when calling 
it and if their names are omitted macro just handles them in a specified 
order?
So I don't need to write: <> and I can 
write just <>?


Thanks Eric and Mat! And Eric especially for the comprehensive lecture. Too 
bad it would be forever lost in the annals of this forum. I think it could 
be usefull to many other newbies. 
I think someone should seriously think about "TW Online Tutorial" (with 
some learning curve, cases, recipies etc), becase as I said earlier 
tiddlywiki.com  is of course very 
usefull, but provide not very much in terms of "learning". In most cases 
there are just parameter descriptions and very basic usage. And Working 
with TiddlyWiki  section 
is very limited as well. 

enjoying,
 \ (•◡•) /
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c29b9afa-4295-4ca6-a02c-a0d6acf576dao%40googlegroups.com.


[tw5] YouTube macro lil syntax help

2020-07-05 Thread 'Jake' via TiddlyWiki
Well, I think you already guessed from the title what this is about.

I wrote this and it actually works:

\define video(url, w:"400px", h:"300px")

\end


but I don't want to manually change https://www.youtube.com/watch?v=VIDEOID 
to https://www.youtube.com/embed/VIDEOID

I think I already know what should be done: "removeprefix" of 
"https://www.youtube.com/watch?v=; and "addprefix" of 
"https://www.youtube.com/embed/; if the whole url is inserted or just 
addprefix if that's only VIDEOID, 

"but"... I don't know what the proper syntax should be ¯\_(ツ)_/¯ .  (as 
well as I don't quite understand that "triple quotes" thingy).

I've searched the forum and see that someone made even a plugin for that: 
[Plugin] 
Embed YouTube Videos 
.
 
Though I don't understand why you need a whole plugin for that if it's just 
a very simple macro. But I may check RichLinks 
 later (currently it's just excessive to 
my needs).


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/76868e04-1e8a-405e-bcda-ab8eaef3f0c3o%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-03 Thread 'Jake' via TiddlyWiki


> If you are trying to create a form, I figured the easiest approach was to 
> just store the data of your form on a data tiddler. All this can then be 
> done while giving complete flexibility on different field types. If you 
> create a form template and then use that template to create new tiddlers 
> using {{||template}} that should just work.
>
> Code below shows examples of various HTML field types :
>
 
Yeah, this could also work, but... I just don't think I'm currently 
TW-smart enough to understand what is going on here and where. It's easier 
to deal with 1 field you don't understand functioning then with the whole 
table you don't understand functioning. :) But I'll definitely save this 
one and try to understand how to handle it and taylor to my needs. Thank 
you, Ankit!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e15a1504-66b5-4a58-a43c-77e669a5a4a7o%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-03 Thread 'Jake' via TiddlyWiki

 

> I didn't follow the intricacies of this thread but to make something 
> appear/disappear with the click of a button you can use the RevealWidget 
>  as described here (see 
> section "Accordion or Slider") OR, since you refer to it as a "template" 
> then maybe that means it si something that has a critical tag for it to 
> enable/disable it, in which case you can use e.g the CheckBoxWidget 
> to toggle that tag.
>
>
Yeah, thanks Mat! That works. I dunno how I missed that.

<$button set="$:/state/DataReveal" setTo="show">Data Input
<$button set="$:/state/DataReveal" setTo="hide">Hide

<$reveal type="match" state="$:/state/DataReveal" text="show">

{{||DataInput}}



It even works within a macro. At first had some troubles because of double 
nested transclution. Changed of of the transclutions into macro and all 
went nicely.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7553c2ab-ac1e-490f-8268-e5e7b72adde5o%40googlegroups.com.


[tw5] Re: Google groups page not loading properly?

2020-07-03 Thread 'Jake' via TiddlyWiki
same

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a20c87ca-23d7-405e-aa1b-bbe98ff7edc3o%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-03 Thread 'Jake' via TiddlyWiki
A little question: what if I want this template to appear/disappear with a 
click of a button?

E.g. I stored that form in a tiddler "DataInput" 

I tried this: 

<$button> Data Form
<$set name="datavar" value="DataInput"> 
<$transclude tiddler={{||}}  />



but obviously I'm doing smth wrong coz it's not working. :)  Plus I want to 
have another button "No Data" that would change the name of the 
transcluding tiddler template to another one ("No Data" or just an 
empty/non existing tiddler, though the 1st variant is better since provide 
more flexibility) - thus this DataInput template would "disappear".

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/80811cf5-9143-424b-9c9f-1d271044f79fo%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-02 Thread 'Jake' via TiddlyWiki


On Thursday, July 2, 2020 at 11:24:04 AM UTC-7, Eric Shulman wrote:
>>
>> I'm also working on an enhanced version where the buttons appear as a 
>> "popup"
>> only when the $edit-text control gets the input focus, but I'm still 
>> debugging that
>> version (there's a strange interaction between the focus and the popup 
>> that I
>> haven't yet figured out).
>>
>
> Here's the version that uses the focusPopup="..." method, so that the 
> delete/cancel/ok buttons
> only appear when you put the cursor into the input field:
>
> \define inputpopup(fieldname)
> <$vars
>temp="$:/temp/$(currentTiddler)$/$fieldname$"
>popup=<>
>default={{{ [get[$fieldname$]] }}}
>placeholder="enter a value for $fieldname$">
> <$keyboard key="enter" actions="""
><$action-setfield $tiddler=<> $field="$fieldname$" 
> $value={{{ [get[text]] }}} />
><$action-deletetiddler $filter="[] []" />
> """>
> <$edit-text tag="input" tiddler=<> default=<> placeholder
> =<> focusPopup=<> class="tc-popup-handle"/>
> 
> <$reveal state=<> type="popup" text="" position="right" 
> style="margin-left:0.25em;">
><$button tooltip="delete field"> {{$:/core/images/delete-button}}
>   <$action-deletefield $tiddler=<> $field=
> "$fieldname$"/>
>   <$action-deletetiddler $filter="[] []" />
>
><$button tooltip="cancel input"> {{$:/core/images/cancel-button}}
>   <$action-deletetiddler $filter="[] []" />
>
><$button tooltip="save input"> {{$:/core/images/done-button}}
>   <$action-setfield $tiddler=<> $field="$fieldname$" 
> $value={{{ [get[text]] }}} />
>   <$action-deletetiddler $filter="[] []" />
>
> 
> 
> \end
>
> Install it the same way as the previous version:
> * copy the above code into a tiddler (e.g., 
> "/TiddlyTools/Macros/inputpopup")
> * tag that tiddler with "$:/tags/Macro"
> * in any other tiddler, write:
> <>
>
>
Trash bin icon is absent for me. Plus sometimes icons appear in some weird 
places. :) And there is a problem with overlapping if there is a text or 
another field after the inputpopup-field. 
PS. Actually I don't have problems with the icons showing all the time - 
they are kinda cute. :)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1effafc2-5dd2-43ec-932b-9371d1569c21o%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-02 Thread 'Jake' via TiddlyWiki
 

> Here's a macro that provides a work-around interface:
> How to use it:
> * copy the above code into a tiddler (e.g., 
> "$:/TiddlyTools/Macros/getinput")
> * tag that tiddler with "$:/tags/Macro"
> * in any other tiddler, write:
> <>
>
> How it works:
> * the $edit-text default value is the current value in "SomeField" of 
> "SomeTiddler"
> * the $edit-text input goes into a temporary tiddler named 
> $:/temp/SomeTiddler/SomeField
> * the "delete" button removes "SomeField" from "SomeTiddler"
> * the "cancel" button discards the temporary tiddler (automatically 
> reverting the input contents to showing the default value)
> * the "ok" button copies the temporary tiddler content to "SomeField" in 
> "SomeTiddler"
> * the "enter" key is a shortcut for pressing "ok"
>
> I'm also working on an enhanced version where the buttons appear as a 
> "popup"
> only when the $edit-text control gets the input focus, but I'm still 
> debugging that
> version (there's a strange interaction between the focus and the popup 
> that I
> haven't yet figured out).
>

[image: 2020-07-02_22-55-25.png]
wow-wow-wow!! what sorcery is this?? I hardly understand what is happenning 
in that vodoo-macro but it works! Tested it in one of my micro-wikis 
(visual novel database).
I think it should be part of the core TW (together with Relink Plugin). 
When I asked a question - I thought it is rather standard operation. To 
have your own custom template to input data in your tiddlers. What could be 
more standard? But turned out you need to have a TW degree to do that 
because of... because of that "engine-techie stuff" that I doubt I would 
understand. :) Also I VERY doubt that I could come to this solution by 
myself. Even after reading the whole tiddlywiki.com several times. At least 
in the nearest year or two. :)  There is a huuuge gap between TW newbies 
and oldtimers and very little possibilities to bridge that because there's 
very little literature on the topic since TW community is relatively small.

But I have one more question. Is it possible to make a button for that 
transcluded template tiddler with <> fields appear and 
dissappear? Because I don't need to see it all the time. I just need it to 
fill in initial values or change them. Btw I was also thinking if it is 
possible to make this whole "Fill in Data Form" to popup with a press of a 
button in a sertain tiddler and closed when the data is added/updated.

Anyway, again thanks A LOT, Eric!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74d9660f-8457-4a8d-bc0a-d7a6c6f44d12o%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-02 Thread 'Jake' via TiddlyWiki

>
> Jake,
>
> Do some reading on how the <$list> and <$tiddler> widgets and templates 
> can affect the value of currentTiddler before being dismissive. There is 
> good reason why the default target of a lot of widgets is currentTiddler 
> that makes it appropriate in 99.9% of use-cases.
>
> Also understand the use of variables, macros and TextReferences to assign 
> the values to widget parametersbsince they open up a world of flexibility 
> to your Tiddlywiki applications and avoid having to manually change code.
>
> /Mike
>

well, that's why I asked if there is some manual or tutorial for that thing 
in the first place... :))  

The basic articles on https://tiddlywiki.com 
 provide very little in terms of 
"learning". In most of the cases it's just simple description of fields and 
parameters useful to those who already know how to deal with them. With 1-2 
simple basic examples at best. 90% of info I'm getting in terms of learning 
is either searching this forum or asking people who know "how to do stuff" 
here. I read the $list and $tiddler descriptions (actually I read all of 
those: https://tiddlywiki.com/#Widgets) before asking here but it didn't 
help me much. As about being dismissive I was dismissive not about the tool 
but about my understanding of that tool. I thought that was rather obvious.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bc6cfb89-9285-4566-806f-933fa0a68135o%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-02 Thread 'Jake' via TiddlyWiki

>
> From EditTextWidget:
> "One trap to be aware of is that the edit text widget cannot be used to 
> edit a field of the tiddler that contains it. Each keypress results in the 
> tiddler being re-rendered, which loses the cursor position within the text 
> field."
> ...
> "In short the EditTextWidget can not change properties of the tiddler it 
> is embedded in or part of. It can only change fields of other tiddlers."
>
> What this means in your specific example is since your EditTextWidget and 
> the field that your are editing are in your DataEntry tiddler, it will 
> force a refresh of the EditTextWidget with every keystroke ... even if you 
> transclude it into another tiddler. You are best to tweak your DataEntry 
> EditTextWidget with tiddler=DataStorage so that the widget is in the 
> DataEntry tiddler and the field being edited is in DataStorage tiddler.
>
> For sure, it is an annoying limitation and an easy trap to fall in 
> considering that the default tiddler for the widget is currentTiddler but 
> once you get things working, it is easy problem to avoid. I banged my head 
> on this one for a while.
>
> /Mike
>

"Each keypress results in the tiddler being re-rendered, which loses the 
cursor position within the text field". - yep, that's exactly what happens.

Bt... how to update the fields of the TARGET Tiddler?.. How to chose 
the title of the tiddler I want to change the field values?? Change it 
manually EVERY TIME changind the name of "DataStorage" tiddler to the 
needed one? Then - what's the point??? It makes it absolutely useless this 
way... 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8dbf-3209-490d-88fc-f1da4e31c036o%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-02 Thread 'Jake' via TiddlyWiki

>
> Hi Jake,
>
> Read carefully the "Notes" section of that link you just referenced. You 
> need to edit a field that is not in the tiddler that contains the 
> EditTextWidget. The notes give you an example how to do that. It can be 
> worked around.
>
> /Mike
>

Yeah, I read that, but don't think I got that precisely. It can't be part 
of the tiddler even as a template?

So, currently I have a Tiddler named "Data entry" with some text and 
several <$edit-text field="." size=...> fields. Then I create another 
Tiddler - let's call it SampleTiddler and put at the top or bottom of it 
{{||Data entry}}

But when I type smth in the input field - I can type only 1 symbol at a 
time. After that I have to click the field again and type or delete only 1 
symbol. The only thing that works - Ctrl+C/Ctrl+V. The field are updated as 
they should. I'm just curious about this "input" thing. Why I can type only 
1 symbol at a 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fe7404a9-eeba-49da-96dc-ba3fdec2d4cdo%40googlegroups.com.


[tw5] "EditTextWidget for Dummies" anywhere?

2020-07-02 Thread 'Jake' via TiddlyWiki
I'm just wondering if there is some manual or tutorial about EditTextWidget 
and how to create and manipulate input forms in general? 

Because this info: https://tiddlywiki.com/#EditTextWidget is definitely not 
enough for me.

For example: why does the input field becomes "inactive" after every single 
letter I type? Is there a way to bypass that? Why can't I "just print", 
then hit enter, tab or "click away"? Currently I just have to 
"Ctrl+C/Ctrl+V" the full value from somewhere.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c9c68183-a2ff-41ad-ad67-d36593b3aac8o%40googlegroups.com.


[tw5] Adding any field in Tiddly Commander erases all main field content?

2020-07-01 Thread 'Jake' via TiddlyWiki
Yeah, I know, I read this: "Note: This will overwrite the existing fileds!" 
but I thought it would be the case only if the field I'm adding to the 
selected batch already exists in some of those tiddlers, but not the main 
text field!

So, my questions are: 
1. Why does that "awesome feature" exist?
2. Why it erases only the main text field then? All the other fields remain 
intact.
3. Why in the warning note it is not mentioned explicitly? "Your MAIN TEXT 
FIELD WILL BE DELETED". It is not "overwritten". I did not put another 
value into it and TC didn't place anything instead, it just deleted it. So 
- say that in a warning!

and the main one:
4. How to bypass that? How to add a new field to a batch of tiddlers 
WITHOUT erasing the WHOLE main content of those tiddlers?

I knew smth like that could happen, so backed up and no actual harm's done, 
but still that was quite a surprise...

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68831a9a-ddc0-4845-9b74-3d3f17fb88deo%40googlegroups.com.


[tw5] Re: Icon based on tag or field value in a list

2020-07-01 Thread 'Jake' via TiddlyWiki
 

> Then you could write:
> {{{ [tags[]tag[Category]addsuffix[-icon]] }}}
>
> In other words:
> "for the current tiddler, get it's tags, then select only tags are 
> themselves tagged with "Category" and add the "-icon" suffix to that tag 
> name
>
> This still assumes that there's only one category tag on each tiddler, but 
> at least the names of those tags can be anything you like.
>
>
Yep! This also worked! Thanks again, Eric! 

Didn't even think that you can "tag tags" and select tags by their own tag. 
:) Might come in handy in the future. Though I think now I better stick to 
practice to keep "single-value" attributes in the fields and leave tags for 
those that imply multiple meaning. Thus I think it would be easier to 
"call" them when needed.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6d24ac97-a57f-41e0-9037-8a792cf74db6o%40googlegroups.com.


[tw5] Re: Icon based on tag or field value in a list

2020-07-01 Thread 'Jake' via TiddlyWiki
I just checked this one (for categories in the fields):
 

> Instead, you could write:
> {{{ [get[category]addsuffix[-icon]] }}}
>
> which you would use in the <$transclude> of your list output, like this:
> <$list filter="[tag[project]state[Active]!sort[lastedit]]">
>
>   <$link/>
>   <$transclude tiddler={{{ 
> [get[category]addsuffix[-icon]] 
> }}} />
>   (<$view field="lastedit" format="date" template="0DD.0MM."/>)
>
> 
>
 
and it worked liked a charm! Thanks a lot!

Now I'm gonna test it for categories in tags...
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/05a93428-6961-4f08-b17e-bb9fd6bb1c78o%40googlegroups.com.


[tw5] Re: Icon based on tag or field value in a list

2020-07-01 Thread 'Jake' via TiddlyWiki


> Possibly, you can use the SetWidgets "select" attribute or if that doesn't 
> work, try with WikifyWidget:
>
> <$set name="category-var" filter="..." select=0>
> <$list ...>
> <>
>  
> 
>
 
Ermmm... the problem is that the above mentioned filter for $set assesses 
the fields of "currentTiddler"... so... if I'm using it "outside" the 
list - I'm just applying category icon of the current tiddler to all those 
mentioned in the list. I need to shove it "inside" the list somehow. :)


 

> Based on the above, it seems like the name of the icon tiddler is just the 
> value
> in the category field, with "-icon" added to it, which you can generate 
> without
> needing that long filter to calculate the "category-var".
>
> Instead, you could write:
> {{{ [get[category]addsuffix[-icon]] }}}
>
> which you would use in the <$transclude> of your list output, like this:
> <$list filter="[tag[project]state[Active]!sort[lastedit]]">
>
>   <$link/>
>   <$transclude tiddler={{{ 
> [get[category]addsuffix[-icon]] 
> }}} />
>   (<$view field="lastedit" format="date" template="0DD.0MM."/>)
>
> 
>

Unfortunately they don't. :(  I changed the values for the purpose of the 
example. Though that's not a bad idea. I can rename them and see if that 
works. I'll check it now.
PS. But btw what to do if the category name is located not in a special 
field but is just one of the tags? And there are several those tags of 
course. So tiddler can have: "Type1 Category3" tags or "Type4 Category1" 
etc. Is there a way to "get" those?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c2184a92-af9f-4e30-9b7a-e6423e36473co%40googlegroups.com.


[tw5] Icon based on tag or field value in a list

2020-07-01 Thread 'Jake' via TiddlyWiki
So, the question is that I want to have an icon to show near a project name 
based on its category. Let's assume I have tiddlers "category1-icon", 
"category2-icon", "category3-icon", "category4-icon", "category5-icon" with 
some image (images) in them (not the "content-type: image" thing, just a 
simple [image[http:/blablalba.jpg]]).  And a "category" field in tiddlers 
(with values "category1", "category2" etc.)

If I want to put an icon in a text field of a tiddler, I just type smth 
like this
(thanks again to Eric for "tilda" thing explanation):

<$set name="category-var" 
filter="[category[category1]then[category1-icon]] 
~[category[category2]then[category2-icon]] 
~[category[category3]then[category3-icon]] 
~[category[category4]then[category4-icon]] 
~[category[category5]then[category5-icon]]"> 
<$transclude tiddler=<> /> 


And it kinda works. But I don't know how to "shove" all this thing into a 
list.

For example, if I have a list: 

<$list filter="[tag[project]state[Active]!sort[lastedit]]">   
<$link/> (I WANT CATEGORY ICON HERE) (<$view field="lastedit" format="date" 
template="0DD.0MM."/>)

I don't know how to do that.

Currently I'm just filling TWO separate fields "category" and 
"category-icon" (with the tiddler names "category1-icon", etc.) for each 
project and use this:

<$list filter="[tag[project]state[Active]!sort[lastedit]]">   
<$link/> <$transclude tiddler={{!!category-icon}} /> (<$view 
field="lastedit" format="date" template="0DD.0MM."/>)


But that's a bit annoying because it is kind of "double work" filling two 
fields instead of one for every project. I was wondering if that could be 
solved more elegantly.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fbe01f40-868d-4c2e-962b-a7a667fcfb96o%40googlegroups.com.


[tw5] Re: Show part of field value

2020-06-30 Thread 'Jake' via TiddlyWiki

>
> One minor problem arises because your fields also include a suffix of " 
> Gb", which makes the
> field values "non-numeric" and, as written here: 
> https://tiddlywiki.com/#nsort%20Operator
>
>> "Non-numeric values are treated as having a higher value than any number" 
>
> Which automatically defeats the numeric sorting and reverts to text sort 
> order.
>

No-no-no, I'm dumb, but not THAT dumb. :) Of course "Gb" was outside the 
field value. I wouldn't expect it to handle numeric+text field as numeric 
value. 


 However, the nsort[] filter does a *numeric* sort, so that the results 
> (using your example values)

would be ordered as: 1.3, 2, 3, and 140.15, as you intended.
>
>
> To address this, you would first have to omit that text from the 
> projectsize field of each
> project tiddler.  Then, to show a table of project titles and sizes, 
> sorted numerically by projectsize,
> you could write something like this (assuming you have tiddlers tagged 
> with "project"):
> 
>   <$list filter="[tag[project]nsort[projectsize]]">
>{{!!title}}{{!!projectsize}}
>
> 
>
>
Yeah, I had smth like this (though it was "sort" instead of "nsort" - silly 
me, and it worked fine untill I got to difference in digits :) )
<$list filter="[tag[project]has[gamesize]!nsort[gamesize]]">   
<$link/> (<$view field="projectsize" /> Gb) <$transclude 
tiddler={{!!rating-image}} />
 

 Let me know how it goes...


Yay! Both ways worked fine! Both the ~filter and nsort. Of course I'll 
stick with "nsort" as the most obvious choice. :) Though I didn't know 
about that "tilda" thingy and specificity of "removeprefix" operator 
mechanics - might come in handy later for other purpose.

Thanks a lot, Eric!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c7908bc7-62e6-4c0f-9477-360e01114693o%40googlegroups.com.


[tw5] Show part of field value

2020-06-30 Thread 'Jake' via TiddlyWiki
A little question. I wanted to sort projects by projectsize. But as I found 
out TW sorts them based on "text" logic, not "math" logic. So, if I want 
140.15 Gb be higher then 1.3 Gb, 2 Gb, 3 Gb and not between then I need to 
give them values 001.5 Gb, 002 Gb, 003 Gb. But I don't need those 
additional "zeros" to show in the appropriate part of the table. So, the 
question is how to "remove" those? I thought "removeprefix" should have 
worked, but if I try this:

<$text text={{{[{!!projectsize}removeprefix[00]]}}} />

and the field value has "00" in the beginning - everything is ok, but if it 
doesn't - I get empty result. I think I messed up with syntax somewhere, 
but I don't know where. I tried " +removeprefix", but that also didn't work 
out. Why doesn't it remove "zeroes" where they are and leave the rest as it 
is?

Plus if there is a single "0" before a number, e.g.: 015.43 Gb, i want to 
remove that as well.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15c4cad7-db2b-4ac6-bbb1-d68e5526e65bo%40googlegroups.com.


[tw5] Re: Can I use transclusion in hyperlinks?

2020-06-29 Thread 'Jake' via TiddlyWiki
Oooops... looks like there is an answer in the neighbour topic. I swear to 
God it wasn't there when I started typing this one. I gonna check that 
"addprefix" or "addsuffix" thing...

понедельник, 29 июня 2020 г., 16:17:51 UTC+3 пользователь Jake написал:
>
> Another little dumb question. How to transclude field value into a 
> hyperlink? I tried to tailor info from this topic, but wasn't successful. 
>
> 1. So, question is very easy: If I have a "mylink" field in a tiddler. How 
> do I transclude it so that it continued to operate as a hyperlink?
> I tried smth like MyText  or  
> [ext[MyText|{{!!mylink}}]], but obviously that didn't work. Is there a 
> proper syntax somewhere? or should it be done via some variables?
>
> 2. Plus I need to have it working to local folders as well. So if I have 
> "mylocallink" field, how to do that?
> MyText - obviously didn't work 
> either.
>
> 3. And in general: what to do if I want to make values in "mylink" or 
> "mylocallink" fields to be PART of the final hyperlink?
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e4e114c0-2daa-4cf5-bf54-81d9926410a9o%40googlegroups.com.


[tw5] Re: Can I use transclusion in hyperlinks?

2020-06-29 Thread 'Jake' via TiddlyWiki
Another little dumb question. How to transclude field value into a 
hyperlink? I tried to tailor info from this topic, but wasn't successful. 

1. So, question is very easy: If I have a "mylink" field in a tiddler. How 
do I transclude it so that it continued to operate as a hyperlink?
I tried smth like MyText  or  
[ext[MyText|{{!!mylink}}]], but obviously that didn't work. Is there a 
proper syntax somewhere? or should it be done via some variables?

2. Plus I need to have it working to local folders as well. So if I have 
"mylocallink" field, how to do that?
MyText - obviously didn't work 
either.

3. And in general: what to do if I want to make values in "mylink" or 
"mylocallink" fields to be PART of the final hyperlink?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4bfb43af-8665-45e7-85d2-803ec8074590o%40googlegroups.com.


[tw5] Autoupdate fields in the transcluded tiddler?

2020-06-28 Thread 'Jake' via TiddlyWiki
Is there a way to "update" fields in transcluded Tiddler? I mean if I have 
{{!!myfield}} values in the transcluded tiddler is there a way, so that 
TiddlyWiki automatically changed the "currentTiddler" and showed the field 
values not of the original tiddler but the the field values of the one I 
transclude that tiddler into?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63a60993-b7dc-4b1c-9b03-4180804345deo%40googlegroups.com.


[tw5] Re: Printing the results of a fliter

2020-06-27 Thread 'Jake' via TiddlyWiki
Was thinking about the very close problem. I think you'd be advised with a 
better solution, since I'm a total newbie, but try this one:

Filtered List Variable Assignment

This form of the set variable widget evaluates the filter and assigns the 
result to the variable as a space-separated list (using double square 
brackets for titles containing spaces).

<$set name="myVariable" filter="[tag[HelloThere]]">
<$text text=<>/>



Source: https://tiddlywiki.com/#SetWidget

for if/then - just insert your filter. for me it was:

<$set name="myVariable" filter="[title[tiddler2]state[value1]then[good 
result]else[bad result]]">
<$text text=<>/>


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ec872e97-c1ce-41a6-8bb2-10735cb53d3do%40googlegroups.com.


[tw5] Re: Text based on field value (Plus ">" or "< " math operators)

2020-06-27 Thread 'Jake' via TiddlyWiki
After a bit of trying I came to understanding, that for single value this 
might work:

for text:
<$set name="myVariable" filter="[title[tiddler2]state[value1]then[good 
result]else[bad result]]">
<$text text=<>/>


for another tiddler transclusion:
<$set name="myVariable" 
filter="[title[tiddler2]state[value1]then[tiddlertext1]else[tiddlertext2]]">
<$transclude tiddler=<> />


though 3rd question remains anyway.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1729f479-77a8-4ce5-831d-c73d0b045071o%40googlegroups.com.


[tw5] Text based on field value (Plus ">" or "< " math operators)

2020-06-27 Thread 'Jake' via TiddlyWiki
I've read this thing https://tiddlywiki.com/#Conditional%20Operators, but 
I'm still a bit confused which widgets to use: $text, $view, $list etc and 
which filters or operators...

Here's my question. 

1. For example, I have a field in some tiddler (tiddler1) called "state" 
and possible values in that field: "value1, value2, value3, value4, value5".

And I want to have a text in another tiddler (tiddler2) "good result" if 
the value of the field "state" in tiddler1 is value1 or value2, "bad 
result" if the value is value3 or value4 and "N/A" if the value is value5 
or absent... how to do that?

2. And the second question, supplementing the first one: what if I want the 
resulting text ("good result", "bad...") to be a transclusion of other 
tiddlers (e.g. tiddlertext1, tiddlertext2, tiddlertext3)?

3. Plus one more... I wonder if there are operators ">" (larger) and "<" 
(smaller) in TW? For example if I want to have one text in some tiddler if 
the field value in another tiddler is larger then X and another text if it 
is smaller then Y?
I checked mathematics Operators here: 
https://tiddlywiki.com/#Conditional%20Operators but couldn't find the 
needed ones.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/59c7a11f-a766-4b74-b2a4-c4192c30dd36o%40googlegroups.com.


[tw5] Re: Easy way to delete tiddlers with a certain tag?

2020-06-21 Thread 'Jake' via TiddlyWiki


> Hit the $:/AdvanedSearch tiddler (click the magnifier glass next to the 
> sidebar search), click on the "Filter" tab and enter "[tag[tagName]]" (no 
> quotes) in the search box. There is an option to delete or export all 
> search results right next to the search box.
>

Thanks! That's waaay easier than all the other solutions I found on the 
forum! I assume it was not always that easy?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/70e18902-1022-45a7-9605-f41d67e30cceo%40googlegroups.com.


[tw5] Easy way to delete tiddlers with a certain tag?

2020-06-21 Thread 'Jake' via TiddlyWiki
I've searched the forum and I know this question was raised a couple of 
times, but many of the topics are 5 or 10 years old and I'm not sure if 
they are suitable for the current version of TiddlyWiki since all those 
solutions are quite complicated, especially for a newbie.

Plus maybe there is a convenient working plugin for that or smth?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fe221bce-9693-44f7-8886-e328a1ec43dco%40googlegroups.com.


Re: [tw5] Re: Tiddly Desktop bug

2020-06-21 Thread 'Jake' via TiddlyWiki

>
> Hi OGNSYA, Jake,
>
> What operating system are you using?
>
> To be clear, are you both experiencing the same problem: that double 
> clicking the tray icon when TiddlyDesktop is running causes the wiki list 
> to become corrupted?
>
 
Hi Jeremy! 

Any launch of a second TiddlyDesktop application (from tray, from destop 
shortcut or clicking on wiki html in Total Commander with "open with 
TiddlyDesktop") - causes the TD to freeze, then a forced closure and then 
corruption of the wiki list in application. 
After that only full erasure of User\AppData\... fixes the problem for me. 
Tried couple of times - same result, so not accidental. Don't want to try 
more. :) Using Windows 10.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/530e6c14-d9d3-4f6b-aee2-16485e9e042fo%40googlegroups.com.


[tw5] Re: Max size of single html wiki file?

2020-06-19 Thread 'Jake' via TiddlyWiki


>
>> No-no, i definitely don't want several TDs launched. I just got rid of 
>> the mess that caused. :)
>>
>
> This was just a warning, if you wanted to do this. But that is what I 
> understood as "INSIDE TiddlyDesktop"
>

I meant I had no problems (so far) with several WINDOWS (i.e. wikis) of one 
TiddlyDesktop application, but when I accidentally launched second 
TiddlyDesktop application - I got problems...

I'll experiment with iframe and .cmd some more, but meanwhile just a little 
short question: do you know by any chance how to delete all the tiddlers 
with a certain tag (e.g. in case you moved them into a separate wiki)? To 
rename it, as I understood, you just need to create a tag tiddler and 
rename it - then the tag is updated (I still wonder if this is a default 
feature or a feature of a Relink Plugin). But if I want to delete all those?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6328e99d-a2b3-476d-b93f-66eac76844f6o%40googlegroups.com.


[tw5] Re: Max size of single html wiki file?

2020-06-18 Thread 'Jake' via TiddlyWiki


On Question 1
> I am used to external links opening in my default browser, I have being 
> happy with this but I can have a look at this. I don't think there is, 
> however TiddlyDesktop was recently updated to allow command line opening of 
> a specific wiki, so you may be able to provide an external link to a batch 
> that opens tiddlydesk to that wiki, however someone reports the second 
> execution of tiddlydesktop has a bug (Deserving resolution).
>

No-no, i definitely don't want several TDs launched. I just got rid of the 
mess that caused. :)
 

> Have you tried using an iframe? I would test it, but I think I need to 
> reboot to get tiddlydesktop working again.
>
 
Er... nooo... and I don't think I know how to implement it to what I 
want in this particular situation. :)
 

> On Question 2 
> I need to revisit this, I have a memory of needing to code such parameters 
> in a .bat/.cmd file and link to that instead to pass parameters However you 
> can link to folders directly and they will open in Windows explorer. 
>
> I have looked at generating such batch commands from tiddlywiki itself, it 
> is plausible, I used print to Generic Text printer to export the would be 
> batch file.
>

I created very simple .bat and .cmd files like "test.bat" and "test.cmd" 
with "TOTALCMD64.EXE C:\Windows". And if executed in total commander, 
windows explorer or cmd - it works fine and does what it should. But if I 
make an external link to it [[Testing|file:///c:\Program 
Files\totalcmd\test.bat]] and click in TiddlyDesktop - nothing happens. 
Well, "almost nothing". I see it blinks with a black window (looks like it 
launches cmd), but after that nothing happes, it doesn't launch 
TOTALCMD64.EXE that is in .bat or .cmd.

 

> On question 3
>
> Place <> in a tiddler and you get a tagpill, You can 
> see the macro tiddlers so tagged and drag the pill to another wiki and they 
> will all come over. Or use you own tag.
>

I knew this should be easy. Thanks! 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/460251d1-1b8a-4fac-ba35-4f681b24c45ao%40googlegroups.com.


[tw5] Re: Max size of single html wiki file?

2020-06-18 Thread 'Jake' via TiddlyWiki


> Try https://kookma.github.io/TW-Searchwikis/


I looked it a bit, but I think it answers some other questions that are 
currently on my mind. Currently I don't want to drastically change the 
structure. For now I just want to know:
1. Is there a way to link to a tiddler in another wiki so that it would 
open INSIDE TiddlyDesktop. So that I can just easily "jump" between several 
wikis opened in TiddlyDesktop. That would save a lot of time to me. 
Currently if I use "permalink" - it just opens the corresponding wiki, but 
not the corresponding Tiddler (maybe again because of Cyrillic naming, as I 
figured TiddlyDesktop hates those).
2. Is there a way to execute an application by link in TiddlyDesktop WITH 
certain parameters? For example if I want to open a link to catalogue not 
in Explorer, but in Total Commander. I need a working link with parameters, 
the same way as in a Windows shortcut, e.g. ""C:\Program 
Files\totalcmd\TOTALCMD64.EXE" c:\Windows" to open Windows catalogue 
directly at left panel. I tried smth like [[Open my 
cataloge|file:///"C:\Program Files\totalcmd\TOTALCMD64.EXE" c:\Windows]] 
(with different quotes combinations), but that obviously didn't work. Is 
there some syntax for that or is it impossible in principle (like having 
Unicode links work in TiddlyDesktop).
3. Is there an *easy *way to import all macro tiddlers from one wiki to 
another?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0281a956-9264-466c-8919-c6087caa483eo%40googlegroups.com.


[tw5] Re: Tiddly Desktop bug

2020-06-18 Thread 'Jake' via TiddlyWiki
Looks like it stored that data not in its core install folder but 
in c:\Users\User\AppData\Local\TiddlyDesktop\User Data\... folder. After I 
cleaned that up, everything got to normal. "Thanks" for help, everybody. I 
wonder, did noone know about that? Or was it so diffucult to tell: "dude, 
check the user/appdata folder"...

среда, 17 июня 2020 г., 17:51:53 UTC+3 пользователь OGNSYA написал:
>
> I got the same thing a few times before.
>
> The way I've been avoiding it is to never try to open TD by 
> double-clicking the icon on the tray; Always right-click and select Wiki 
> List
>
> In mine I could remove that bugged out instance just by clicking Remove...
>
>
> On Wednesday, June 17, 2020 at 3:39:00 PM UTC+1, Jake wrote:
>>
>> [image: 2020-06-17_17-32-05.png]
>> I accidently pushed an icon to launch TiddlyDesktop application while one 
>> TiddlyDesktop was already running. The application freezed. I closed it, 
>> but after that I got "that" (pic related). I still can open other wikis, 
>> but I can not remove this thing. I tried deleting TiddlyDesktop folder 
>> completeley and start it from a newly unzipped directory, but this thing 
>> remains. How to clean 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/acb7bced-477b-4b3b-a2a6-8581c093bbf2o%40googlegroups.com.


[tw5] Tiddly Desktop bug

2020-06-17 Thread 'Jake' via TiddlyWiki


[image: 2020-06-17_17-32-05.png]
I accidently pushed an icon to launch TiddlyDesktop application while one 
TiddlyDesktop was already running. The application freezed. I closed it, 
but after that I got "that" (pic related). I still can open other wikis, 
but I can not remove this thing. I tried deleting TiddlyDesktop folder 
conpleteley and start it from a newly unzipped directory, but this thing 
remains. How to clean 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d4b2eea-bf06-469b-b9e6-eb16edaf1e81o%40googlegroups.com.


[tw5] Re: Max size of single html wiki file?

2020-06-17 Thread 'Jake' via TiddlyWiki


> If you start to look at interwiki possibilities you will discover already 
> many methods and opportunities.
>
> I say assume tiddlywiki can do it and if you find it can't ask for help. 
> Structure your content so you can find and export exactly what you want and 
> you will be future proofed.
>
> Tony
>

Btw, and where I can read about those "interwiki possibilites"? I looked 
here: https://tiddlywiki.com/#Working%20with%20TiddlyWiki, here: 
https://tiddlywiki.com/#Concepts, searched the forum but found nothing on 
the subject. Or is it just about using "permalinks" as external html's or 
smth? 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/18ca7b4e-ccf1-48b0-b761-1b70fc675333o%40googlegroups.com.


[tw5] Re: Max size of single html wiki file?

2020-06-15 Thread 'Jake' via TiddlyWiki
It's just I'm editing it for less than a month ang got from initial 2.2mb 
to 3mb. I'm keeping all the images in separate folders and don't import 
them in wiki to keep the size to the minimun. Of course I'm far from having 
size limitations so far, but would Tiddly Desktop for example handle wiki 
file properly if it reaches 150-200mb size? Just wondering for the future 
to figure out how soon I would better start splitting it into smaller 
separate themed wikis.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f70a80d1-1f4f-4d9e-8027-2d04aa4b2ea4o%40googlegroups.com.


[tw5] Max size of single html wiki file?

2020-06-15 Thread 'Jake' via TiddlyWiki
A short question: What is the maximum size (in terms of megabytes) of a 
single html wiki file? I know it probably depends on your system RAM, but 
"in general", what is the reasonable maximum size to operate without lags, 
freezes, etc?

I searched the forum, but couldn't find the answer.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9341b580-70a4-497f-a1ae-9d65b02f7392o%40googlegroups.com.


[tw5] Re: Can I use transclusion in hyperlinks?

2020-06-07 Thread 'Jake' via TiddlyWiki

>
>
> To keep "the best of both worlds", you could do something like this:
> \define gofolder(text,foldertid,file) <$vars 
> folder={{$foldertid$}}>< "$text$" "$file$">>
> \define link2file(text,file) [ext[$text$|file:///$(folder)$/$file$]]
> with tiddlers [[MyDocs Path]], [[MyImages Path]], [[MyData Path]], 
> [[Downloads Path]] defining path to the folders.
>
> and then call it like this:
> <>
> <>
> <>
> <>
>
>
 Yes! That's it! That's exactly what I wanted - a way to transclude (well, 
"kind of") a "path tiddler" into a local hyperlink, so that in case one of 
the "core folders" is renamed or moved I wouldn't have to search all the 
relative hyperlinks throughout the whole wiki and correct it one by one. I 
just edit one tiddler with the proper path.

So now with this macro 

\define gofolder(text,folderpath,file) <$vars 
folder={{$folderpath$}}><>
\define link2file(text,file) [ext[$text$|file:///$(folder)$/$file$]]

and tiddlers [[#MyDocs]], [[#MyImages]], [[#MyData]], [[#Download]] (listed 
them all in [[#MyPaths]] tiddler for easier reference)

i can use

<>
<> etc.

and it works! If I change the location of Downloads, I just change 1 
Tiddler [[#Downloads]] and all the apropriate links works just fine without 
any corrections!

Thanks again, Eric!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/803e8934-e2c8-40e8-ab1a-6830c4f3c36fo%40googlegroups.com.


[tw5] Re: Can I use transclusion in hyperlinks?

2020-06-07 Thread 'Jake' via TiddlyWiki
Wow! Looks like it worked! Thanks a lot, Eric!

"BUT..." :)  what if I want to make it a bit more complex? What if I want 
to make "MyFolder" also a variable?

e.g. if I have folders like "MyDocs", "MyImages", "MyData", "Downloads", 
etc. with this method, as I understood, I would have to make a separate 
variable for each, like:

MyGoto Macro:
\define godocs(text,file) <$vars folder={{MyDocs Path}}><>
\define goimg(text,file) <$vars folder={{MyImages Path}}><>
\define godata(text,file) <$vars folder={{MyData Path}}><>
\define godownloads(text,file) <$vars folder={{Downloads Path}}><>
\define link2file(text,file) [ext[$text$|file:///$(folder)$/$file$]]

with tiddlers [[MyDocs Path]], [[MyImages Path]], [[MyData Path]], 
[[Downloads Path]] defining path to the folders.

and the usage

<>
<> etc.

but what if I want a "universal" macro with usage like:

<>

How can I do that? Or will it become too complex? Actually I can do with 
the separate ones, but was just curious if it is possible to make it into 
one?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c3977d0e-6b91-49fc-a9a3-2196db5eb03bo%40googlegroups.com.


[tw5] Can I use transclusion in hyperlinks?

2020-06-07 Thread 'Jake' via TiddlyWiki
The question is can I use a transclusion in hyperlinks?

For example if I have links to local files, folders located in 
C:\MyFolder01\MySubfolder\myfile.txt, and it currently works just file 
[[myfile|file:///C:\MyFolder01\MySubfolder\myfile.txt]], but if I rename 
MyFolder01 to MyFolder02 I don't want to rename EVERY link that I made to 
that folder, making it 
[[myfile|file:///C:\MyFolder02\MySubfolder\myfile.txt]] for every single 
one of them.

Can I make a tidller like [[MyFolder Path]] and then use 
[[myfile|file:///{{MyFolder Path}}\MySubfolder\myfile.txt]]? And if I 
rename/move my folder - I just adjust the single tiddler [[MyFolder Path]] 
and that's it, no need to rename ALL the links.

Spoiler: Well, obviously the mentioned thing didn't work. I tried. :)  So 
the question is there is another way to do that? Maybe some macro or 
something? Because I don't think I'm the first one with this problem 
(though I searched the forum, didn't find the answer).

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/153bd199-fcd4-47b7-bc0d-c2ffd2626152o%40googlegroups.com.


[tw5] TiddlyDesktop bug with local links in Cyrillic

2020-06-01 Thread 'Jake' via TiddlyWiki
I was having troubles (and still do) trying to open links like [[Cyrillic 
link|file:///g:\!Notebook\Записная1]]. So I tried to use it in Unicode 
[[Cyrillic 
link|file:///G:/!Notebook/%D0%97%D0%B0%D0%BF%D0%B8%D1%81%D0%BD%D0%B0%D1%8F1]] 
but with the same result.
I asked people here on the forum and they said they have no problem with 
those. So I just decided that's just my local system problem. Untill I 
tried opening my TW in a browser, not in the TiddlyDesktop that I was 
usually working in. And everything works just fine! Both ways: either in 
Cyrillic letters or with Unicode.

So my petition to those who develop TiddlyDesktop: could you make it handle 
links to local folders in Cyrillic and Unicode in general the same way it 
handles links in Latin?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/996beebe-67b2-48c5-be15-21c1c6e082c2%40googlegroups.com.


[tw5] Re: Simple way to link image to Tiddler?

2020-06-01 Thread 'Jake' via TiddlyWiki
Yes! That's exactly what I wanted! Thanks Eric!

понедельник, 1 июня 2020 г., 2:23:48 UTC+3 пользователь Eric Shulman 
написал:
>
> On Sunday, May 31, 2020 at 3:54:41 PM UTC-7, Jake wrote:
>>
>> Looks like partial solution is to make it an actual button:
>> <$button>
>> <$action-navigate $to="Sample One"/>
>> [img [imgurl]] 
>> 
>> but this way the image will look like an actual button, with borders and 
>> stuff. How to make it stay looking like a normal image?
>>
>
> Add "tc-btn-invisible" class, like this:
> <$button class="tc-btn-invisible">...
>
> Note also that the $button widget directly support navigation via the 
> "to=..." param, like this:
> <$button class="tc-btn-invisible" to="Sample One">[img[imgurl]]
>
> enjoy,
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0569a065-2f8e-4178-8c50-56247b5baa5d%40googlegroups.com.


[tw5] Re: Simple way to link image to Tiddler?

2020-05-31 Thread 'Jake' via TiddlyWiki
Looks like partial solution is to make it an actual button:

<$button>
<$action-navigate $to="Sample One"/>
[img [imgurl]] 


but this way the image will look like an actual button, with borders and 
stuff. How to make it stay looking like a normal image?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29344c48-43f6-4416-a3c2-d77b778521e8%40googlegroups.com.


[tw5] Re: Simple way to link image to Tiddler?

2020-05-31 Thread 'Jake' via TiddlyWiki
PS. Well, maybe I described it not the proper way. I want to open Tiddler 
not in a browser (though that still doesn't work for some reasons), but 
just to open the needed Tiddler inside my TW. So the image would serve like 
some kind of button.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0ee55d38-547f-46c1-be2c-4aec7f3d4763%40googlegroups.com.


[tw5] Simple way to link image to Tiddler?

2020-05-31 Thread 'Jake' via TiddlyWiki
I know it should be pretty easy, but I searched a bit on this forum before 
asking and read this one http://tobibeer.github.io/tb5/#Markup but haven't 
found the answer.

So, what's the easy way to link image to a Tiddler? 

I tried using permalinks 

 
[img[imgurl]] 

but it didn't work for some reason.

I tried creating separate Tiddler with path in case I move the wiki

[[MyTiddlyWikiPath]]
file:///G:/!Notebook/TiddlyWiki/sample-tiddly.htm

 [img[imgurl]] 

but it didn't work either.

S, what's the catch?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0d96f1c7-196c-4357-b53c-5d976dc876a8%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-30 Thread 'Jake' via TiddlyWiki
2Mario:

Yeah! Looks like it worked. I wrote a marco:

\define imgtxt(url, height, top)

\end

And now it seems like I can modify the size and position of any icon in the 
text the way I want with this:

>

That's rather useful, since the existing set of standard emoji that I used 
is not enough for me. :)

Thanks, Mario! That was very helpful!


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e305d6f1-056d-4eff-8ca9-741aa7611ba4%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-30 Thread 'Jake' via TiddlyWiki
One more little question. *What's the proper way to include internal styles 
without classes, only for a certain element?* I read this thing: 
http://tobibeer.github.io/tb5/#Markup  but still couldn't make it. 

For example, if I have this class defined in my stylesheet

.icon {height: 1.2em;  
position: relative;
top: 0.2em;}

and then use like

[img class="icon" [https://www.mediawiki.org/static/favicon/mediawiki.ico]] 
Sample 1

everything works fine. 

But if I want to use it without class (e.g. if i need to move certain icon 
a bit more up or down) and use the common html/css syntax - it doesn't work.

That means that this 'style' code does nothing to the image:

[img style="height: 1em; position: relative; top=0.2em" 
[https://www.mediawiki.org/static/favicon/mediawiki.ico]] Sample 2

I tried using @@, in different places and combinations as well but it 
didn't seem to work either. 

I tried using direct html code 
https://www.mediawiki.org/static/favicon/mediawiki.ico; 
style="height: 1em; position: relative; top=0.2em"> Sample 3

height property worked, but positioning did not.

So the very simple question is* what is TW equivalent for *. 
And is it written somewhere? And if it is - maybe change it to be a bit 
more clearer for a newbie to understand? Coz currently it is definitely 
not. :)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8bd57c00-1a20-4ca1-8f46-0f1c99e8ffd4%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-29 Thread 'Jake' via TiddlyWiki
Yeah, I knew about that part before asking the question and have the info 
button enabled for all the twiddlers, but that is not that effective for 
me. One time two more clicks is not a problem, but make it a hundred... 
Plus it's "vertical", i like it horizontally. But thanks.

пятница, 29 мая 2020 г., 3:00:05 UTC+3 пользователь TonyM написал:
>
> Quick tip,
>
> On any tidler the Info Button opens a set of tabs, one of these is tagging 
> which is effectively the list field.
>
> It can be nice to make the visible on the tiddler, but it is worth 
> remembering this info is always a couple of clicks away
>
> Regards
> Tony
>
> On Wednesday, May 27, 2020 at 10:57:23 PM UTC+10, Jake wrote:
>>
>> Hi, I'm new with Tiddlywiki and I have a question to ask. I think it 
>> should be rather simple, but I've read quite a bit about Lists and Filter 
>> Operators and couldn't figure that out. 
>> (Btw, a little advise to those who write those database: it could really 
>> use some examples how the FINAL CODE should look like, not only the 
>> description and some... schemes?). 
>>
>> So, the question is: *How to add the list of all the items added in the 
>> "list" field of a current tiddler at the bottom of that tiddler in a 
>> horizontal line?*
>>
>> I know that many use "tags" for that kind of reasons, but I heard that 
>> lots of tagging could slow down tw, so how to do that just using the list 
>> field?
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f40e17b-3a10-4ab4-aa7b-c7324964d215%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-28 Thread 'Jake' via TiddlyWiki
Yep, that's it! That's all I need ("for now" (◑‿◐)). I thought it should 
implement 'p' by itself somehow. :))

\define mylinks()
 

links: <$list filter="[list[]]"><$link/>, 

\end


PS. On the image you posted - I think there's no "blank row". I think 
that's just "margin" between the paragraphs. And since I made that margin 0 
by default (like it better this way) - I can see the existence/nonexistence 
of  more clearly. :)

четверг, 28 мая 2020 г., 23:21:03 UTC+3 пользователь Flibbles написал:
>
> Like link: ...??? I don't get what you're asking for. If you have 
> your macro separated the way you say you do, then it should already be 
> wrapped in  elements. Maybe if you show me what you have?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f281f34f-947d-4225-936f-1065770cc07e%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-28 Thread 'Jake' via TiddlyWiki
Yeah, of course I tried this one. It definitely adds a blank row, but it 
doesn't want to consider the "links:..." part as a new paragraph. I have 
paragraphs with "text-indent: 1em", but this way macro considers links part 
as a simple text, with no indent like other paragraphs do.

четверг, 28 мая 2020 г., 23:10:20 UTC+3 пользователь Flibbles написал:
>
> Or this?
>
> \define mylinks()
> 
> links:<$list filter="[list[]]"><$link/>, 
> \end
>
> On Thursday, May 28, 2020 at 4:08:06 PM UTC-4, Flibbles wrote:
>>
>> Oh. So this?:
>>
>> links:<$list filter="[list[]]"><$link/>, 
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dba5c87e-19ac-496d-9c2c-3d108a98ffa4%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-28 Thread 'Jake' via TiddlyWiki
Yeah, the paragraph part works fine. Now I just need a blank row, like 
, before it.

четверг, 28 мая 2020 г., 22:42:33 UTC+3 пользователь Flibbles написал:
>
> Like... this...?
>
> \define mylinks()
> links: <$list filter="[list[]]"><$link/>, 
> \end
>
> This is my content
>
> <>
>
> Just including a space between the macro and your body would start a new 
> paragraph. Or are you saying you want that macro to automatically render at 
> the bottom of every tiddler or something?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6dfb29ef-67bb-477e-8f37-ce1472598137%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-28 Thread 'Jake' via TiddlyWiki
No-no-no... much more simple than that...

I just want it to be like:

"Main text of the tiddler... blah-blah-blah...



new paragraph:

links: (here goes my links)"


for the last part I have: 
"\define mylinks() links: <$list filter="[list[]]"><$link/>, "
Now I just need to include in macro blank row before them and start them 
from a new paragraph.



четверг, 28 мая 2020 г., 22:16:50 UTC+3 пользователь Flibbles написал:
>
> Not quite sure what you mean. You want the last item in the list to be 
> displayed separately? So...
>
> \define mylinks()
> links: <$list filter="[list[]butlast[]]"><$link/>, 
>
> <$list filter="[list[]last[]]">and <$link/>
> \end
>
>
> What kind of output are you trying to get?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68478bbb-4481-49c7-b90a-c5310ae03445%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-28 Thread 'Jake' via TiddlyWiki
Yeah, looks like replacing [enlist{!!list}] with [list[]] works just fine. 
Another little question: what if I want to add a  and start of a new 
paragraph for the bottom links? What should I add here:
"\define mylinks() links: <$list filter="[list[]]"><$link/>, " for 
macro? (As I noticed if I type "something" before the list tag it just 
appears before that list, no magic voodoo brackets required)

As for links to local folders in Cyrillic: tried everything that I could 
google, doesn't work. Seems like I'll have to rename them on my pc into 
latin via transliteration. Won't be a very big problem with most of 
personal data folders (still inconvenient though), but might be troublesome 
for program folders.


четверг, 28 мая 2020 г., 18:17:04 UTC+3 пользователь Flibbles написал:
>
> [list[]] works replacing [enlist{!!list}] in everyone else's examples. So 
> the easiest way to print the list of the current tiddler is:
>
> {{{ [list[]] }}}
>
> As for your unicode directory name, I don't know what to tell you. I can't 
> replicate the issue. Every single combination of escaped, unescaped, 
> encoded, and decoded that I use on my windows machine all work using the 
> directory name you passed me. The only time I could get it *not* to work 
> was when I was trying to follow a link made in a tiddler that wasn't local 
> to my own machine.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/61cc2275-e9eb-4a59-bc29-a3213f2b0713%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-28 Thread 'Jake' via TiddlyWiki
Yeah, I can open file:///d:\моясукапапка\ in my browser (Chrome) just fine. 
I just print "file:///d:\моясукапапка\" in url field - and here it is, all 
the content of the folder. So the issue is not with a browser or a wrong 
spelling, but the TiddlyWiki engine I assume.


[enlist{!!list}] or [list[]] should be put... where?.. :)  coz if I leave 
it like that - that's just text.


Flibbles написал:
>
> [enlist{!!list}] does work.
>
> ...also
>
> [list[]]
>
> Surprised nobody mentioned that.
>
> For your linking to a file, make sure you can open 
> "file:///d:\моясукапапка\" directly in your browser, such as by dragging 
> that file onto a new tab. The link supplied from that is the href you 
> should be using for the link. But If you're still having trouble, maybe you 
> have to encode the uri.
>
> Link
>
> Though honestly, I'm not sure that's the answer. If you can open it 
> directly in the browser, you should be able to open it in Tiddlywiki just 
> fine.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57f7f9b9-0671-45ea-b815-b978db7ae09d%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-28 Thread 'Jake' via TiddlyWiki
Yeah! This one worked perfectly! And it's a lot easier to implement and 
understand (still fighting with the first one though :))  And as I 
understood - you can put whatever you like before last , not only 
space, but ", " or " | " or whatever and it works like separator between 
tweedlers like "Twiddler01 | Twiddler02 | Tweddler03..."

But also I have a little question, not related to the previous one. 
TwiddlyWiki doesn't like links to local folders in Cyrillic or should I 
just need one more plugin for that? Because when I tried [[My Awesome 
Folder|file:///d:\folder\]] it worked fine, but when I tried [[My Awesome 
Folder|file:///d:\моясукапапка\]] nothing worked. I even tried via html 
tags: still My Awesome Folder worked fine, 
but with Cyrillic letters in local folder name - nothing worked...

среда, 27 мая 2020 г., 21:08:01 UTC+3 пользователь Mat написал:
>
> Haha, OK, since you were so comfortable with the {{{ [enlist{!!list}] }}} 
> thing, I assumed you had some more experience (all the braces would have 
> freaked me out if I were totally new, for sure). Sorry. You can do it like 
> the following instead which is pure WikiText without involving the styling:
>
> tag: $:/tags/Macro
> text: \define mylinks() <$list filter="[enlist{!!list}]"><$link/> 
>
> I.e make a new tiddler, title it whatever you want and tag it as stated 
> and at the very top in its text field you put the "\define" line
>
> Then in whichever tiddlers you want the list, you add  <> and it 
> shows that the current tiddlers list field contents, space separated.
>
> A "macro" is a text that you can reuse in this way, in this case it is 
> some code.
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d7d420dc-3c21-425c-b42e-184ef2243d48%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-27 Thread 'Jake' via TiddlyWiki




okey... now I'll try to process this one... it may take several days... 
:))  i liked "{{{ [enlist{!!list}] }}}" more. But anyway - thanks a lot! 
You were very helpfull!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd470713-bf94-4d51-8704-7f64de2f9ad9%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-27 Thread 'Jake' via TiddlyWiki
среда, 27 мая 2020 г., 18:18:20 UTC+3 пользователь Mat написал:
>
> You might also be interested in Flibbles Relink plugin.
>
> <:-)
>


wow-wow-wow... what sorcery is this??? ༼ つ ◕_◕ ༽つ i tried this Flibbles 
Relink plugin - and looks like it worked! I also thought it would be 
difficult to install (haven't installed plugins to tw yet), but it's easy 
even for stupish idiots like meself... 。◕‿◕。

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8628f505-981c-4cfe-982e-e4e5c84c27a4%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-27 Thread 'Jake' via TiddlyWiki


среда, 27 мая 2020 г., 18:18:20 UTC+3 пользователь Mat написал:
>
>
> OK, you can put this at the bottom of the text field
>
> {{{ [enlist{!!list}] }}}
>
> You're right that if you change the titles of those tiddler, then this 
> will be updated. You might also be interested in Flibbles Relink plugin.
>
> <:-)
>

Yay!! Thanks!... I knew this should be easy, and they even update properly 
after renaming ( ͡° ͜ʖ ͡°) , "BUT"... but they are displayed just one after 
another without any spaces, like: Tiddle01Tiddle02Tiddle03. How can I add 
some space between them? And also is there a way to add some formatting to 
the results? Because if I put it inside a  or  tag the list becomes 
"vertical".

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/48481ddb-ed57-4dc6-8953-9ba6f36cf691%40googlegroups.com.


[tw5] Re: Show items added in the list field of the current tiddler

2020-05-27 Thread 'Jake' via TiddlyWiki
I want the list content to show at the bottom of the specific tiddlers. 
Well, I can always write them down as an ordinary text like: "see also: 
[[blabla]], [[blablabla]]", but as I understand they won't update if I 
change the name of the tiddler. And the items in the "lists" as I 
understood are updated automatically if I rename a tiddler. So I just want 
that bottom text to be auto updated, because if I have 50-100 tiddlers with 
ordinary text at the bottom [[blablabla]] and then I need to rename that 
tiddler to [[notblablabla]] I don't want to manually edit those 50-100 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b27fabcc-7c9f-4a26-9671-0d6b542a6b08%40googlegroups.com.


[tw5] Show items added in the list field of the current tiddler

2020-05-27 Thread 'Jake' via TiddlyWiki
Hi, I'm new with Tiddlywiki and I have a question to ask. I think it should 
be rather simple, but I've read quite a bit about Lists and Filter 
Operators and couldn't figure that out. 
(Btw, a little advise to those who write those database: it could really 
use some examples how the FINAL CODE should look like, not only the 
description and some... schemes?). 

So, the question is: *How to add the list of all the items added in the 
"list" field of a current tiddler at the bottom of that tiddler in a 
horizontal line?*

I know that many use "tags" for that kind of reasons, but I heard that lots 
of tagging could slow down tw, so how to do that just using the list field?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cc6468d9-c047-4752-9025-23035764d0ff%40googlegroups.com.