details_left.php rendered not to expectation. Fields missing after compile. #108
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#108
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
THe fields did not have a edit order (all 0) then you only get 2 ($size) fields in the details_left.php.
Give me a recommended fix :)
How do you think should we handle the build if all is 0...
We could use the line order of the fields in the modal instead, and dump the order_edit altogether... since we added it before the option to move fields around, like it is now, was ready in Joomla.
Further the reality to convert all modal repeatable fields to subform fields are very tempting indeed. I mean the subform field type is new to Joomla and works just like repeatable fields, just not in a modal, and it seems more stable to me.
Well I don't have the time right now to do this... so a quick fix for the mentioned problem should have to do for now... please share what you think will best work.
I like the order setting and perhaps you want them in combination with the tabs. My problem was the items did not appear and I had to debug to find out why.
I think a (dirty) fix could be if the items exists add it to the end by giving it a high edit order 999 + the layout item count.
The user will then see the fields and can go to the edit order.
Better fix but not quick is renumber the duplicates in edit order before adding to the layout builder.
@Houtsmatisering please test the fix. Watch this video for more info.
This is basically the fix:
Hi llewellyn,
I placed the snipped at the start of the method and it works for me with only zeroes and also with a sequence starting with zero.
So thanks for the fix.
Jeroen