×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Where is the method that controls saving items?
Hanny
New Member
Posts: 1
9 年 10 个月 前 #565
由 Hanny
Where is the method that controls saving items? was created by Hanny
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.
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.
Please 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.045秒