I am creating a wiki with a set of buttons defined on various ViewTemplates. This worked OK until this afternoon, displaying the required buttons only on my data tiddlers.
However, I am now seeing three of the buttons displayed on all tiddlers I open, including system tiddlers.
With most view template items wrapping the whole lot in a conditional list with a named variable is the way to do it. Don’t be shy using nested lists, they are great;
<$list filter="[all[current]!is[system]]" variable=nul>
all your above code here will show only on non system tiddlers
</$list>
These conditional filters usually operate on something about the current tiddler.
I see you code jumps strait into the filter about tags, you make no attempt to exclude non-system tiddlers.
Finally when you see something displaying when it should not it can often be because part of you filter this throwing a different result to what you think, or a variable resolves to empty/blank or zero.
We’re at a disadvantage not being able to see your actual code and data. My guess is that you cloned a tiddler and now there are two templates being applied.
On another note, I don’t think this will do what you’re hoping it to do:
after considering all your comments about lists etc, I reviewed my four viewtemplates and found one that had the button statements outside of a list loop. Not sure how this happened but putting the loop correctly, all extraneous buttons disappeared.
Thank you for helping to focus my thoughts.
Now to go on and further consider specific comments about my list statements and most likley amend from one more complex to two or more simpler ones.