Hi,
New to this and possibly missing something obvious.
How is it possible to manipulate tiddlers input fields?
eg
Change order, add, delete, and change names/titles.
Thanks!
Welcome here @knot_on
When you say “input fields”
Are you refering to the fields at the bottom of each tiddler when in edit mode and/or all fields in edit?
What you see in edit mode is determined by the edit template. One of the elements in the editor view template handles all other fields at the bottom, it currently does not handle field order.
- I have hacked this before and they best approach I found so far was too add a field called field-list containing field names and thier order on the current tiddler.
We can give you more guidence once you confirm what you want more clearly.
Hi.
Many thanks. Apologies for the cloudy clarity.
By new tiddler input fields i talk about:
Subject/Tiddler-Name field
then we get the tags field
under that we get the content field.
Suppose I want to re-order these fields with the tags coming above the name. Or maybe create new input fields like links, or dataset, etc.
The question is only about the input fields that come across all tiddlers in a single tiddlywiki file.
Hopefully clearer.
Cheers and thanks!
Place the following in a tiddler <<tag $:/tags/EditTemplate>>
Click on the resulting tag pill, at the bottom is a list of all items that appear on the edit template, if you drag and drop items into a different order, every tiddler will display with the new order.
- Eg drag tags above the title (The buttons are inside the title)
Make backups in case you break your wiki.
to build off this, if you add that tag $:/tags/EditTemplate
to your own tiddler it will show up as an input field in edit mode. likewise $:/tags/ViewTemplate
is the same but for view mode.
Many thanks!
I seem to get something wrong probably…
For example:
Looking at a tiddler main text input field, where we type the content body - I thought to have 3 such input fields.
Simply copying the current code and pasting 3 times*, doesn’t do it.
The system takes the content body input field as a single item. (ie, what gets written in one field, will get copied to the other 2…)
Any pointers to where i keep going wrong?
The code:
$:/core/ui/EditTemplate/body
$:/tags/EditTemplate
<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers][$:/tags/EditTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/EditTemplate/body/default]] coreuibodydefault end }}} />
- I the idea of 3 text fields comes here for:
One for a Theory.
Another for a proof.
Another for an attempted disproval.
Cheers!