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.
If you use CSS Flexbox Layout, you can do with simple styles. In this example, if one or two side columns are excluded from the layout, the central column will occupy all the remaining width:...
Yes good point on the allowed tags , however on trying it i hit a couple of issues...
If i added the tag <!--pagebreak--> or even <!-- --> it would still remove it when...
I know for a fact that TinyMCE doesn't strip them out but in my tests you are right about CKEditor stripping at source. What you'll also need to do once the editor is not stripping out is add...
Posted3 hours 44 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
Thanks for checking that Alejandro. I checked the files - image does not show in files/manage, but the file title and file url have both been changed. I guess I should have renamed files before...
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