[tw5] Re: customize order of tag display
You need the *[[]]* when using two or more words with spaces. *[[Another Tag]]* If you did not use *[[Another Tag]]*, you would end up with 2 tags. *Another* and *Tag* On Friday, October 8, 2021 at 4:45:43 AM UTC+2 gavin@gmail.com wrote: > > Finally got it to work. The tiddler titled $:/config/TagsOrder (and also > tagged $:/config/TagsOrder) had to have each tag incased in [[*]] > notation and line separated > [[Tag]] > [[Another Tag]] > [[An Yet Another]] > > I don't know why it wouldn't work otherwise. I wish there was a way to set > tag precedence rather than have to arrange ALL tiddlers. I did appreciate > Eric's button code which pulled in all the tiddlers, though! :) > On Thursday, October 7, 2021 at 1:14:08 PM UTC-7 Gavin Gamboa wrote: > >> Also I am not sure if I am understanding Eric's suggestion for the tag >> ordering in the new TagsOrder tiddler: >> >> Then, you can enter tag names into $:/config/TagsOrder, and the display >> of tags in the ViewTemplate will show those tags in the order specified. >> >> Do we put that in a new list field within the tiddler itself, or do we >> put our own <$list> widget in the tiddler text body, or do we just list the >> tags as we would in a list field, but this time in the main text body of >> the tiddler i.e. Topic [[New Topic]] Fiction [[Non-Fiction]] …… ? >> >> >> On Thursday, October 7, 2021 at 12:20:17 PM UTC-7 Gavin Gamboa wrote: >> >>> How would we achieve this without altering the core/ui shadow tiddler? >>> Is there a way to make upgrades less of a nightmare and overriding the >>> $:/core/ui/ViewTemplate/tags with our own template ? (I haven't done >>> any deep customization such as this before so sorry ahead of time if it's >>> an obvious answer.) >>> >>> On Monday, December 21, 2020 at 1:52:05 PM UTC-8 TW Tones wrote: >>> Eric, Thanks for this insight. controlling the tags list is useful. - It does however make me ask if there were a way to use sortby so that the "named" tiddlers were at the beginning and the balance sorted following. The sortby or another method allows a select set of tiddlers to have their prominence enhanced through sorting, but its not very prominent if they are at the end of the list. - I have used your way to define a newline variable before, thanks. But do you know anyway to get it into a global macro? Regards Tones On Monday, 14 December 2020 at 17:56:02 UTC+11 Eric Shulman wrote: > Hi all, > > Recently, someone asked me if it is possible to apply a custom order > to the tags that are displayed on a tiddler, and I came up with a > one-line > adjustment to the tags ViewTemplate that achieves this: > > edit the $:/core/ui/ViewTemplate/tags shadow tiddler and change this > line: > <$list > filter="[all[current]tags[]sort[title]]" > template="$:/core/ui/TagTemplate" > storyview="pop"/> > to this: > <$list > filter="[all[current]tags[]sort[title]sortby{$:/config/TagsOrder}]" > template="$:/core/ui/TagTemplate" storyview="pop"/> > > The only change is adding "*sortby{$:/config/TagsOrder}*" to the > $list filter. > > Then, you can enter tag names into $:/config/TagsOrder, and the > display of tags in the ViewTemplate will show those tags in the order > specified. > > Note that any tags not included in the config tiddler will be listed > first, in the default alphanumeric order. Thus, if the config is empty > or > non-existent, the current TWCore default behavior is retained. > > Also, if there are a lot of tags to be listed, you can auto-generate > the initial contents of $:/config/TagsOrder by using the following > $button: > > <$vars lf=" > "> > <$set name="taglist" filter="[tags[]trim[]sort[]addsuffixjoin[]]"> > <$button> make initial ~TagsOrder ><$action-setfield $tiddler="$:/config/TagsOrder" text=<> /> > > (note that the literal newline following lf=" is important) > > This outputs all the current tags, one per line, into the text field > of $:/config/TagsOrder. You can then edit the tiddler to > add/delete/re-arrange the tags to suit your needs. > > enjoy, > -e > T > > > > -- 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/4852d409-e55c-47db-a79d-ac8ac88ec1d5n%40googlegroups.com.
[tw5] Re: customize order of tag display
Finally got it to work. The tiddler titled $:/config/TagsOrder (and also tagged $:/config/TagsOrder) had to have each tag incased in [[*]] notation and line separated [[Tag]] [[Another Tag]] [[An Yet Another]] I don't know why it wouldn't work otherwise. I wish there was a way to set tag precedence rather than have to arrange ALL tiddlers. I did appreciate Eric's button code which pulled in all the tiddlers, though! :) On Thursday, October 7, 2021 at 1:14:08 PM UTC-7 Gavin Gamboa wrote: > Also I am not sure if I am understanding Eric's suggestion for the tag > ordering in the new TagsOrder tiddler: > > Then, you can enter tag names into $:/config/TagsOrder, and the display of > tags in the ViewTemplate will show those tags in the order specified. > > Do we put that in a new list field within the tiddler itself, or do we put > our own <$list> widget in the tiddler text body, or do we just list the > tags as we would in a list field, but this time in the main text body of > the tiddler i.e. Topic [[New Topic]] Fiction [[Non-Fiction]] …… ? > > > On Thursday, October 7, 2021 at 12:20:17 PM UTC-7 Gavin Gamboa wrote: > >> How would we achieve this without altering the core/ui shadow tiddler? Is >> there a way to make upgrades less of a nightmare and overriding the >> $:/core/ui/ViewTemplate/tags >> with our own template ? (I haven't done any deep customization such as this >> before so sorry ahead of time if it's an obvious answer.) >> >> On Monday, December 21, 2020 at 1:52:05 PM UTC-8 TW Tones wrote: >> >>> Eric, >>> >>> Thanks for this insight. controlling the tags list is useful. >>> >>> >>>- It does however make me ask if there were a way to use sortby so >>>that the "named" tiddlers were at the beginning and the balance sorted >>>following. >>> >>> >>> The sortby or another method allows a select set of tiddlers to have >>> their prominence enhanced through sorting, but its not very prominent if >>> they are at the end of the list. >>> >>> >>>- I have used your way to define a newline variable before, thanks. >>>But do you know anyway to get it into a global macro? >>> >>> Regards >>> Tones >>> >>> >>> On Monday, 14 December 2020 at 17:56:02 UTC+11 Eric Shulman wrote: >>> Hi all, Recently, someone asked me if it is possible to apply a custom order to the tags that are displayed on a tiddler, and I came up with a one-line adjustment to the tags ViewTemplate that achieves this: edit the $:/core/ui/ViewTemplate/tags shadow tiddler and change this line: <$list filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" storyview="pop"/> to this: <$list filter="[all[current]tags[]sort[title]sortby{$:/config/TagsOrder}]" template="$:/core/ui/TagTemplate" storyview="pop"/> The only change is adding "*sortby{$:/config/TagsOrder}*" to the $list filter. Then, you can enter tag names into $:/config/TagsOrder, and the display of tags in the ViewTemplate will show those tags in the order specified. Note that any tags not included in the config tiddler will be listed first, in the default alphanumeric order. Thus, if the config is empty or non-existent, the current TWCore default behavior is retained. Also, if there are a lot of tags to be listed, you can auto-generate the initial contents of $:/config/TagsOrder by using the following $button: <$vars lf=" "> <$set name="taglist" filter="[tags[]trim[]sort[]addsuffixjoin[]]"> <$button> make initial ~TagsOrder <$action-setfield $tiddler="$:/config/TagsOrder" text=<> /> (note that the literal newline following lf=" is important) This outputs all the current tags, one per line, into the text field of $:/config/TagsOrder. You can then edit the tiddler to add/delete/re-arrange the tags to suit your needs. enjoy, -e T -- 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/f66c85db-e013-46a9-b4b7-8664438738f7n%40googlegroups.com.
[tw5] Re: customize order of tag display
Also I am not sure if I am understanding Eric's suggestion for the tag ordering in the new TagsOrder tiddler: Then, you can enter tag names into $:/config/TagsOrder, and the display of tags in the ViewTemplate will show those tags in the order specified. Do we put that in a new list field within the tiddler itself, or do we put our own <$list> widget in the tiddler text body, or do we just list the tags as we would in a list field, but this time in the main text body of the tiddler i.e. Topic [[New Topic]] Fiction [[Non-Fiction]] …… ? On Thursday, October 7, 2021 at 12:20:17 PM UTC-7 Gavin Gamboa wrote: > How would we achieve this without altering the core/ui shadow tiddler? Is > there a way to make upgrades less of a nightmare and overriding the > $:/core/ui/ViewTemplate/tags > with our own template ? (I haven't done any deep customization such as this > before so sorry ahead of time if it's an obvious answer.) > > On Monday, December 21, 2020 at 1:52:05 PM UTC-8 TW Tones wrote: > >> Eric, >> >> Thanks for this insight. controlling the tags list is useful. >> >> >>- It does however make me ask if there were a way to use sortby so >>that the "named" tiddlers were at the beginning and the balance sorted >>following. >> >> >> The sortby or another method allows a select set of tiddlers to have >> their prominence enhanced through sorting, but its not very prominent if >> they are at the end of the list. >> >> >>- I have used your way to define a newline variable before, thanks. >>But do you know anyway to get it into a global macro? >> >> Regards >> Tones >> >> >> On Monday, 14 December 2020 at 17:56:02 UTC+11 Eric Shulman wrote: >> >>> Hi all, >>> >>> Recently, someone asked me if it is possible to apply a custom order to >>> the tags that are displayed on a tiddler, and I came up with a one-line >>> adjustment to the tags ViewTemplate that achieves this: >>> >>> edit the $:/core/ui/ViewTemplate/tags shadow tiddler and change this >>> line: >>> <$list >>> filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" >>> storyview="pop"/> >>> to this: >>> <$list >>> filter="[all[current]tags[]sort[title]sortby{$:/config/TagsOrder}]" >>> template="$:/core/ui/TagTemplate" storyview="pop"/> >>> >>> The only change is adding "*sortby{$:/config/TagsOrder}*" to the $list >>> filter. >>> >>> Then, you can enter tag names into $:/config/TagsOrder, and the display >>> of tags in the ViewTemplate will show those tags in the order specified. >>> >>> Note that any tags not included in the config tiddler will be listed >>> first, in the default alphanumeric order. Thus, if the config is empty or >>> non-existent, the current TWCore default behavior is retained. >>> >>> Also, if there are a lot of tags to be listed, you can auto-generate the >>> initial contents of $:/config/TagsOrder by using the following $button: >>> >>> <$vars lf=" >>> "> >>> <$set name="taglist" filter="[tags[]trim[]sort[]addsuffixjoin[]]"> >>> <$button> make initial ~TagsOrder >>><$action-setfield $tiddler="$:/config/TagsOrder" text=<> /> >>> >>> (note that the literal newline following lf=" is important) >>> >>> This outputs all the current tags, one per line, into the text field of >>> $:/config/TagsOrder. You can then edit the tiddler to >>> add/delete/re-arrange the tags to suit your needs. >>> >>> enjoy, >>> -e >>> T >>> >>> >>> >>> -- 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/a47fe619-3318-4323-9db1-daf53cb70931n%40googlegroups.com.
[tw5] Re: customize order of tag display
Also I am not sure if I am understanding Eric's suggestion for the tag ordering in the new TagsOrder tiddler: Then, you can enter tag names into $:/config/TagsOrder, and the display of tags in the ViewTemplate will show those tags in the order specified. Do we put that in a new list field within the tiddler itself, or do we put our own <$list> widget in the tiddler text body, or do we just list the tags b ? On Thursday, October 7, 2021 at 12:20:17 PM UTC-7 Gavin Gamboa wrote: > How would we achieve this without altering the core/ui shadow tiddler? Is > there a way to make upgrades less of a nightmare and overriding the > $:/core/ui/ViewTemplate/tags > with our own template ? (I haven't done any deep customization such as this > before so sorry ahead of time if it's an obvious answer.) > > On Monday, December 21, 2020 at 1:52:05 PM UTC-8 TW Tones wrote: > >> Eric, >> >> Thanks for this insight. controlling the tags list is useful. >> >> >>- It does however make me ask if there were a way to use sortby so >>that the "named" tiddlers were at the beginning and the balance sorted >>following. >> >> >> The sortby or another method allows a select set of tiddlers to have >> their prominence enhanced through sorting, but its not very prominent if >> they are at the end of the list. >> >> >>- I have used your way to define a newline variable before, thanks. >>But do you know anyway to get it into a global macro? >> >> Regards >> Tones >> >> >> On Monday, 14 December 2020 at 17:56:02 UTC+11 Eric Shulman wrote: >> >>> Hi all, >>> >>> Recently, someone asked me if it is possible to apply a custom order to >>> the tags that are displayed on a tiddler, and I came up with a one-line >>> adjustment to the tags ViewTemplate that achieves this: >>> >>> edit the $:/core/ui/ViewTemplate/tags shadow tiddler and change this >>> line: >>> <$list >>> filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" >>> storyview="pop"/> >>> to this: >>> <$list >>> filter="[all[current]tags[]sort[title]sortby{$:/config/TagsOrder}]" >>> template="$:/core/ui/TagTemplate" storyview="pop"/> >>> >>> The only change is adding "*sortby{$:/config/TagsOrder}*" to the $list >>> filter. >>> >>> Then, you can enter tag names into $:/config/TagsOrder, and the display >>> of tags in the ViewTemplate will show those tags in the order specified. >>> >>> Note that any tags not included in the config tiddler will be listed >>> first, in the default alphanumeric order. Thus, if the config is empty or >>> non-existent, the current TWCore default behavior is retained. >>> >>> Also, if there are a lot of tags to be listed, you can auto-generate the >>> initial contents of $:/config/TagsOrder by using the following $button: >>> >>> <$vars lf=" >>> "> >>> <$set name="taglist" filter="[tags[]trim[]sort[]addsuffixjoin[]]"> >>> <$button> make initial ~TagsOrder >>><$action-setfield $tiddler="$:/config/TagsOrder" text=<> /> >>> >>> (note that the literal newline following lf=" is important) >>> >>> This outputs all the current tags, one per line, into the text field of >>> $:/config/TagsOrder. You can then edit the tiddler to >>> add/delete/re-arrange the tags to suit your needs. >>> >>> enjoy, >>> -e >>> T >>> >>> >>> >>> -- 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/668962c7-f3bc-424f-a8c2-0b70651bc2f3n%40googlegroups.com.
[tw5] Re: customize order of tag display
How would we achieve this without altering the core/ui shadow tiddler? Is there a way to make upgrades less of a nightmare and overriding the $:/core/ui/ViewTemplate/tags with our own template ? (I haven't done any deep customization such as this before so sorry ahead of time if it's an obvious answer.) On Monday, December 21, 2020 at 1:52:05 PM UTC-8 TW Tones wrote: > Eric, > > Thanks for this insight. controlling the tags list is useful. > > >- It does however make me ask if there were a way to use sortby so >that the "named" tiddlers were at the beginning and the balance sorted >following. > > > The sortby or another method allows a select set of tiddlers to have their > prominence enhanced through sorting, but its not very prominent if they are > at the end of the list. > > >- I have used your way to define a newline variable before, thanks. >But do you know anyway to get it into a global macro? > > Regards > Tones > > > On Monday, 14 December 2020 at 17:56:02 UTC+11 Eric Shulman wrote: > >> Hi all, >> >> Recently, someone asked me if it is possible to apply a custom order to >> the tags that are displayed on a tiddler, and I came up with a one-line >> adjustment to the tags ViewTemplate that achieves this: >> >> edit the $:/core/ui/ViewTemplate/tags shadow tiddler and change this line: >> <$list >> filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" >> storyview="pop"/> >> to this: >> <$list >> filter="[all[current]tags[]sort[title]sortby{$:/config/TagsOrder}]" >> template="$:/core/ui/TagTemplate" storyview="pop"/> >> >> The only change is adding "*sortby{$:/config/TagsOrder}*" to the $list >> filter. >> >> Then, you can enter tag names into $:/config/TagsOrder, and the display >> of tags in the ViewTemplate will show those tags in the order specified. >> >> Note that any tags not included in the config tiddler will be listed >> first, in the default alphanumeric order. Thus, if the config is empty or >> non-existent, the current TWCore default behavior is retained. >> >> Also, if there are a lot of tags to be listed, you can auto-generate the >> initial contents of $:/config/TagsOrder by using the following $button: >> >> <$vars lf=" >> "> >> <$set name="taglist" filter="[tags[]trim[]sort[]addsuffixjoin[]]"> >> <$button> make initial ~TagsOrder >><$action-setfield $tiddler="$:/config/TagsOrder" text=<> /> >> >> (note that the literal newline following lf=" is important) >> >> This outputs all the current tags, one per line, into the text field of >> $:/config/TagsOrder. You can then edit the tiddler to >> add/delete/re-arrange the tags to suit your needs. >> >> enjoy, >> -e >> T >> >> >> >> -- 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/b662ad22-0e3c-4dcb-9b41-6a88b3d174c6n%40googlegroups.com.
[tw5] A test post from GG
Just checking to see if posts to GG eventually wind up showing in TiddlyTalk. -- 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/58c4cfdc-efd1-4e4b-84b4-3ee648352482n%40googlegroups.com.
[tw5] Re: Posts should be now cross-posted to the Talk TiddlyWiki Discourse again
Well, this conversation is not getting updated over in TiddlyTalk. I will post a test here in Google Groups to see if it shows in TiddlyTalk. On Thursday, October 7, 2021 at 10:43:10 AM UTC-3 Charlie Veniot wrote: > Did that do anything? It does not look like this conversation in Google > Groups is showing over in TiddlyTalk, unless I'm missing something. > > On Thursday, October 7, 2021 at 12:48:33 AM UTC-3 bo...@fission.codes > wrote: > >> Rebooted the server once more, doing a test send. And it needs to be long >> enough. >> >> On Monday, October 4, 2021 at 10:41:38 PM UTC-7 Boris Mann wrote: >> >>> For those that are interested, it was related to an SSL / root >>> certificate that caused havoc all over the Internet. The Discourse team >>> made an update which appears to have fixed it. >>> >>> Further details / comments / questions in the meta thread here: >>> https://talk.tiddlywiki.org/t/seems-like-new-gg-posts-do-not-show-up-in-tiddlytalk/969/14 >>> >>> -- >>> >>> Boris Mann, Co-founder >>> >>> Fission: Fast app publishing for front end devs to ship web native apps >>> >> -- 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/aa4604ab-0769-4bef-b7ac-fb605272622an%40googlegroups.com.
[tw5] Re: Posts should be now cross-posted to the Talk TiddlyWiki Discourse again
Did that do anything? It does not look like this conversation in Google Groups is showing over in TiddlyTalk, unless I'm missing something. On Thursday, October 7, 2021 at 12:48:33 AM UTC-3 bo...@fission.codes wrote: > Rebooted the server once more, doing a test send. And it needs to be long > enough. > > On Monday, October 4, 2021 at 10:41:38 PM UTC-7 Boris Mann wrote: > >> For those that are interested, it was related to an SSL / root >> certificate that caused havoc all over the Internet. The Discourse team >> made an update which appears to have fixed it. >> >> Further details / comments / questions in the meta thread here: >> https://talk.tiddlywiki.org/t/seems-like-new-gg-posts-do-not-show-up-in-tiddlytalk/969/14 >> >> -- >> >> Boris Mann, Co-founder >> >> Fission: Fast app publishing for front end devs to ship web native apps >> > -- 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/0f3c5637-b694-48b4-bfa4-9ba502a92f45n%40googlegroups.com.