Timeline for Wich template to override for user account form
Current License: CC BY-SA 3.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 28 at 17:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 23 at 4:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 17 at 4:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 20, 2023 at 2:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 19, 2023 at 3:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 10, 2023 at 17:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 12, 2022 at 8:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 13, 2022 at 13:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 11, 2022 at 23:06 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 14, 2021 at 18:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 12, 2021 at 1:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 6, 2021 at 6:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 29, 2020 at 13:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 9, 2018 at 13:50 | answer | added | Matoeil | timeline score: 0 | |
Aug 16, 2018 at 14:24 | comment | added | Justme | I would like to achieve exactly this. Can this be done without programming ? Can this be done with Display Suite? | |
Apr 11, 2017 at 14:10 | comment | added | Henrique Alho | After 'digging' for a while and trying many things based on what you suggested, I manage to solve my problem and achieve what I needed. I appreciate your help. Make an answer based on what you wrote on the comment and I will accept it. | |
Apr 6, 2017 at 19:58 | comment | added | Henrique Alho | Sorry, Clive. I didn't understood a thing.. I have no experience with this logic, can you give me a good tutorial to follow on or try to explain it better? Thank you! | |
Apr 6, 2017 at 18:01 | comment | added | Clive♦ |
Thanks that clears it up. I'd be tempted to do something quick like implement hook_form_alter() , change the #weight s of elements so they're coming out in the desired order, then add '#prefix' => '<div class="col-md-6">' to the 2 elements that should appear first in their respective columns, and '#suffix' => '</div>' to the 2 elements that close each column. You might need further wrappers on the very first and very last elements too (e.g. with a class of "row" if your CSS needs it), those can just go in the first and last elements' #prefix and #suffix
|
|
Apr 6, 2017 at 17:53 | comment | added | Henrique Alho | I understand. I changed my question so it can explain what I want to do and I want to know how to achieve that | |
Apr 6, 2017 at 17:53 | comment | added | Clive♦ |
Whichever way you decide to go, hook_form_alter() will probably be your starting point
|
|
Apr 6, 2017 at 17:52 | history | edited | Henrique Alho | CC BY-SA 3.0 |
Add more information
|
Apr 6, 2017 at 17:50 | comment | added | Clive♦ | Forms don't tend to have individual templates (they can do but it's not the norm), as the elements in the render array can each be rendered independently of both the form and the other elements contained in it. It might be better to focus the question more precisely on what you want to change in the markup, so people can advise whether you'd be better off using a full form template, individual element templates, or other approaches (e.g. applying wrappers to certain elements etc) | |
Apr 6, 2017 at 17:32 | answer | added | jimi | timeline score: -1 | |
Apr 6, 2017 at 17:27 | history | asked | Henrique Alho | CC BY-SA 3.0 |