I am trying to create a TiddlyWiki which feels a bit more wiki-like. I’ve managed to move the tag pills down to the bottom of each tiddler, similar to categories on MediaWiki. Now I’d like to hide the modified-date from the tiddler titles so that it doesn’t show there. I’m sure that this will just be something simple that I’ve forgotten how to do. I tried searching first, but couldn’t find an answer myself.
The following tiddlers are where to look, sounds like you know the rest.
$:/core/ui/ViewTemplate/subtitle
$:/language/Tiddler/DateFormat
Interested to know if you have altered where in the layout tags are displayed when you are in edit mode.
Ah, I was in the right place then with $:/core/ui/ViewTemplate/subtitle. I guess I should just override it with a blank tiddler. Is that how it is done?
EDIT: Overriding with a blank tiddler worked. Thanks!
No, I haven’t been too concerned yet about modifying the edit mode, as I am not anticipating getting too many editors / contributors to the wiki from amongst our player community, but hopefully there will be plenty of viewers / readers of the wiki as a community-made resource. I will be directing anyone who wants to contribute to the wiki to this Discourse group and other TiddlyWiki learning resources. I even have a tiddler stub ready to populate in my wiki, intended for containing such helpful information about TW5, for members of our player community who may not be familiar with TW5 itself.
I am looking only at my modified version of this tiddler I cannot off hand recall the original content BUT I would personally be thinking more of commenting out the following lines or their equivalent.
<$link to={{!!modifier}} />
<$view field=“modified” format=“date” template=…
I tend to prefer even in a system tiddler over-ride to keep some of the original meaning there even if commented out but that’s just personal preference.
In my case I over-rode this tiddler to display both the modified and created dates but still displaying in the original place.
I keep one tiddler in my Tiddlywiki which details a brief description of the system over-rides I have made! Otherwise I end up back on this forum saying “why is this like this?” and forgetting the answer lies with me!
The new tag $:/tags/ViewTemplate/Subtitle is used to add items to the subtitle.
Use <<tag $:/tags/ViewTemplate/Subtitle>>
to see the tag pill.
- click on the pill and your will see it tags $:/core/ui/ViewTemplate/subtitle/modifier
- Open $:/core/ui/ViewTemplate/subtitle/modifier and remove the tag
- Nothing will be tagged to show on the subtitle.
You can use the tag-macro and drag & drop move /tags
and /subtitle
to the bottom of the list as shown in the screenshot.
<<tag "$:/tags/ViewTemplate">>
some more empty lines too see the dropdown
This can be accomplished using css without modifying any core tiddlers:
Tag a tiddler with the $:/tags/Stylesheet
tag; with contents:
.tc-subtitle {display: none;}
Its great to share different ways to do this but by using or removing the tag(s) $:/tags/ViewTemplate/Subtitle
it is the official method to configure this. By choosing to use this method, a future you or others will at least find how it was changed.
- similarly add a condition inside each element.
- if you add something that needs a subtitle it will appear.