Lilly
(Lillian Louis)
Novembre 28, 2023, 1:26
5
La lecture des sujets liés ci-dessus devrait répondre à vos questions de développement connexes. Il est possible que vous puissiez réaliser ce que vous souhaitez avec un composant de thème au lieu d’un plugin. Par conséquent, j’ajouterais également ceci à votre liste de lecture :
This is a crash course in Discourse theme basics. The target audience is everyone who is not familiar with Discourse themes. If you’ve already used Discourse theme / theme components, this guide is probably not something you need to read.
What are themes and theme components?
A theme or theme component is a set of files packaged together designed to either modify Discourse visually or to add new features.
Let’s start with themes.
Themes
In general, themes are not supposed to be compatible …
Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components.
This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to:
Themes vs. Theme Compon…
également, à partir du premier lien que j’ai posté :
Joe:
Ce composant de thème utilise cette méthode pour ajouter un nouveau bouton à ce menu en fonction de certaines conditions et définit une nouvelle action, alors jetez un œil ici
https://github.com/discourse/raw-post-button
3 « J'aime »