Plugin outlets using site customizations not working after 1.6 upgrade


(Ashwani K Goel) #1

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


(Rafael dos Santos Silva) #2

Yes, connectors on the post stream and on the header are gone.


(Ashwani K Goel) #3

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!


(Rafael dos Santos Silva) #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.

Commits · xfalcox/discourse-signatures · GitHub