Describe your issue or idea
I have three webform nodes that need a block placed at the top of the page. Not all my webforms though - just three of them. Today, the only solution to this problem is to either create three identical layouts, each with a condition nodeID = X... Or, to create a single layout with the same block placed three times with a condition nodeID = X.
Ideally, we'd be able to add more than one node ID in either of these places, or OR two conditions together.
Edit: the "URL Path" Visibility condition, for example, allows me to enter one path per line. Why am I not able to add one node per line, in the same way?
(Also, this means there's a third solution today: you can use the URL path condition and put in node/nid instead of trying to use the node ID condition)
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