We have a bunch of customisations including some new entities, with detail layouts we've added using the Layout Manager.
We're in the process of moving our customisations into their own module. It's all working except the custom layouts.
When a layout is created with the Layout Manager, it adds the saved layout in custom\Espo\Custom\Resources\layouts\<entity>\deta il.json (where of course, <entity> is my entity name)
Moving everything into my new module, I put this in custom\Espo\Modules\<module>\Resources\layouts\<en tity>\detail.json but it's not being picked up when I add the module to a clean install - to confirm, everything else is working fine in the new module location - the Custom/Espo/Custom folder is empty, with the new entities working.
I'm guessing I've missed a definition somewhere - do I need to explicitly point the entity in the module at the layout somewhere?
We're in the process of moving our customisations into their own module. It's all working except the custom layouts.
When a layout is created with the Layout Manager, it adds the saved layout in custom\Espo\Custom\Resources\layouts\<entity>\deta il.json (where of course, <entity> is my entity name)
Moving everything into my new module, I put this in custom\Espo\Modules\<module>\Resources\layouts\<en tity>\detail.json but it's not being picked up when I add the module to a clean install - to confirm, everything else is working fine in the new module location - the Custom/Espo/Custom folder is empty, with the new entities working.
I'm guessing I've missed a definition somewhere - do I need to explicitly point the entity in the module at the layout somewhere?
Comment