How do I create a custom layout template? Is it as simple as grabbing one of the core layout templates and then modifying it? If so, where do I put it? I'm sure this is fairly easy, just haven't done it before.
Yes, you can copy an existing layout from root/core/layouts modify it and put it into your own layouts directory in Backdrop root directory root/layouts/.
Also, you may be interested in the new flexible layout templates feature that has been added to Backdrop CMS v. 1.14 (less than one week old). This new feature allows you to create custom layout templates in the UI of Backdrop. I hope to create a video this weekend on flexible layout templates and will post a comment here once I do.
EDIT: I have posted a 10 min video tour of new features in Backdrop CMS 1.14. A significant portion of the video is about the new flexible layout templates feature.
UPDATE: I fixed the errors that I found in the logs. They were related to deleting an old blog content type pulled over from Drupal that was still referenced in one of the layouts. I updated...
Hmmm... this sounds like a bug with Copy Blocks. Would this possibly be related:
https://github.com/backdrop-contrib/copy_blocks/issues/26
https://github.com/backdrop-contrib/...
Posted1 day 1 hour ago by Alejandro Cremaschi (argiepiano) on:
Also this error: Warning: Undefined array key "blog" in summary() (line 63 of /app/core/modules/layout/plugins/access/entity_bundle_layout_access.inc).
I did recently delete an old blog...
I don't see any errors in the browser console, but there's this error in the logs
Warning: Trying to access array offset on null in summary() (line 63 of /app/core/modules/layout/plugins/...
What's missing there is the dropbutton, which is rendered by Javascript. Have you checked the browser's console for Javascript errors? Also check the site log just in case.
Posted1 day 8 hours ago by Alejandro Cremaschi (argiepiano) on:
Comments
Yes, you can copy an existing layout from root/core/layouts modify it and put it into your own layouts directory in Backdrop root directory root/layouts/.
For more info, see: https://api.backdropcms.org/layouts
Also, you may be interested in the new flexible layout templates feature that has been added to Backdrop CMS v. 1.14 (less than one week old). This new feature allows you to create custom layout templates in the UI of Backdrop. I hope to create a video this weekend on flexible layout templates and will post a comment here once I do.
EDIT: I have posted a 10 min video tour of new features in Backdrop CMS 1.14. A significant portion of the video is about the new flexible layout templates feature.
https://www.youtube.com/watch?v=Ra9CKywd3kA&t=9s