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.
Ce composant de thème (aimablement sponsorisé par @outofthebox) utilisera jQuery pour remplacer le texte du nouveau bouton de sujet. J’ai choisi d’utiliser jQuery plutôt que de modifier le modèle comme suggéré ci-dessus, car c’est plus facile à maintenir (du moins, selon mon expérience).
Le composant de thème dispose de paramètres pour remplacer le texte du bouton par slug de sujet.
Pour les sous-catégories, utilisez slugprincipal-sousslug.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.