Eu uso este código (na aba /head da página de personalização CSS/HTML) para adicionar alguns itens adicionais ao menu, mas ele parou de funcionar após uma atualização recente - alguém sabe o porquê?
<script>
Discourse.ExternalNavItem = Discourse.NavItem.extend({
href : function() {
return this.get('href');
}.property('href')
});
I18n.translations.en.js.filters.first_name_here = { title: "Nome", help: "Nome novamente" };
I18n.translations.en.js.filters.second_name_here = { title: "Nome", help: "Visite nosso...." };
I18n.translations.en.js.filters.tags = { title: "Tags", help: "Tags" };
Discourse.NavItem.reopenClass({
buildList : function(category, args) {
var list = this._super(category, args);
if(!category) {
list.push(Discourse.ExternalNavItem.create({href: 'http://forum.com/tags', name: 'tags'}));
list.push(Discourse.ExternalNavItem.create({href: 'https://forum.com/something', name: 'nome'}));
list.push(Discourse.ExternalNavItem.create({href: 'https://forum.com/t/thread-url/193454#heading--name', name: 'nome'}));
}
return list;
}
});
</script>