Apply core viewtemplate for tiddler body only to certain tiddlers

<$reveal tag="div" class="tc-tiddler-body" type="nomatch" stateTitle=<<folded-state>> text="hide" retain="yes" animate="yes">

<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/body/default]] }}} />

</$reveal>

This is the $:/core/ui/ViewTemplate/body. How to modify it so that it’s applied only to system tiddlers , shadow tiddlers and to tiddlers with certain tags or fields.

Hi @arunnbabu81

If you want to disable the view template body for certain tiddlers then you need to modify the cascade, not the view template body tiddler itself.

Have a look at the view template body cascade in the control panel Info → Advanced → Cascades tabs. By default there’s an entry $:/config/ViewTemplateBodyFilters/hide-body that hides the view template body for tiddlers that have a hide-body field set to yes. You can create a similar rule that uses different conditions.

https://tiddlywiki.com/#View%20Template%20Body%20Cascade:Cascades%20[[View%20Template%20Body%20Cascade]]

I want to hide the view template body by default and show it only if there is a field TheBrain set to no

Is this the correct way to do it?

Please see How to create a viewtemplate to float the TheBrain (echarts) to the right of tiddler text field using Shiraz/flexgrid/autolayout-with-image - #12 by TW_Tones

I have noticed you are starting new topics about the same issue. It is getting more complex than need be.