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

Default record

8 года 9 мес. назад - 8 года 9 мес. назад #1211 от Rene Kreijveld
Rene Kreijveld создал тему: Default record
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?

René Kreijveld, Joomla! professional, webdeveloper at DSD business internet
Последнее редактирование: 8 года 9 мес. назад пользователем Rene Kreijveld.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.048 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.