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 ?
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.Sign up to join this community
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" />