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

Default record

8 Jahre 7 Monate her - 8 Jahre 7 Monate her #1211 von Rene Kreijveld
Default record wurde erstellt von 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?

René Kreijveld, Joomla! professional, webdeveloper at DSD business internet
Letzte Änderung: 8 Jahre 7 Monate her von Rene Kreijveld.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.107 Sekunden
Powered by Kunena Forum

Wir verwenden eigene Cookies und Cookies von Drittanbietern, um Ihr Nutzererlebnis zu verbessern und Ihnen einen optimalen Service zu bieten. Wenn Sie die Website weiter nutzen, gehen wir davon aus, dass Sie mit unserer Cookie-Politik einverstanden sind.