I don't follow your use case. Are both you and your users saving to the
same TW? How are you overriding your users DefaultTiddlers?
Why do you need to put a carriage return after each item, since it's all in
the DefaultTiddlers which isn't usually used for viewing lists?
Do your import tiddlers have anything in common? In particular, a tag? Then
you could just add this to the bottom of the DefaultTiddlers:
[tag[MyImportedTiddlers]]
and your imported tiddlers would be automatically opened when the TW is
opened.
Good luck!
Mark
On Friday, July 29, 2016 at 8:05:58 AM UTC-7, Zaphod Beeblebrox wrote:
>
> It's me again.
>
> Having much success with overriding my users'
> *$:/ControlPanel/DefaultTiddlers* and *forcing* my 'update' tiddlers to
> appear after import, but apparently I wasn't forward-thinking enough.
> While discussing it with one such user a few days ago, he brought up the
> point that he had several tiddlers that he liked to have appear every time
> he loads his TW, and if I 'injected' my new updates it would overwrite what
> he had there before.
>
> So, is there a way to *append* the updated tiddler titles to the
> (beginning or end) of any titles that already exist in Defaulttiddlers ?
>
> After a two-day search of both the group and tiddlywiki.com for
> 'append-like' information all I've found of relevance.is this bit of code
> from *Jed Carty* (originally from someone else I believe, but I can't
> find the original post, now...):
>
> \define thisAction()
> <$action-setfield $tiddler=HelloThere text=
> """$(HelloThereText)$$(LearningText)$"""/>
> \end
>
> <$set name=HelloThereText value={{HelloThere}}>
> <$set name=LearningText value={{Learning}}>
> <$button>Test
> <<thisAction>>
> </$button>
> </$set>
> </$set>
>
> This seems to work, but what I really need is not to read from another
> tiddler, but something in the form of a tiddler that the user could open,
> and perhaps click a button, and have a predefined list of tiddler titles
> (contained in this same tiddler) that would be appended to their
> DefaultTiddlers file.
>
> Ideally, it would also have the capacity for multiple tiddler titles, at
> least 10(?).
> Also, there would need to be a way of including carriage returns so that
> each title creates a new line for itself (\n perhaps?)
>
> Any ideas?
>
> --Zaphod
>
--
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/f252fd17-76d6-4f16-99e0-aa9e4e1dc1c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.