FLEXIcontent / flexicontent-cck

Advanced content management for Joomla
http://www.flexicontent.org
82 stars 53 forks source link

Create relate item in item form #960

Open micker opened 4 years ago

micker commented 4 years ago

Is there a possibility to show the "subimt new" botton near related field when entering the form? near the drop down of the field before add and save the entire item. For example, when i insert the item it can happen that the values present in the drop down of related item is not present and it is possible to insert one directly from the form. item-form-that-i-would-have Item-view

micker commented 4 years ago

hello i start to test it it seams not to be difficult ... just need to check modal

emanuelepaccamiccio commented 4 years ago

Thanks, It's very kind of you!

ggppdk commented 4 years ago
  1. The simple part is to just display the new item button
  2. The difficult part is to update the drop down menu after item is created

The "select related item" drop down is populated via AJAX call , we will need to call the relevant JS after new item gets saved

An annoyance is that, if user creates an item does not match "related items" criteria, then new the item will not appear in the drop down, which will be confusing

micker commented 4 years ago

ahh you are better than me .... yes part 1 is easier just need to add a modal option in create button function maybe we can add a save and refresh function for parent item when we save relation item ?