[tw5] TW-Scripts: Update Dec 22nd

2019-12-21 Thread Mohammad
There is a new TW-Scripts update. See it here https://kookma.github.io/TW-Scripts/ Code and star:https://github.com/kookma/TW-Scripts --Mohammad Note: some solutions are not documented yet and will be gradually done! Latest solutions added to TW-Scripts within last 7 days. 1. Form and Co

[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-21 Thread Mohammad
Added to TW-Scripts https://kookma.github.io/TW-Scripts/#Combo%20Search%3A%20Standard%20and%20Filter%20Search On Thursday, December 19, 2019 at 9:30:17 AM UTC+3:30, Mohammad wrote: > > This may be answered already, but I could not find in in the forum > > > *idea*: have a search box (an $edit-text

[tw5] Re: Finally upgrading to TW5, troubleshooting aliases ('alias' fieldname > 'aliases' ?)

2019-12-21 Thread Mohammad
Added to TW-Scripts https://kookma.github.io/TW-Scripts/#Replace%20or%20Rename%20Fields On Thursday, December 19, 2019 at 8:20:58 PM UTC+3:30, Mohammad wrote: > > Springer, > I noticed you want to change the field name itself NOT the field value. > So just do as below > >- create a new tiddl

[tw5] Re: TW5: How to create another ADD tiddler button with predefined content?

2019-12-21 Thread Mohammad
Added to TW-Scripts https://kookma.github.io/TW-Scripts/#Add%20a%20New%20Element%20to%20Page%20Controls On Thursday, December 19, 2019 at 3:51:11 PM UTC+3:30, Eric Shulman wrote: > > On Thursday, December 19, 2019 at 3:17:36 AM UTC-8, Chuck R. wrote: >> >> On the right side of my TW there are defa

[tw5] Re: Restore last N tiddler edits idea

2019-12-21 Thread Mohammad
Added to TW-Scripts https://kookma.github.io/TW-Scripts/#A%20Direct%20Open%20for%20Edit%20on%20Wiki%20Crash On Sunday, December 22, 2019 at 9:09:21 AM UTC+3:30, Eric Shulman wrote: > > On Saturday, December 21, 2019 at 8:37:41 PM UTC-8, TonyM wrote: >> >> Whilst doing some development today with a

[tw5] Re: Saving the concatenation of the values of two variables in a new variable

2019-12-21 Thread Mohammad
Added to TW-Scripts https://kookma.github.io/TW-Scripts/#Form%20and%20Concatenation%20of%20Inputs Two tiny corrections! <$vars first={{!!lastname_temp}} second={{!!firstname_temp}}/> to <$vars second={{!!lastname_temp}} second={{!!firstname_temp}} > (note to removed slash) On Sunday, Dece

[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-21 Thread Mohammad
Tony! That's a nice trick to standard search box :-) --Mohammad On Sunday, December 22, 2019 at 4:07:56 AM UTC+3:30, TonyM wrote: > > Mohammad > > In my examples the extended one is what I would like to propose to add to > the default since it allows a system tiddler to appear in the standard >

[tw5] Re: Restore last N tiddler edits idea

2019-12-21 Thread Eric Shulman
On Saturday, December 21, 2019 at 8:37:41 PM UTC-8, TonyM wrote: > > Whilst doing some development today with advanced macros I was displaying > a tiddler that abended the wiki. > >- Unfortunately I had default tiddlers of [list[$:/StoryList]] so it >would always display on load. >-

[tw5] Re: List on current tiddler footer only on certain title

2019-12-21 Thread Scott Kingery
Thanks for the explanation, Eric! On Thursday, December 19, 2019 at 8:59:30 PM UTC-8, Eric Shulman wrote: > > On Thursday, December 19, 2019 at 8:32:05 PM UTC-8, Scott Kingery wrote: >> >> I tried to do the reverse >> <$list filter="[all[current]title[Home]]"> >> to have it show up only on Home. I

[tw5] Re: search operator and variables

2019-12-21 Thread Mohammad
This is an All-in-One search tools! (it is a run and learn tool!) I appreciate to put these description in SearchAndDestroy documentation tiddler! Best Mohammad On Sunday, December 22, 2019 at 2:05:21 AM UTC+3:30, Eric Shulman wrote: > > Yet another big update to http://tiddlytools.com/filtergen

[tw5] Restore last N tiddler edits idea

2019-12-21 Thread TonyM
Folks, Whilst doing some development today with advanced macros I was displaying a tiddler that abended the wiki. - Unfortunately I had default tiddlers of [list[$:/StoryList]] so it would always display on load. - I edited the html file directly and removed [list[$:/StoryList]] from

[tw5] Re: CSS Wikitext in macro issue

2019-12-21 Thread Eric Shulman
On Saturday, December 21, 2019 at 5:06:58 PM UTC-8, David Allen wrote: > > \define color_picker(label,field) > > > $label$ > > > <$edit-text field="$field$" type="number" class="custom_select"/> > > > {{!!$field$}} > > > > \end > Wikification does not occur *inside* parameters. To achiev

[tw5] Re: Saving the concatenation of the values of two variables in a new variable

2019-12-21 Thread Eric Shulman
On Saturday, December 21, 2019 at 4:42:54 PM UTC-8, TonyM wrote: > > I assume there is a \end for the \define in the various code samples. It a single line define, where the definition is *on the same line* as the \define. No need for a \end -e -- You received this message because you are

[tw5] Re: CSS Wikitext in macro issue

2019-12-21 Thread A Gloom
> Found something that works and lets me use multiple such instances of this > macro > Nice! *poclets code* >> << : D -- 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 ema

[tw5] Re: CSS Wikitext in macro issue

2019-12-21 Thread David Allen
Found something that works and lets me use multiple such instances of this macro: \define color_picker(label,field) $label$ <$edit-text field="$field$" type="number" class="custom_select"/> .style_$field$ {background-color: rgb({{!!$field$}}, {{!!$field$}}, {{!!$field$}}); padding: 10p

[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-21 Thread TonyM
All here or in some off line WIkis, often half done. When I come up with a good idea, I test it and confirm it works, but do not yet polish it up and publish like others. If a question demands I will provide targeted info but this polishing takes time, especially since I always find a few ways

[tw5] Re: CSS Wikitext in macro issue

2019-12-21 Thread David Allen
I did and it didn't work On Saturday, December 21, 2019 at 7:59:27 PM UTC-6, A Gloom wrote: > > the field value transclusion may need a template to apply styling if I'm > understanding correctly > > have you tried wikitext styling markup? > > Eric summed it up well here-- > https://groups.google

[tw5] Re: CSS Wikitext in macro issue

2019-12-21 Thread A Gloom
the field value transclusion may need a template to apply styling if I'm understanding correctly https://tiddlywiki.com/#Transclusion%20with%20Templates -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop rece

[tw5] Re: CSS Wikitext in macro issue

2019-12-21 Thread A Gloom
the field value transclusion may need a template to apply styling if I'm understanding correctly have you tried wikitext styling markup? Eric summed it up well here-- https://groups.google.com/d/msg/tiddlywiki/NDASkeP2oMA/Bfr9tID2AwAJ -- You received this message because you are subscribed to

[tw5] Re: Two ideas for hiding and expanding

2019-12-21 Thread A Gloom
Glad to be occasional help (usually of no help cause of irrevelance) Feliz Navidad, be safe -- 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...

[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-21 Thread A Gloom
> Psat website or the tiddlywiki.psat.com.au has not had many updates but > hopefully will soon. > > Regards > > So where's all your coding secrets then? >> << -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and

[tw5] CSS Wikitext in macro issue

2019-12-21 Thread David Allen
\define color_picker(label,field) $label$ <$edit-text field="$field$" type="number" class="custom_select"/> {{!!$field$}} \end I've finally discovered wikifying CSS, and I think I love it. I'm trying to make a tiddler that contains some CSS controlling forms and the code above is one o

[tw5] Possible to save tiddlers as individual files?

2019-12-21 Thread TonyM
Jarad Out of the box the behavior to save individual tiddler only happens using nodejs or a folder based install. You can do this on top of drop box but either you need a server that all your devices can reach over the network or be able to run a server on each device to access the folders (on

[tw5] Re: Saving the concatenation of the values of two variables in a new variable

2019-12-21 Thread TonyM
I assume there is a \end for the \define in the various code samples. Tony -- 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

[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-21 Thread TonyM
Mohammad In my examples the extended one is what I would like to propose to add to the default since it allows a system tiddler to appear in the standard search if it has a caption. You can add captions to the many tools you have shared and users can find them in the standard search. I would l

[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-21 Thread TonyM
Gloom Psat website or the tiddlywiki.psat.com.au has not had many updates but hopefully will soon. Regards Tony -- 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

[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-21 Thread A Gloom
looks interesting, may be helpful in my pursuits (yorr work has always been helpful-- I have scoured PSaT for ideas before), but first must... : ) more personal name? I don't know... back in the ether prehistory (time of local BBS & Telnet, there was a Gloom, when someone said let there be tcip

[tw5] Re: search operator and variables

2019-12-21 Thread Eric Shulman
Yet another big update to http://tiddlytools.com/filtergenerators.html SearchAndDestroy * I added individual "reset" buttons for each part of the input table, so you can clear each separately (the existing "clear all" button still applies to all inputs at once) * use of my "edit-list" macro for

[tw5] Re: viewport, screen size and tiddler size

2019-12-21 Thread Eric Shulman
On Saturday, December 21, 2019 at 2:05:02 PM UTC-8, Magnus wrote: > > Forgive a silly question but what are the difference in vw/vh and using %? > vw and vh are based on the current browser "viewport" (window) dimensions, while % is based on the current containing block-level DOM element (DIV, sp

[tw5] Re: Saving the concatenation of the values of two variables in a new variable

2019-12-21 Thread Eric Shulman
On Saturday, December 21, 2019 at 1:28:19 PM UTC-8, Matthias Katerbow wrote: > > I'm trying to save the concatenation of the values of two variables in a > new variable: > \define linkup(firststring,secondstring) [[$firststring$, $secondstring$]] > | First Name|<$edit-text class='tc-edit-textedito

[tw5] Re: viewport, screen size and tiddler size

2019-12-21 Thread Magnus
Forgive a silly question but what are the difference in vw/vh and using %? Den fredag 20 december 2019 kl. 15:41:55 UTC+1 skrev Eric Shulman: > > On Friday, December 20, 2019 at 6:24:54 AM UTC-8, Chuck R. wrote: >> >> Others might need a slightly different way to do this. Just to add my 2 >> cent

[tw5] Saving the concatenation of the values of two variables in a new variable

2019-12-21 Thread 'Matthias Katerbow' via TiddlyWiki
Hi folks, I'm trying to save the concatenation of the values of two variables in a new variable: \define linkup(firststring,secondstring) [[$firststring$, $secondstring$]] | First Name|<$edit-text class='tc-edit-texteditor' tiddler="$:/state/NewIndividualForm" field='firstname_temp' placehold

[tw5] Re: Two ideas for hiding and expanding

2019-12-21 Thread Mohammad
On Saturday, December 21, 2019 at 9:18:43 PM UTC+3:30, A Gloom wrote: > > Nifty feature-- instead of a plugin, perhaps a template? > > Along the lines of Mohammad's suggestion-- a in-tiddler button-- actually > the stock button to hide the sidebar... > > <$reveal state="$:/state/sidebar" type="n

[tw5] Possible to save tiddlers as individual files?

2019-12-21 Thread Jared Lettau
I have been extremely satisfied with with using dropbox folder integration to sync my .html file. However, since every save modifies the single .html save file: - Every save results in a full wiki sync to all devices which chews up bandwidth. - While rare, dropbox versioning conflicts

[tw5] Re: Change currentTiddler within macro based on macro input

2019-12-21 Thread 'Mark S.' via TiddlyWiki
On Saturday, December 21, 2019 at 12:27:36 PM UTC-8, David Allen wrote: > > > Also, why is the ~ in front of the title again? > > That means "else". So if the first run doesn't find the target tiddler, the second run will use the current tiddler. -- You received this message because you are su

[tw5] Re: Change currentTiddler within macro based on macro input

2019-12-21 Thread David Allen
Thank you! This is working now. I didn't know the exact syntax for doing <<__parameter__>> inside a filter, so that helped. Also, why is the ~ in front of the title again? On Saturday, December 21, 2019 at 2:20:06 PM UTC-6, Mark S. wrote: > > Try > > \define img_gallery2(target_tiddler) > <$lis

[tw5] Re: Change currentTiddler within macro based on macro input

2019-12-21 Thread 'Mark S.' via TiddlyWiki
Try \define img_gallery2(target_tiddler) <$list filter="[<__target_tiddler__>!is[missing]] ~[title]"> <> <> \end On Saturday, December 21, 2019 at 11:32:31 AM UTC-8, David Allen wrote: > > *I do not want a new plugin, so please don't suggest one!* > I have a macro as follows: > > \define img

[tw5] Re: Change currentTiddler within macro based on macro input

2019-12-21 Thread bimlas
David Allen, I think you need to use the Tiddler widget (https://tiddlywiki.com/#TiddlerWidget): \define img_gallery2(target_tiddler) <$tiddler tiddler=<<__target_tiddler__>>> <> <> \end -- You received this message because you are subscribed to the Google Groups "

[tw5] Change currentTiddler within macro based on macro input

2019-12-21 Thread David Allen
*I do not want a new plugin, so please don't suggest one!* I have a macro as follows: \define img_gallery2(target_tiddler) <> <> \end Right now, target_tiddler is not used. single_image3 and add_gallery2 both use text references for the currentTiddler variable (such as {{!!images}} ). I want

[tw5] Re: Two ideas for hiding and expanding

2019-12-21 Thread David Gifford
Thanks everyone for the feedback. Nice suggestions! When I get a little time...doing holiday stuff right now... On Friday, December 20, 2019 at 8:56:06 AM UTC-6, David Gifford wrote: > > Hi everyone > > I came up with two solutions this morning for needs that I had: > > 1) a toggle button in view

[tw5] Re: TIP TW5: How to hide text

2019-12-21 Thread A Gloom
@Torax Malu well, if such kind of information is so welcomed, > Of course it is > The reveal only interpretes the tiddler only with the given template, if > it has type JSON. Otherwise it will display the content as normal TW-Text. > You can also add other protections like version-fields an

[tw5] Re: Two ideas for hiding and expanding

2019-12-21 Thread A Gloom
Nifty feature-- instead of a plugin, perhaps a template? Along the lines of Mohammad's suggestion-- a in-tiddler button-- actually the stock button to hide the sidebar... <$reveal state="$:/state/sidebar" type="nomatch" text="no"> <$button set="$:/state/sidebar" setTo="no" tooltip={{$:/language

[tw5] Re: Combo Searchbox: search both as "standard search" and "filter search"

2019-12-21 Thread Mohammad
Hi Tony! Many thanks for these useful search tools! It seems there is potential to make very customized search boxes. Cheers Mohammad On Saturday, December 21, 2019 at 10:37:28 AM UTC+3:30, TonyM wrote: > > Mohammad, > > Just sharing in case there is a method you want to use. > > Please find at