# هل من الممكن تعديل دالة في ملف مساعد عبر نظام المكونات في الإضافة أو القالب؟

**URL:** <https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964>\
**Category:** Development\
**Created:** [7 فبراير 2020، 8:09ص UTC](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964 "2020-02-07T08:09:35Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Post date:** [7 فبراير 2020، 6:08م UTC](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964/8 "2020-02-07T18:08:12Z")

</div>

لا أعتقد أن ذلك سيعمل، لأنني بحاجة إلى جلب اللون من إعدادات الفئة — وبالتالي سيتغير لون الحدود لكل فئة. (لقد قمت بتحديث [منشوري أعلاه](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964/4) ليعكس ذلك.)

إلا إذا كان بالإمكان جلبه عبر JavaScript (/إضافته إلى DOM)؟ (إذا كان الأمر كذلك، هل يمكنك إعطائي مثالًا من فضلك؟)

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964)._
