0

i have created a portfolio component that use text editor , and i want add the Load Modules button unther the text editor , normaly it load the button automatickly on joomla articles ..

also is there any way to add it ?

thanks amine

1 Answer 1

1

Assuming you're using the Form API, add buttons="true" attribute to your editor field. Example from article form:

<field
    name="articletext"
    type="editor"
    label="COM_CONTENT_FIELD_ARTICLETEXT_LABEL"
    description="COM_CONTENT_FIELD_ARTICLETEXT_DESC"
    filter="JComponentHelper::filterText"
    buttons="true"
/> 
1
  • YES . THIS WAS THE FIX
    – Reviewcost
    Commented Apr 3, 2020 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.