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.
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Posted1 week 4 days ago by Alejandro Cremaschi (argiepiano) on:
No problem, let's see how it evolves.
I'd be happy to provide a suggested version if i could.
I will keep that in mind and try learn this hook chain hopefully very soon. I will...
Posted1 week 5 days ago by RS Snyder (theflightrs) on:
I could request hashing support, but that's the lazy way
🤣
I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
Hi, i understand the updating obstacle - not worth mentioning - hence it is a wacky (but working) patch until i know what to do. :-)
One of my biggest wishes is to understand the hook...
Posted1 week 5 days ago by RS Snyder (theflightrs) 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