>
> I'm thinking about this: I'd prefer something like ", included from .... 
> (refresh)" (where "refresh" is the output of the <<reloadIncluded>> macro), 
> but it seems that this can't be hijacked elegantly. Of'course one can 
> hijack the view macro like it's done to the edit macro already and add the 
> desirable info/macros, but simple options (add before or after the viewer 
> area) don't look very nice. May be adding toolbar commands would be better, 
> but I still haven't learned how to use the popup interface, especially in 
> the toolbar. What do you think?
>

Personally, I think a simple macro call I add to the ViewTemplate wherever 
I like is just fine.
Perhaps it would only render anything show when a tiddler is actually 
included.

If you ask me, there's no need for popups. They can even be CSS only, or 
added before or inside the toolbar div as a pseudo-toolbar button. No need 
for a bunch of code for "the real deal", imho. If you want that, just take 
a look at how some core toolbar buttons are implemented.

To me it's as simple as...
<<include info>>

or...

<div class="include-info-wrapper" macro="include info"></div>

   - outputs info when actually included
   - using something like config.macros.include.fmtInfo.format([detail1, 
      detail2, detail3]);
   - styling => css

Seeing your example macro for the css stuff above, especially *getIncludeURL
* the this can be easily done then in a bout 10 minutes ;-)

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to