Edit shadow tiddler

83 views
Skip to first unread message

vinvi...@gmail.com

unread,
Nov 11, 2020, 9:27:35 AM11/11/20
to TiddlyWiki
Hello,
I am using the plugin "Alternate tag fields".

When I paste this code in the text field:

<<EditTagLikeList ii-tags-special Tags>>

I get to see tags read from the field: "ii-tags-special" of that tiddler. The tags appear as a tag pill but without a drop down menu. (Wikified?) How can I make the drop down menu appear when I click on it?

Code from the shadow tiddler 
$:/plugins/inmysocks/GenericTagFields/template/EditTemplate/OtherTagFieldsEditTemplate



<$list
    filter='[prefix[$:/settings/AlternateTagFields/]!hide_in_edit_mode[true]]'
    variable=SettingsTiddler
>
    <$set
        name=FieldName
        filter='[<SettingsTiddler>get[fieldname]]'
    >
        <$set
            name=Wikify
            filter='[<SettingsTiddler>get[wikify]]'
        >
            <$set
                name=Label
                filter='[<SettingsTiddler>get[label]]'
            >
                <$macrocall
                    $name=EditTagLikeList
                    fieldName=<<FieldName>>
                    label=<<Label>>
                    wikify=<<Wikify>>
                />
            </$set>
        </$set>
    </$set>
</$list>




How do I adjust the above code? And can I change the code and just save it?

Thank you,

Jed Carty

unread,
Nov 12, 2020, 1:04:32 PM11/12/20
to TiddlyWiki
I haven't worked on the plugin for a while, but the new version is GenTags. I need to put up a demo site for it.

But to answer your question, making the tag pills in the edit interface act like the tags in the normal display interface takes editing more than the code you have written here. I am not sure how much work it would be but it isn't a simple drop-in thing.

For the other question, if you edit a shadow tiddler and save it the changed tiddler overrides the existing one, so yes you can just change the code and save it.

vinvi...@gmail.com

unread,
Nov 15, 2020, 9:25:17 AM11/15/20
to TiddlyWiki

Alternate tag fields is what I wrote, GenTags is what I meant..

 With the code below, the tags will appear and work properly. But then I miss the input / edit interface.

<$list filter='[tags:ii-tags-special[]]' template="$:/core/ui/TagTemplate" storyview="pop"/>

Maybe it is easier to transclude code {{||TiddlerWithCode}}?

Thanks,

Op donderdag 12 november 2020 om 19:04:32 UTC+1 schreef inmy...@gmail.com:
Reply all
Reply to author
Forward
0 new messages