Hi Eric and also Mario.
I'm stupid! Of course the $:/tagged/journal tiddler was copy&pasted by me.
This is its content:
\whitespace trim
\define journalButtonTags()
[[$(currentTiddlerTag)$]] $(journalTags)$
\end
\define journalButton()
<$button tooltip={{$:/language/Buttons/NewJournalHere/Hint}} aria-label={{$:
/language/Buttons/NewJournalHere/Caption}} class=<<tv-config-toolbar-class
>>>
<$wikify name="journalTitle" text="""<$macrocall $name="now"
format=<<journalTitleTemplate>>/>""">
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags
=<<journalButtonTags>>/>
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
{{$:/core/images/edit-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>match[yes]]">
<span class="tc-btn-text">
<$text text={{$:/language/Buttons/NewJournalHere/Caption}}/>
</span>
</$list>
</$wikify>
</$button>
\end
<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
<$set name="journalTags" value={{$:/config/NewJournal/Tags!!tags}}>
<$set name="currentTiddlerTag" value=<<currentTiddler>>>
<<journalButton>>
</$set>
</$set>
</$set>
It's a copy of the $:/core/ui/Buttons/new-journal-here with the image
exchanged.
Thanks to Eric it's now working with this content:
\whitespace trim
\define journalButtonTags()
[[$(currentTiddlerTag)$]] $(journalTags)$
\end
\define btnactn()
<$wikify name="journalTitle" text="""<$macrocall $name="now"
format=<<journalTitleTemplate>>/>""">
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags
=<<journalButtonTags>>/>
</$wikify>
\end
\define tooltip() "Create a tiidler tagged »$(currentTiddlerTag)$«"
\define journalButton()
<$button actions=<<btnactn>> class=<<tv-config-toolbar-class>> tooltip=<<
tooltip>>>
{{$:/core/images/edit-button}}
</$button>
\end
<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
<$set name="journalTags" value={{$:/config/NewJournal/Tags!!tags}}>
<$set name="currentTiddlerTag" value=<<currentTiddler>>>
<<journalButton>>
</$set>
</$set>
</$set>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/6affc63e-30d8-463e-b277-b5e45a3c674ao%40googlegroups.com.