× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Where is the method that controls saving items?

9 yıl 10 ay önce #565 Yazan: Hanny
Where is the method that controls saving items?, Hanny tarafından oluşturuldu
Alright, it's been a substantial amount of time since I've developed much in Joomla and I'm kind of diving back in after some time off.

For examples sake I have created a component for Widgets.

When I click to Create New widget - the form opens up with some of my set options "size, price, description" etc.

It works fine in that it creates that Widget in the database. But lets say
I wanted to have it save to another remote database elsewhere also when
the user clicks 'save & close'.

What files would I modify? How do I control what happens when the user clicks 'Save & Close'
and the form is submitted/posted?

I created my widget component using the component-creator online and it adheres to MVC architecture -
but it's been so long since I have played around with all this I'm kind
of re-learning.

Lütfen sohbete katılmak için Giriş ya da Hesap açın.

Sayfa oluşturma süresi: 0.050 saniye
Geliştiren: Kunena Forum