1

I'm trying to make a dropdown box from my table (#__projectinfo) where I can choose, for example, an article and show in an editor ready-to-use, update or save.

The objective is to choose an email body and send it to a user, the select box is to choose the email, but I need the ready-to-use editor.

e.g: like an article editor (see below image)

enter image description here

closed as off-topic by FFrewin Jan 2 at 11:01

  • This question does not appear to be about Joomla! administration and development, within the scope defined in the help center
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Hi Miguel - We read in your post that you are trying and that you have an objective, but we don't read what is the exact question you have... Please read the help center and help center to get informed on how to participate in this site. Cheers – FFrewin Dec 28 '18 at 21:49
  • I'm voting to close this question as off-topic because it is not clear what the question is - not a specific question to a single specific problem is defined in this post. – FFrewin Jan 2 at 11:01
1

This question is a bit beyond scope of the SE but I would like to give you a direction.

You can create you own JFormField that can open a modal window. Joomla uses this technique in com_menu selecting com_content articles.

You can have a look at JFormFieldModal_Article, this should give you an example how the field could look like.

The second part is the editor window, you need a component where you can edit the table. In this component you can add a "modal" layout to the edit view. In com_content this can be found at view/article/tmpl/modal.php

The complete task is not trivial and you need some knowledge in creating Joomla! components.

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