If I insert this component in topic-list.hbs below topic-list-item template, it works! But It’s is bad for future Discourse version upgrades or plugins implementation. So I’m trying to manipulate over Admin → Customize → Common → Header (HTML), changing topic-list-item.raw
But another problem appeared, I’m not getting to call component from text/x-handlebars template, is there some way to call my component of footer buttons inside topic-list-item.raw template ? Like a helper or widget which could call component inside ?
I would appreciate your help so that I can eliminate my doubts once and for all.
The way that I’ve dealt with this in the past is by packaging the buttons in a html helper, which will render the raw html in the raw templates, which you can then insert via a raw plugin outlet. Here’s an example:
Sì, @angus, a mio avviso non è più consigliabile: stava causando a Ember un piccolo infarto, quindi l’ho rimosso da TLP. Quando hai due eventi di click simultanei, ad esempio cliccando sul titolo dell’argomento che a sua volta contiene un link, il browser finisce per eseguire un aggiornamento completo della pagina, il che chiaramente non è ciò che desideri in un OPA. Questo problema è stato segnalato da diversi utenti.
Per ora in TLP devi cliccare sul Titolo, sull’Estratto o sull’Anteprima.
Devi assicurarti che ci sia sempre una sola area cliccabile: aree sovrapposte causeranno problemi.