This is a follow-up of #5149, where we're polishing the style of the flexible layout templates UI. In that issue, I suggested the following:
The "Add row" button should match the rest of the "+ Add xyz" buttons we use throughout the admin UI I think. (Separate UX issue: having that button live at the bottom of the form becomes problematic - especially with templates that have many rows. I thing that we should either move to the top, or add multiple "Add row here" buttons between each row perhaps? ).
Less scrolling, and one less step in order to drag the newly-created rows to the right place -> UX win.
Recent comments
Can you please create an issue in the issue queue of the faulty module? Was it uc_coupon?
Shut out of site
The actual query would look like this (untested): $query = db_select('node'); $query->addField('node', 'nid'); $query->condition('node.type', 'webform'); $query->join('webform', '...
EntityFieldQuery get webform with block
Two routes to do this: Load all webform nodes (as you are doing) and then loop through the array of nodes and check if $node->webform['block'] is TRUE. If not, remove the node...
EntityFieldQuery get webform with block