wow! :-D - it works! thank YOU, Matt! :-)

i hope that i some day could come up with such tiddlywiki magic... TW5 is
fantastic! :-)

https://www.youtube.com/watch?v=y6Sxv-sUYtM
(link to "Happy, Pharrell Williams")

/ch

ps. cosmetic change request : can i have the title in the same color as the
default title color, as well...? :-)


2016-08-19 17:31 GMT+02:00 Matthew Lauber <[email protected]>:

> Yeah, I tried to export 3 changes, but becuase 2 of them were blanking
> files, they didn't get exported.  The .json file will work better for you,
> but I didn't realize you wanted the title to not be editable.  I've
> attached another file, that fixes just the title.  To clarify, you'll need
> both the tiddlers.json file and the title.tid file attached to this.
>
> Matt
>
> On Friday, August 19, 2016 at 11:21:43 AM UTC-4, ch wrote:
>>
>> wait matthew! ...something strange is going on here... when i read your
>> e-mail from web based Gmail, it says that the file is "tiddlers.tid" - but,
>> when i visit this discussion on the web, i.e.
>> https://groups.google.com/d/msgid/tiddlywiki/95a4e852-961f-
>> 444d-8515-d2d66e141e8c%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/95a4e852-961f-444d-8515-d2d66e141e8c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>
>> ...it says that the file is "tiddlers.json"...?
>>
>> - i will try that json file as well... hold on!
>>
>> thanks!
>>
>> /christian
>>
>>
>> 2016-08-19 17:11 GMT+02:00 ch <[email protected]>:
>>
>>> wow! that's great matthew!
>>>
>>> i added the tiddler, and the "tags" are now not editable (as requested).
>>> But, no other visible change (what i can see) in edit mode. The title is
>>> still editable, and the fields are also visible.
>>>
>>> i only see this tiddler (see below) in the file you attached - did you
>>> forgot to include some others that will do the rest of the "magic" (i.e.
>>> make the title not editable, and not showing any fields below the "text"
>>> field at all)?
>>>
>>> - your help is really appreciated, thanks!
>>>
>>> /christian
>>>
>>>
>>> created: 20160819144245166
>>> modified: 20160819144315044
>>> tags: $:/tags/EditTemplate
>>> title: $:/core/ui/EditTemplate/tags
>>>
>>> \define lingo-base() $:/language/EditTemplate/
>>> \define tag-styles()
>>> background-color:$(backgroundColor)$;
>>> fill:$(foregroundColor)$;
>>> color:$(foregroundColor)$;
>>> \end
>>> \define tag-body-inner(colour,fallbackTarget,colourA,colourB)
>>> <$vars foregroundColor=<<contrastcolour target:"""$colour$"""
>>> fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$"""
>>> colourB:"""$colourB$""">> backgroundColor="""$colour$""">
>>> <span style=<<tag-styles>> class="tc-tag-label">
>>> <$view field="title" format="text" />
>>> <$button message="tm-remove-tag" param={{!!title}}
>>> class="tc-btn-invisible tc-remove-tag-button">&times;</$button>
>>> </span>
>>> </$vars>
>>> \end
>>> \define tag-body(colour,palette)
>>> <$macrocall $name="tag-body-inner" colour="""$colour$"""
>>> fallbackTarget={{$palette$##tag-background}}
>>> colourA={{$palette$##foreground}} colourB={{$palette$##background}}/>
>>> \end
>>> <$fieldmangler>
>>> <$list filter="[all[current]tags[]sort[title]]" storyview="pop">
>>> <$macrocall $name="tag" colour={{!!color}} palette={{$:/palette}}/>
>>> </$list>
>>>
>>>
>>> 2016-08-19 13:57 GMT+02:00 Matthew Lauber <[email protected]>:
>>>
>>>> Try adding the attached to your wiki.
>>>>
>>>> On Thursday, August 18, 2016 at 10:03:37 PM UTC-4, Matthew Lauber wrote:
>>>>>
>>>>> Yes this is possible. You need to override a bunch of view templates.
>>>>> Right now I don't have them in front of me, but tomorrow I will try to put
>>>>> together a solution for you.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "TiddlyWiki" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at https://groups.google.com/group/tiddlywiki.
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/tiddlywiki/95a4e852-961f-444d-8515-d2d66e141e8c%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/tiddlywiki/95a4e852-961f-444d-8515-d2d66e141e8c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/034abd18-03e4-44d7-bbd0-055f505dadae%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/034abd18-03e4-44d7-bbd0-055f505dadae%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALyWh20BKOx6ERqC6rZbVOcmsaWYXWLJX4kdk7-orRhGBB1rsg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to