Hi everyone
Thanks to help from Flibbles today, I got the Subsume plugin to work with the Relink plugin again. Get version 1.0.2 at The Subsume Plugin — Turn links into sliders!.
Hi everyone
Thanks to help from Flibbles today, I got the Subsume plugin to work with the Relink plugin again. Get version 1.0.2 at The Subsume Plugin — Turn links into sliders!.
Dave, that is great news! Thank you very much for your Plug in! It is currently one of my most important plugins and heavily use it every day!
How do I update my first version of the Plugin? I did the extra steps back then with the relink plugin.
Can I just drag and drop the new version to my wiki it should I uninstall the old version including maybe Relink first?
Thanks!
Delete the old version of subsume plugin. Save and refresh your wiki and then drag and drop the new version to your wiki. Save and refresh.
Hello Dave,
very nice plugin - thanks a lot!
Can you add keyboard shortcut functionallity for “subs” and “subs-e”?
Thanks
@StS
Have you tried subsume with edit-comptext? I find that quicker and save us from miss spelling the tiddler title we want to use with subsume.
If you still want keyboard shortcuts it is absolutely possible How to create keyboard shortcuts
I find the difficulty is in finding shortcuts that are not in use already for something else.
Hi Stefan
I think keyboard shortcuts for Subsume need to be user-specific, as other plugins’ keyboard shortcuts, and shortcuts the user created for other items, could interfere. See the link Birthe sent you, I think that is a better way to go. Sorry!
Have you tried subsume with edit-comptext?
Very good hint!
Thanks Birthe, thanks Dave 
Successfully implemented - like it!
Hello @DaveGifford,
Hello forum,
I’d like to add
<span style="font-size: 1.6em; color: rgb(204, 204, 255);"> for tiddler name
template="$:/core/ui/ListItemTemplate_published" to the subsume macro Preformatted text
(this template contains <span style="font-size: 0.7em; color: rgb(144, 238, 144)"> <$view field="published" format="date" template="DD. MMM YYYY"/></span>)
It should look like this:

code of the macro: $:/plugins/giffmex/subsume/macro/:
\define subsume(tid:"") <details><summary><$view tiddler=<<__tid__>> field="caption"><$view tiddler=<<__tid__>> field="title"/></$view><$link to="$tid$"><$button class="tc-btn-invisible-subs" tooltip="Tiddler öffnen">^^{{$:/core/images/info-button}}^^</$button></$link> </summary><span class="indent1"><$transclude tiddler="$tid$" field="text" mode="block"/></span></details>
Thanks,
Stefan
Hi Stefan
I don’t plan to make changes to the subsume macro official site based on specific requests by users unless there is a bug. Are you asking how to make these changes to your version?
Yes, it is only for my wiki and I need support with the coding.
Thx, Stefan
oh okay. I am trying to understand your request, which has a lot of parts to it.
$:/plugins/giffmex/subsume/stylesheet1. This is in preparation for the snippet at the bottom.html body.tc-body .stefantitle {font-size: 1.6em; color: rgb(204, 204, 255);}
html body.tc-body .stefanpublished {font-size: 0.7em; color: rgb(144, 238, 144)}
As for the rest, I am not sure what you mean:
Your “template” is a list item template, which presumes a list. But there is no list widget anywhere in my subsume macro or in your description of what you wanted. So that leaves me confused.
Also, can you explain what you mean by “subsume macro preformatted text”? I am guessing you mean in the summary part of the HTML details element.
Here is what I am guessing you want, based on the image you included:
Here is what you can place in the $:/plugins/giffmex/subsume/macro/ tiddler. Note I am skipping the template for the view widget and just placing it in the subsume macro itself.
\define subsume(tid:"") <details><summary><span class="stefantitle"><$view tiddler=<<__tid__>> field="caption"><$view tiddler=<<__tid__>> field="title"/></$view></span><$link to="$tid$"> <span class="stefanpublished"><$view tiddler=<<__tid__>> field="published" format="date" template="DD. MMM YYYY"/></span> <$button class="tc-btn-invisible-subs" tooltip="Tiddler öffnen">^^{{$:/core/images/info-button}}^^</$button></$link></summary><span class="indent1"><$transclude tiddler="$tid$" field="text" mode="block"/></span></details>
Give that a try!
This works perfect - thanks.
I also tried to adapt the $:/plugins/giffmex/subsume/macro/subsume-edit:
There is something wrong in the coding:
\define subsume-edit(tid:"") <details><summary><span class="stefantitle"><$tiddler tiddler="$tid$"><$view field="caption">{{!!title}}</$view></span><span class="stefanpublished"> <$view field="published" format="date" template="DD. MMM YYYY"/></span></$tiddler><$button class="tc-btn-invisible-subs" tooltip="Tiddler bearbeiten"><$action-sendmessage $message="tm-edit-tiddler" param="$tid$"/>^^{{$:/core/images/edit-button}}^^</$button></summary><span class="indent1"><$transclude tiddler="$tid$" field="text" mode="block"/></span></details>
Any idea?
Thx, Stefan
You open a <$tiddler> widget between a <span> and a <$view>, so you must close them in inverse order: </$view></$tiddler></span>.
Looking at your code once more, I think the solution is to move the opening <$tiddler> tag just after the opening <summary> tag:
\define subsume-edit(tid:"") <details><summary><$tiddler tiddler="$tid$"><span class="stefantitle"><$view field="caption">{{!!title}}</$view></span><span class="stefanpublished"> <$view field="published" format="date" template="DD. MMM YYYY"/></span></$tiddler><$button class="tc-btn-invisible-subs" tooltip="Tiddler bearbeiten"><$action-sendmessage $message="tm-edit-tiddler" param="$tid$"/>^^{{$:/core/images/edit-button}}^^</$button></summary><span class="indent1"><$transclude tiddler="$tid$" field="text" mode="block"/></span></details>
Fred
This looks fine:

