Folks,

If we place the following in a tiddler
{{TableOfContents||$:/core/ui/ViewTemplate}}
then open it in a new window we see we get the rest of the View Template 
elements
 
>From Mohammads Test example here 
<https://groups.google.com/d/msg/tiddlywiki/4q7unKvZ9uE/tu8Hh0vIEgAJ> 
{{Test-New-Win||$:/core/ui/ViewTemplate}}
We get what I think Mohammad was thinking

However with the prerelease we see the "View Template buttons" however many 
are not relevant any more. The close button will close the tiddler if and 
only if it is in the story, and not close the new window.

If you look at $:/core/ui/Buttons/open-window 
and https://tiddlywiki.com/?user=test#WidgetMessage%3A%20tm-open-window we 
see we have plenty of opportunity to set the template; Window title and 
size and more.

Placing `<<dumpvariables>>` in a tiddler and opening it in a new window, 
allows us to inspect what we have access to inside the window.

Opening a tiddler containing the following in a new window is interesting.

{{MyTiddler||$:/core/ui/ViewTemplate}}
Careful you can overwrite a tiddler with this.


Regards
Tony

On Tuesday, January 21, 2020 at 7:54:36 AM UTC+11, TonyM wrote:
>
> Folks,
>
> From this discussion 
> <https://groups.google.com/forum/?hl=en#!topic/tiddlywiki/4q7unKvZ9uE> re 
> Example 
> Empty Story message Tip we started discussing the "Open in New Window" and 
> different results.
>
> I and mohammad are interested in extending its use somewhat,
>
> This is a new thread to focus on Open in New Window; a few key points
>
>    - A Bug fix in 5.1.22 prerelease allows button Icons to be visible in 
>    open in new window
>    - Open in new window only renders the text field (Desirable feature 
>    for printing Tiddlers content)
>    - Open $:/core/ui/PageTemplate/story and open it in new window to see 
>    how multiple tiddlers with all viewtemplate elements can be seen
>    - Open in a table of contents in Open in new window and the window 
>    acts as a remote control for the main tiddlywiki tab, click a title and it 
>    opens in the story (useful on multiple screens).
>
> One thing to keep in mind is open in new window is only rendering the text 
> field of the tiddler. I depend on this to print specific tiddler content to 
> pdf as an example. We do not see the view template buttons etc. Perhaps it 
> is this which is giving apparently inconsistent results? we could easily 
> have alternate open in new window buttons that include extended elements. I 
> created a Move to new window button, works the same as open in new window, 
> but closes the tiddler in the story automatically.
>
> More to follow in this discussion;
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a2682969-a445-42e0-bed2-d29bddca1641%40googlegroups.com.

Reply via email to