Joomla subform field in J5 still has the fundamental flaw that there is no native way of adjusting the column widths according to the needs of the different field type. Also hidden fields take up space. And trying to use a calendar field in a default subform breaks the layout as the calendar icon appears too large and on a second line.
The default is that the columns all take an equal slice of the available space with 8% reserved for the buttons at the right hand end of the row. So if you have four columns they each get 20% (5 columns including the buttons)
Here's my workaround for this using CSS.
Joonla 5 has the good idea of enabling some quite flexible password format restrictions to be set. However the bad part is that they have set some stupid default.
When using Text::_()
I often find I want a space before or after the translated string when it is not possible to use Text::sprintf()
` - for example when using two successive translations to make a composite phrase.
echo Text::_('FOO').' '.Text::_('BAR');
Annoyingly Joomla 5 is still using the ucm_content table for linking tags to items. This is a pain if you want to manipulate tags programatically as you have to get the ucmid before you can use the add an entry to the contentitem_tag_map
table..
Here's a simple solution that uses the batch()
command in AdminModel
and works ok even if the item doesn't yet have ucm_content
core_content_id
. The batch function creates one for you.