Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By pognoss on
Hi everybody.
Hello everybody.
I wanted to change the edit profile page with the user-profile-edit.tpl.php.
I added this function in template.php .
function minimi_theme() {
return array(
// The form ID
'user_profile_form' => array(
// Forms always take the form argument.
'arguments' => array('form' => NULL),
'render element' => 'form',
'template' => 'templates/user-profile-edit',
),
);
}
I created the file user-profile- edit.tpl.php .
To test , I wrote "hello toto" in the .tpl .
But nothing happens .
Or is my mistake in your opinion ? I 've missed a step ?
Thanks for your help.
Comments
I found my mistake , my
I found my mistake , my template folder does not have an 's'. I changed 'template ' => ' templatess / user -profile- edit '.
But now I have a warning when I see the forms in the edit page .
Did you clear the cache?
Did you clear the cache?
Are you following https://buildingwebs.wordpress.com/2011/05/11/customizing-edit-user-page...
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.