How to display Text after ViewTemplate is applied?

Currently when you apply the tag $:/tags/ViewTemplate to a tiddler, it will be applied to a subset of tiddlers.

Tiddler: $:/user/viewtemplate/database

<$list filter="[is[current]tag[Database]]">

!! <$view field="caption"/>

|!Type|<$view field="db_type"/>|
|!Host|<$view field="db_host"/>|
|!Port|<$view field="db_port"/>|
|!Schema|<$view field="db_schema"/>|

</$list>

Tiddler: mySQL Database
Tags: $:/tags/ViewTemplate
Text: > Important Note


How It’s Displayed

> Important Note

!! Database Caption

| Type | example |
| Host | example |
| Port | 1234 |
| Schema | example |

The Question

The ViewTemplate is applied after the text of the Tiddler is rendered. Is there any way to display the ViewTemplate first and then any content in the text of the Tiddler after?

For Example:

!! Database Caption

| Type | example |
| Host | example |
| Port | 1234 |
| Schema | example |

> Important Note
  • Go to any tiddler that is tagged with $:/tags/ViewTemplate and click on the “tag pill” for $:/tags/ViewTemplate
  • A dropdown list of all the tagged tiddlers is displayed (this includes the standard TWCore view template pieces)
  • You can drag-and-drop the items in that list to change the order in which they are rendered

enjoy,
-e

2 Likes

Wow, that was easy. Thank you very much.