Current workflow: 1. Go to the layout edit page. 2. Click the "Add block" action of any region. 3. Select any block type. 4. Change your mind about the selected block type. 5. Close the "Add block" dialog (using the x button at the top right corner) 6. Click the "Add block" action of the region. 7. Make sure you select the correct block type this time because you'll have to go through this over again and it's tedious.
How it should work: 1. Go to the layout edit page. 2. Click the "Add block" action of any region. 3. Select any block type. 4. Change your mind about the selected block type. 5. Click the "Back" button (the one we'll add in this issue - for now just imagine it's there ) 6. Select correct block type this time. Don't worry if you get it wrong again - you can always hit the imaginary "Back" button :stuck_out_tongue_winking_eye:
1 step less = better UX :wink: :wine_glass:
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
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...
Ubercart - Programmatically add product to cart and straight to Checkout
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...
File hashing uploads made through TinyMCE