On 28 Mar 2017, at 17:25, Jeff Vance <[email protected]> wrote:

> I put the following in several tiddlers as a shortcut to the "New Here" 
> button.  I didn't want to put it permanently in the toolbar, but these 
> particular tiddlers generate index table of tiddlers tagged with this one. So 
> I thought it would be convenient to put a "New Here" icon at the bottom of 
> the table.  
> 
> {{||$:/core/ui/Buttons/new-here}}
> 
> This works, but I noticed that if I Pop-Out this tiddler into a new window, 
> the icon doesn't appear.  I can still click in that spot and it acts as if 
> the icon is there, but I can't see it.  Any ideas why this happens and how to 
> fix it?


The reason that nothing is appearing is because the toolbar buttons require the 
variables tv-config-toolbar-icons and tv-config-toolbar-text to control whether 
the text and or the icon is displayed. You can use them like this:

<$vars tv-config-toolbar-icons="yes">
{{||$:/core/ui/Buttons/new-here}}
</$vars>

> I suppose you mean the tiddler toolbar command: "Open in new window" 
> 
> This command renders the tiddler content and opens it in a new tab. That's 
> it. 
> There is no js code. So this tiddler is a "static" representation of the 
> tiddler. ... It has no idea about other tiddlers. 

That is actually not correct. The windows opened by the “Open in new window” 
toolbar button are fully functional wikitext windows. The reason that some 
things don’t work in that context is generally because the new window doesn’t 
use the full page template, and thus omits some initialisation present in the 
main window.

Best wishes

Jeremy.


> 
> That's the intended behaviour. 
> 
> eg: 
> 
> This is a test: {{||$:/core/ui/Buttons/new-here}}
> 
> creates: 
> 
> <html>
>   <head>
>     <style>...a lot of tw CSS...</style>
>     <title>New Tiddler</title>
>   </head>
>   <body class="tc-body tc-single-tiddler-window">
>     <p>This is a test: <button class="" title="Create a new tiddler tagged 
> with this one" aria-label="new here"></button>
>     </p>
>   </body>
> </html>
> 
> Since the CSS is exported, it's possible to see the content in a formatted 
> way. ... But there is no interaction. 
> 
> have fun!
> mario
> 
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/57e2850f-f9e4-4fd5-a38b-f6cf1b7dd497%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/57e2850f-f9e4-4fd5-a38b-f6cf1b7dd497%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 post to this group, send email to [email protected].
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/E5EA8ABD-604D-4CD4-A01D-8808A1802C9B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to