but clicking on edit will open the current tiddler and not “Lorem”
Changing param=... to $param=... should do the trick…
You had turned view widgets into tiddler widgets. Try this.
\define subsume-edit(tid:"") <details><summary><span class="stefantitle"><$view tiddler=<<__tid__>> field="caption"><$view tiddler=<<__tid__>> field="title"/></$view></span> <span class="stefanpublished"><$view tiddler=<<__tid__>> field="published" format="date" template="DD. MMM YYYY"/></span></$view> <$button class="tc-btn-invisible-subs" tooltip="Tiddler bearbeiten"><$action-sendmessage $message="tm-edit-tiddler" $param="$tid$"/>^^{{$:/core/images/edit-button}}^^</$button></summary><span class="indent1"><$transclude tiddler="$tid$" field="text" mode="block"/></span></details>
This may be overkill depending on your current knowledge, but it is a long messy code, so here are the components separated and labeled for you to see what the functions are:
DETAILS A
The piece that tells TiddlyWiki that this is a macro. \define subsume-edit(tid:"")
Opening tag for the HTML details element <details>
Opening tag for the summary section of the details element <summary>
SHOW TITLE
Opening tag of the style for titles, which runs off the code you added to the stylesheet tiddler. <span class="stefantitle">
Shows the title of the tiddler indicated by the macro call, and if the tiddler has a caption, that will be shown. <$view tiddler=<<__tid__>> field="caption"><$view tiddler=<<__tid__>> field="title"/></$view>
Closing tag for the style for titles </span>
Three white spaces
SHOW PUBLISHED FIELD
Opening tag of style for the published field <span class="stefanpublished">
Shows the published field of the tiddler indicated by the macro call <$view tiddler=<<__tid__>> field="published" format="date" template="DD. MMM YYYY"/></$view>
Closing tag of the style for the published field </span>
Another white space
SHOW EDIT BUTTON
Opening tag for button <$button class="tc-btn-invisible-subs" tooltip="Tiddler bearbeiten">
Specifies the action of the button: <$action-sendmessage $message="tm-edit-tiddler" $param="$tid$"/>
Label for the button ^^{{$:/core/images/edit-button}}^^
Closing tag for the button </$button>
DETAILS B
Closing tag for the summary section of the details element </summary>
Style so the details of the details element are indented <span class="indent1">
Widget to transclude the text of the tiddler inside the details element <$transclude tiddler="$tid$" field="text" mode="block"/>
Closing tag of the indent style </span>
Closing tag of the details element </details>
Thanks @tw-FRed this works fine! 

correct code:
\define subsume-edit(tid:"") <details><summary><$tiddler tiddler="$tid$"><span class="stefantitle"><$view field="caption">{{!!title}}</$view></span><span class="stefanpublished"> <$view field="published" format="date" template="DD. MMM YYYY"/></span></$tiddler><$button class="tc-btn-invisible" tooltip="Tiddler bearbeiten"><$action-sendmessage $message="tm-edit-tiddler" $param="$tid$"/>^^ {{$:/core/images/edit-button}}^^</$button></summary><span class="indent1"><$transclude tiddler="$tid$" field="text" mode="block"/></span></details>
this will look like

solution from @tw-FRed works fine.
Thank you very much for supporting me in my wishes!
