Personalizza testo: + Nuovo argomento

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.

5 Mi Piace

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.

4 Mi Piace

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.

6 Mi Piace

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.