×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Default record
Rene Kreijveld
New Member
Posts: 7
8 年 9 个月 前 - 8 年 9 个月 前 #1211
由 Rene Kreijveld
René Kreijveld, Joomla! professional, webdeveloper at DSD business internet
Default record was created by Rene Kreijveld
Is it possible to create a field of type "Default record"?
With that I mean a field that allows you to make a record "the default record".
It should hold the value "1" when default and all other rows should automatically have value "0" in the default record field.
If you set another record as default, this one shoud get value "1" and all other "0" again.
Joomla uses this to indicatie the home menu item and the default template.
I need that functionality for a component I'm working on ... Or does anyone have another suggestion/solution?
With that I mean a field that allows you to make a record "the default record".
It should hold the value "1" when default and all other rows should automatically have value "0" in the default record field.
If you set another record as default, this one shoud get value "1" and all other "0" again.
Joomla uses this to indicatie the home menu item and the default template.
I need that functionality for a component I'm working on ... Or does anyone have another suggestion/solution?
René Kreijveld, Joomla! professional, webdeveloper at DSD business internet
Last edit: 8 年 9 个月 前 by Rene Kreijveld.
Please 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.044秒