You should create a plugin (look at example repos linked in plugin) so that core upgrades work as normal. Do not modify the source code ‘directly’ as that will make maintenance a total pain. Use the guides in developers to get going. Rails Serializers will need expanding if you want to bring down more data. However consider Custom Fields if your needs are light.
merefield
(Robert)
2
נושאים קשורים
| נושא | תגובות | צפיות | פעילות | |
|---|---|---|---|---|
| Is there a way to modify Discourse endpoints through plugin? | 3 | 643 | 8 בינואר, 2019 | |
| Discourse Code Modification for personal use | 2 | 1003 | 20 באפריל, 2020 | |
| Add new API endpoints | 8 | 1345 | 23 במרץ, 2022 | |
| How to make changes on backend side of discourse application using rails | 7 | 823 | 26 בדצמבר, 2022 | |
| New columns in directory (/users) | 6 | 2737 | 16 באוקטובר, 2019 |