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.
Thank you for your answer.
What I want to do is display usernames or user images in a menu, similar to many community websites.
The basic menu that Backdrop currently provides is a "...
Just go to the menu where you want to add your link.
Add your link and in the path search for "user". It's done.
No need to use a token.
Or perhaps this ? menu_attributes
Please can you provide more information about the use case for this and also a screenshot or mockup of what you are trying to achieve.
There is a request here (https://github.com/backdrop-...
Posted3 days 12 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
Oh thanx ! I had an "old" text format that I had disabled. I re-enabled this format in the field body with the permissions and the field comes back for editing.
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