Hi there,
I recently rebuilt discourse and ended up updating from v1.5.0.beta3 +81 to 1.6.0.beta9 and all the outlets have stopped working. Something as simple as below in section of Customise won’t work:
<script type='text/x-handlebars' data-template-name='/connectors/topic-after-cooked/testtopic'>
Test.
</script>
Can someone please suggest what could be the issue? Is there any change in this version which affects this functionality?
Thanks
Falco
(Falco)
June 25, 2016, 2:43pm
2
Yes, connectors on the post stream and on the header are gone.
The latest builds of Discourse are much faster at rendering topics thanks to our re-written post stream . I’ve written up our new plugin API but so far haven’t explained how the code all fits together. The purpose of this topic is to allow Discourse developers to understand how the new code works.
What’s a Virtual DOM?
A Virtual DOM is a data structure that enables browsers to re-render dynamic content very quickly. The technique was pioneered by React but has since been integrated into many ot…
2 Likes
Hi Rafael,
Thanks for your reply.
So, is there any other way for us now to display our html contents on post?
Also, if we downgrade to 1.5 whether the database backups that we have in Admin panel from pre upgrade, will work?
I appreciate all your help
Best Regards!
Falco
(Falco)
June 27, 2016, 2:34am
4
Backups from 1.5 should work on 1.5, but you can adapt your plugins to the new way.
Here is a very simple plugin that uses the same outlet you use. It was adapted by the man @eviltrout himself.
https://github.com/xfalcox/discourse-signatures/commits/master