Hi David
There's other ways of doing it, but the easiest is to use my <$mangletags>
widget -- like this:
<$mangletags add={{!!title}}>
<$maketid title="Something" tags="$:/Index" message="tw-mangle-tags">
<$button message="tw-new-tiddler">Make</$button>
</$maketid></$mangletags>
Must set the parameters that way around -- the 'tags=' attribute will treat
a title with spaces as separate tags. This can be used as a hack if you
know what your'e doing -- for example if one adds "$:/Index" after a
CamelCase title (of the originating tiddler), as in "OriginatingTiddler
$:/Index" -- the tags parameter will do everything as it will see the title
as two separate words and turn them into two tags. But that's a bit fiddly.
Inside "OriginatingTiddler $:/Index"
<$maketid title="Something" tags={{!!title}}>
<$button message="tw-new-tiddler">Make</$button>
</$maketid>
regards
On Monday, July 14, 2014 8:26:33 PM UTC+2, David Gifford wrote:
>
> Okay last question, I promise,
>
> How can I get it to add two tags, one being
>
> tags="$:/Index"
>
> and the other being the current tiddler's title
>
> tags={{!!title}}
>
>
> On Mon, Jul 14, 2014 at 1:21 PM, David Gifford <[email protected]
> <javascript:>> wrote:
>
>> Ouch! I guess I have!
>>
>>
>> On Mon, Jul 14, 2014 at 1:12 PM, Matabele <[email protected]
>> <javascript:>> wrote:
>>
>>> Hi David
>>>
>>> Double 'title=title=' -- you've obviously been staring at your screen
>>> for too long :-)
>>>
>>> regards
>>>
>>>
>>> On Monday, July 14, 2014 8:07:58 PM UTC+2, David Gifford wrote:
>>>
>>>> Why isn't this working?
>>>>
>>>> <$maketid title=title=<<dateTime "YYYY-MM-0DD 0hh:0mm:0ss">>
>>>> tags={{!!title}} template="$:/Template/NewIndex" edit="yes"><$button
>>>> class="btn-invisible" message="tw-new-tiddler">{{$:/
>>>> Image/newindex.svg}}</$button></$maketid>
>>>>
>>>>
>>>> On Mon, Jul 14, 2014 at 12:38 PM, Matabele <[email protected]> wrote:
>>>>
>>>>> Hi Dave
>>>>>
>>>>> There are several options to format the date -- this template gives
>>>>> several of them to choose from:
>>>>>
>>>>> <$maketid title=<<dateTime "DDD DDth, MMM 0hh:0mm:0ss">>
>>>>> tags={{!!title}}>
>>>>> <$button message="tw-new-tiddler">New Jounal Here</$button>
>>>>> </$maketid>
>>>>>
>>>>> regards
>>>>>
>>>>> On Monday, July 14, 2014 6:54:36 PM UTC+2, David Gifford wrote:
>>>>>>
>>>>>> Hi Matabele
>>>>>>
>>>>>> I am enjoying your maketid widget. Just one question (for now):
>>>>>>
>>>>>> How can I set the title to be a date and time stamp?
>>>>>>
>>>>>> Dave
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "TiddlyWiki" group.
>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>>>> topic/tiddlywiki/vZoAR8bAWB8/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>>
>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> David Gifford
>>>> Christian Reformed World Missions, Mexico City
>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/tiddlywiki/vZoAR8bAWB8/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected] <javascript:>.
>>> To post to this group, send email to [email protected]
>>> <javascript:>.
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> David Gifford
>> Christian Reformed World Missions, Mexico City
>>
>
>
>
> --
> David Gifford
> Christian Reformed World Missions, Mexico City
>
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.