Hi James

I am overriding $:/core/ui/PageTemplate/story with my own custom version,
> which just puts a <div> above <section class="story-river">.
>

I've had to do something similar in the past. For 5.0.14 I've added two new
system tags that permit elements to be placed above or below the story
river:

https://github.com/Jermolene/TiddlyWiki5/commit/91acad0f7ce8637945a953dfcb122cd31292626d

Best wishes

Jeremy.



>
> Rather than having up update this theme every time the original
> $:/core/ui/PageTemplate/story is updated I would like to just transclude
> the original.
>
> You can see a half finished example of this here:
> http://welford.github.io/
>
> Make the window small enough so that  the side bar disappears. then type
> "twexe" or something else in the new search input which appears at the top.
> I am using the <div> I inserted to $:/core/ui/PageTemplate/story to push
> down the storyview so that the search results don't cover up the tiddlers.
>
> I am sure there are probably better ways of doing this, but this was the
> first one that came to mind and I thought it would be less maintenance to
> be able to transclude the original shadow tidders in other cases too.
>
> On Tuesday, 8 July 2014 08:57:26 UTC+1, Jeremy Ruston wrote:
>
>> Hi James
>>
>> > If I were to create a theme which overwrote $:/core/ui/PageTemplate/story
>> is there a way i can transclude the original in my custom version?
>>
>> Not at the moment, no. Overridden shadow tiddlers are not accessible.
>> I've some interest in adding a workaround so that we can offer a better UI
>> for managing plugins. What's your use case?
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>>
>>
>> On Sun, Jul 6, 2014 at 11:47 PM, James Anderson <[email protected]>
>> wrote:
>>
>>> override *core* tiddler, not code tiddler
>>>
>>>
>>> On Monday, 7 July 2014 05:54:02 UTC+9, James Anderson wrote:
>>>>
>>>> If I were to create a theme which overwrote $:/core/ui/PageTemplate/story
>>>> is there a way i can transclude the original in my custom version?
>>>>
>>>> Thanks,
>>>> James
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWikiDev" 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/tiddlywikidev.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to