Folks,

In my Quest for even simpler and smoother solutions for naive users and 
enthusiasts alike, I would like to share a recent discovery. At some point 
it should be documented somewhere else.

*Using Multiple Wikis - Open in same tab*

Pre-condition: If your wikis autosave changes, if you make changes these 
should be saved before you leave any tab containing a wiki. Thus when you 
return to that tab there is no harm if it reloads automatically (and will 
not loose previous updates), unless it is very big and too slow for this.

*Use case*:
If you have multiple wikis you may often want to store a link in one wiki 
that refers to a tiddler in another wiki. However you soon discover that 
every link is likely to open that wiki a second and third time in a new 
tab. Your browser quickly gets messy and you have to perform a tab closure 
process, whenever it is no longer needed. Unless you are using Bob for 
multi-access to all your wikis, there is a real risk changes in one tab 
will write over changes in another tab, making it even more important to be 
careful.

*My first work around.*
To avoid this I tend to open all my regular wikis in the FireFox browser 
and Pin the tabs, when I see a link to another wiki, I go to the relevant 
tab and search for the tiddler, that is I cant use the link because it 
would just open another tab and there is a real risk changes in one tab 
will write over changes in another tab.

*My Discovery*

Using html links as follows
 <a href="https://tiddlywiki.com/#Filter%20Operators"; 
target="_blank">TiddlyWiki 
Filter Operators</a>

Some of you will be familiar with the target= and its common values

   - _blank - Opens the linked document in a new window or tab 
   - _self - Opens the linked document in the same window/tab as it was 
   clicked (this is default) 
   - _parent - Opens the linked document in the parent frame 
   - _top - Opens the linked document in the full body of the window

*But I have until now myself missed the additional item*

   - *framename* - Opens the linked document in a named frame

Basically this allows us to name the frame or Tab in our browser in which 
to open the link

* <a href="https://tiddlywiki.com/#Filter%20Operators"; 
target="TiddlyWiki.com">~TiddlyWiki Filter Operators</a>
* <a href="https://tiddlywiki.com/#SavingMechanism"; 
target="TiddlyWiki.com">~TiddlyWiki ~SavingMechanism</a>
* <a href="https://tiddlywiki.com/"; 
target="TiddlyWiki.com">~TiddlyWiki.com</a>
Note: I have stopped wikification of camel case in the display title, 
otherwise they tend to open tiddlers not the link. You could use the text 
widget to return plain text.


   - Using the above you will see each link will open the same tab in the 
   browser, if you use a target name of your different wikis names all links 
   sharing the same target will open in the same tab.
   - Using this method you can open wikis just in time, from a Directory 
   wiki, not have a messy list of tabs with the same wiki and the potential to 
   save over a change in another tab.
   - If you open a directory tiddler in a new Window with links to tiddlers 
   using the same target=wikiname the browser will change to that tab and open 
   the selected tiddler. 


*note: *If you tabs are pinned it will not recognise the tab name, and 
bookmarks seem to ignore the target value.

Please provide feedback so others know if this is a helpful tip or not.

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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d8f058db-f9b7-462c-8a28-135828375f4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to