Hi,
Is it possible to customize the text, “+ New Topic”, on a Category basis?
For instance, in one Category, we might want “Introduce Yourself”, in another, “Ask A Question”, in another, “Share Your Story”, etc.
Hi,
Is it possible to customize the text, “+ New Topic”, on a Category basis?
For instance, in one Category, we might want “Introduce Yourself”, in another, “Ask A Question”, in another, “Share Your Story”, etc.
It’s not possible out of the box, but I think it’s possible in a theme component… you’d probably need to add some conditions to the d-navigation.hbs or create-topic-button.hbs template.
Questo componente del tema (gentilmente sponsorizzato da @outofthebox) utilizzerà jQuery per sovrascrivere il testo del nuovo pulsante per l’argomento. Ho scelto di usare jQuery invece di modificare il modello come suggerito sopra, perché è più facile da mantenere (almeno, nella mia esperienza).
Il componente del tema dispone di impostazioni per sovrascrivere il testo del pulsante in base allo slug dell’argomento.
Per le sottocategorie, usa slugprincipale-slugsecondario.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.