On Dec 19, 7:47 am, Lluis Sasplugas <elnoi...@gmail.com> wrote:
> Hi All,
> I'm using matchTags Plugin with %3 *substitution marker* to generate a list
> of tiddlers. Each tiddler tittle is inside the text together with the
> <<view title>> macro. It seems that matchTags does not renderize <<view
> title>>.
> Is it possible to solve this?
The output of MatchTagsPlugin *is* wikified. However, the TWCore's
<<view>> macro *only* allows reference to fields in the *current*
tiddler. Thus, while you are embedding <<view title>> in the wikified
output of each matched tiddler, the macros contained in each tiddler's
source will not be processed in the *context* of the tiddler in which
it is stored. In fact, because MatchTagsPlugin generates output
assembled from multiple matching tiddlers, it is actually rendered
without *any* specific tiddler context. As a result, any macro that
relies upon the current tiddler (e.g., the <<view>> macro) does not
produce any output at all.
Note that there are many other macros that are not tiddler-context
dependent (e.g., <<today>>, <<tabs>>, <<slider>>, etc.), and these
macros *do* render in the MatchTagsPlugin-generated output.
Fortuanately, for your use-case, there may be a reasonable
alternative: try using the "%0" (tiddler title) substitution marker in
your <<matchTags>> macro, like this:
<<matchTags "%0" ...>>
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----
TiddlyTools needs YOUR financial support...
Help ME to continue to help YOU...
make a generous donation today:
http://www.TiddlyTools.com/#Donations
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact