Shiraz 2.3.1 new update supports Node Explorer (bidirectional links)

412 views
Skip to first unread message

Mohammad Rahmani

unread,
May 19, 2021, 2:43:32 PM5/19/21
to tiddl...@googlegroups.com
Node Explorer is a dynamic table that appears at the bottom of the current tiddler, displaying linksbacklinks and tagging of that tiddler. This is based on the Zettelkasten method recently implemented in Tiddlywiki by Soren Bjornstad (see https://zettelkasten.sorenbjornstad.com/)

The new update of Shiraz 2.3.1 adds a new template to its collection of dynamic table templates, let's use it for creating a Node Explorer to show links/backlinks/tagging of current tiddler.
You can also use details/slider macro in Shiraz to hide the Node Explorer on demand!



It is highly recommended to backup your data before trying any new plugin! Do it before installing shiraz.


If you like Shiraz star it at  https://github.com/kookma/TW-Shiraz


img_174_chrome.png

si

unread,
May 19, 2021, 4:55:45 PM5/19/21
to TiddlyWiki
Great stuff, thanks Mohammad. I will have to spend some time playing with column templates to see how they work.

Unrelated question: Is there a way to change the orientation of dynamic table? I.e. list the fields as rows instead of columns.

Mohammad Rahmani

unread,
May 19, 2021, 11:36:11 PM5/19/21
to tiddl...@googlegroups.com
On Thu, May 20, 2021 at 1:25 AM si <matthew...@gmail.com> wrote:
Great stuff, thanks Mohammad. I will have to spend some time playing with column templates to see how they work.

Unrelated question: Is there a way to change the orientation of dynamic table? I.e. list the fields as rows instead of columns.
Yes! Thereis a solution by  pubmania   here: https://github.com/kookma/TW-Shiraz/issues/8#issuecomment-652531084 

image.png




On Wednesday, 19 May 2021 at 19:43:32 UTC+1 Mohammad wrote:
Node Explorer is a dynamic table that appears at the bottom of the current tiddler, displaying linksbacklinks and tagging of that tiddler. This is based on the Zettelkasten method recently implemented in Tiddlywiki by Soren Bjornstad (see https://zettelkasten.sorenbjornstad.com/)

The new update of Shiraz 2.3.1 adds a new template to its collection of dynamic table templates, let's use it for creating a Node Explorer to show links/backlinks/tagging of current tiddler.
You can also use details/slider macro in Shiraz to hide the Node Explorer on demand!



It is highly recommended to backup your data before trying any new plugin! Do it before installing shiraz.


If you like Shiraz star it at  https://github.com/kookma/TW-Shiraz


img_174_chrome.png

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/54e5cbcc-b0d3-439a-af54-02e11055a704n%40googlegroups.com.

謝佩琪

unread,
May 20, 2021, 3:04:52 AM5/20/21
to TiddlyWiki
Great feature!
Thank you very much!


Is there any way to hide and show the list?
Because some tiddlers have many links, and it is very long

Thanks!
Mohammad 在 2021年5月20日 星期四上午11:36:11 [UTC+8] 的信中寫道:

Mohammad Rahmani

unread,
May 20, 2021, 3:42:50 AM5/20/21
to tiddl...@googlegroups.com
Sure, use the attached viewtemplate which

1. uses a background color (alert-secondary) change if you do not like it or remove the class to use plain form
2. show on demand (by default it is hidden, use status parameter of details macro to change initial status)

NOTE: The hide/show content uses details macro from Shiraz! It is highly customizable! Customize feel and look! Use any Shiraz classes!
<$macrocall 
  $name=details 
  label="Node Explorer"
  status=""
  labelClass="alert alert-secondary py-1 my-2"
  srcClass  ="alert border-secondary py-0"
  src=<<dispExplorer>>
  />

img_180_%pn.gif


Best wishes
Mohammad


$__plugins_kookma_viewtemplates_node-explorer.json

謝佩琪

unread,
May 20, 2021, 5:16:43 AM5/20/21
to TiddlyWiki
It's work!

I'm not good at macro & filter 😓️
Thanks for your help!

Mohammad 在 2021年5月20日 星期四下午3:42:50 [UTC+8] 的信中寫道:

Odin

unread,
May 20, 2021, 10:55:58 AM5/20/21
to TiddlyWiki
@Mohammad,

How did you include that codeblock with coloring inside your post like that!?
Google groups does have some text styling options, but it is missing codeblocks for me.

Op donderdag 20 mei 2021 om 11:16:43 UTC+2 schreef 謝佩琪:

Mohammad Rahmani

unread,
May 20, 2021, 11:25:14 AM5/20/21
to tiddl...@googlegroups.com
Hi Odin,
 If you copy paste from TW itself or another editor, Google group will keep the formatting!


Best wishes
Mohammad


si

unread,
May 20, 2021, 12:02:11 PM5/20/21
to TiddlyWiki
>>> Yes! Thereis a solution by  pubmania   here: https://github.com/kookma/TW-Shiraz/issues/8#issuecomment-652531084 

Thanks!

Paul Hampshire

unread,
Aug 4, 2021, 12:54:36 PM8/4/21
to TiddlyWiki
Is there a way to have Node Explorer include links that are in custom fields in tiddlers? 

Mohammad Rahmani

unread,
Aug 4, 2021, 1:17:14 PM8/4/21
to tiddl...@googlegroups.com
Yes, it is possible!

hack the $:/plugins/kookma/viewtemplates/node-explorer
and search the fields containing the links (use regexp)! Note that right now the dynamic table cannot display a correct type for links in the fields, but you may hide the type!

I myself like simplicity, so for me the text field is enough to be scanned!


Best wishes
Mohammad


ludwa6

unread,
Aug 7, 2021, 9:13:30 AM8/7/21
to TiddlyWiki
Having just upgraded from v2.2.2 of Shiraz to latest 2.3.4 (/note to self: keep more abreast of news from @Mohammad!), i am keen to enjoy all the benefits... But, following the excellent tutorial, it seems that the last option in Shiraz configuration control panel- "Show switch palette on page controls" -is missing from my installation.  Have saved and restarted my TW  instance (a single-file version) several times, but it makes no difference.   Can anyone can suggest a fix or plausible theory of cause?

/walt

Mohammad Rahmani

unread,
Aug 7, 2021, 2:47:59 PM8/7/21
to tiddl...@googlegroups.com
Hi Walt,
 Make sure that: The Switch Colours button in the sidebar/Tools is selected!


(side note: I should use the same caption for the same button in different location! ;-) )


Best wishes
Mohammad


ludwa6

unread,
Aug 7, 2021, 4:18:31 PM8/7/21
to TiddlyWiki
The "Switch Colours" button was already activated, @Mohammad... So i cycled it off and on again, but still it has made no difference. 
Is there anything else i might try to activate the feature?

/walt

Mohammad Rahmani

unread,
Aug 7, 2021, 11:53:19 PM8/7/21
to tiddl...@googlegroups.com
Walt,
 No there is nothing else! I recommend checking this on the new empty Tiddlywiki to see if the issue is related to Shiraz or your Tiddlywiki!
 My test shows Shiraz works as expected! 

Best wishes
Mohammad


ludwa6

unread,
Aug 8, 2021, 6:06:57 AM8/8/21
to TiddlyWiki
Of course you are right, @Mohammad : it works on a clean install of current version from tiddlywiki.com... Even when loaded in TiddlyDesktop browser, which is my default.  I had thought TD might have been the culprit, but no... So i am left w/o any theory of cause, and having to rebuild my wiki on this new foundation, in order to enjoy Shiraz in all its glory.  (wouldn't do this for just any plugin, but i'll make an exception in this case, because Shiraz is pretty amazing, Mohammad -kudos to you!)

/walt


On Sunday, August 8, 2021 at 4:53:19 AM UTC+1 Mohammad wrote:
Walt,
 No there is nothing else! I recommend checking this on the new empty Tiddlywiki to see if the issue is related to Shiraz or your Tiddlywiki!
 My test shows Shiraz works as expected! 

Best wishes
Mohammad


On Sun, Aug 8, 2021 at 12:48 AM ludwa6 <wlud...@gmail.com> wrote:
The "Switch Colours" button was already activated, @Mohammad... So i cycled it off and on again, but still it has made no difference. 
Is there anything else i might try to activate the feature?

/walt

On Saturday, August 7, 2021 at 7:47:59 PM UTC+1 Mohammad wrote:
Hi Walt,
 Make sure that: The Switch Colours button in the sidebar/Tools is selected!


(side note: I should use the same caption for the same button in different location! ;-) )


Best wishes
Mohammad


On Sat, Aug 7, 2021 at 5:43 PM ludwa6 <wlud...@gmail.com> wrote:
Having just upgraded from v2.2.2 of Shiraz to latest 2.3.4 (/note to self: keep more abreast of news from @Mohammad!), i am keen to enjoy all the benefits... But, following the excellent tutorial, it seems that the last option in Shiraz configuration control panel- "Show switch palette on page controls" -is missing from my installation.  Have saved and restarted my TW  instance (a single-file version) several times, but it makes no difference.   Can anyone can suggest a fix or plausible theory of cause?

/walt
...
Reply all
Reply to author
Forward
0 new messages