플러그인을 생성해야 합니다(Customization > Plugin 채널에 링크된 예시 저장소를 참고하세요). 그래야 코어 업그레이드가 정상적으로 작동합니다. 소스 코드를 ‘직접’ 수정하지 마세요. 그렇게 하면 유지보수가 매우 복잡해집니다. 시작하려면 #documentation:devs 채널의 가이드를 참고하세요. 더 많은 데이터를 가져오려면 Rails Serializers를 확장해야 합니다. 하지만 요구 사항이 간단하다면 사용자 정의 필드(Custom Fields)를 사용하는 것을 고려해 보세요.
merefield
(Robert)
2
Related topics
| 글 | 댓글 | 조회수 | 활동 | |
|---|---|---|---|---|
| Is there a way to modify Discourse endpoints through plugin? | 3 | 698 | 1월 8, 2019 | |
| Discourse Code Modification for personal use | 2 | 1053 | 4월 20, 2020 | |
| Add new API endpoints | 6 | 1450 | 2월 23, 2019 | |
| How to make changes on backend side of discourse application using rails | 7 | 1028 | 12월 26, 2022 | |
| New columns in directory (/users) | 6 | 2853 | 10월 16, 2019 |