The short answer is no, you can't theme forms or change their layouts through the UI. There is a ported version of Display Suite, which has a submodule called Display Suite Forms that allows you to do that. Unfortunately there is no official release of the module, buy you can "play" with it by downloading it directly from the link above (click on "Code" > Download zip).
You can also play around with CSS and see if that helps you.
To do this programmatically, you can implement hook_form_FORM_ID_alter and modify the form array (e.g. putting some elements in different containers).
Other possible ways (untested, somewhat complex) might be to define a "form wrapper" theme with hook_theme that uses a template file, then use hook_form_FORM_ID_alter to add a $form['#theme'] key that points at that theming function, create a preprocess function for that theme to get the variables ready for the template, and finally create a template file (tpl.php) for that wrapper that uses those variables, and place it in your theme's templates folder. Then you can reorganize the markup in there. This is the basic approach of Display Suite (except that they do it in an abstracted way to allow you to modify any entity form that has fields).
Yes. The are several ways to do this:
Install Mail System and select "Testing" for delivery in admin/config/system/mailsystem
Install Maillog / Mail developer...
Posted7 hours 41 min ago by Alejandro Cremaschi (argiepiano) on:
The short answer is no, you can't theme forms or change their layouts through the UI. There is a ported version of Display Suite, which has a submodule called Display Suite Forms that allows you...
Posted7 hours 58 min ago by Alejandro Cremaschi (argiepiano) on:
Thanks!
I tested PayPal WPS (since I also use it in my Drupal 7 Commerce shop).
With the PayPal server SANDBOX mode (no real payment transaction, just simulated).
And everything...
Peter, I've done an initial port of Commerce PayPal. While I haven't tested it, I think it should work, as the module is not too complex.
https://github.com/backdrop-contrib/...
Posted1 day 17 hours ago by Alejandro Cremaschi (argiepiano) on:
Comments
A simple way — use Field Group to create a container for fields
https://backdropcms.org/project/field_group
and CSS Flex оr Grid to alignment.
The short answer is no, you can't theme forms or change their layouts through the UI. There is a ported version of Display Suite, which has a submodule called Display Suite Forms that allows you to do that. Unfortunately there is no official release of the module, buy you can "play" with it by downloading it directly from the link above (click on "Code" > Download zip).
You can also play around with CSS and see if that helps you.
To do this programmatically, you can implement hook_form_FORM_ID_alter and modify the form array (e.g. putting some elements in different containers).
Other possible ways (untested, somewhat complex) might be to define a "form wrapper" theme with hook_theme that uses a template file, then use
hook_form_FORM_ID_alter
to add a$form['#theme']
key that points at that theming function, create a preprocess function for that theme to get the variables ready for the template, and finally create a template file (tpl.php) for that wrapper that uses those variables, and place it in your theme'stemplates
folder. Then you can reorganize the markup in there. This is the basic approach of Display Suite (except that they do it in an abstracted way to allow you to modify any entity form that has fields).Resources: