Hi James

I'm glad you sorted your problem out.

Anyway, I now have another minor problem: when using the edit-text widget,
> I've got it to create a temp file, and then create the real tiddler from
> the temp. But I would like to clear/delete the temp file as soon as the
> real tiddler is created. At the moment the temp file contains info from the
> last entry.
>

The core uses several temporary tiddlers in this way, for example
"$:/temp/newfieldname" contains the name shown in the new field name text
editor. The core doesn't try to delete these tiddlers after use. Instead,
these temporary tiddlers have titles that start with "$:/temp" and all
tiddlers with that prefix are omitted when saving or syncing.

Best wishes

Jeremy.



>
> Thanks.
>
> James
>
>
> On Wednesday, 22 October 2014 10:22:17 UTC+11, James Mars wrote:
>>
>> Hi,
>>
>> Am having trouble passing the value of the variables in the following
>> codes.. I've tried all different kinds of combinations.. with quotes,
>> without, etc.. I just get a literal string:
>>
>> (1) Using Hradek's newtiddler widget:
>>
>> <$set name="lastname" value="mylastname">
>> <$newtiddler title="$lastname$" ...
>> </$set>
>>
>> (2) <$set name="tmpfile" value="$:/temp/new/person"/>
>> |!First Name |<$edit-text tiddler="$tmpfile$" field="firstname" ...
>>
>> Thanks.
>>
>> James
>>
>  --
> 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.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.

Reply via email to