I created a display suite layout "tow column stacked" in manage user section, then I want to override that template, and make a new one in my theme templates folder, the ds module suggest for me :

  • ds-2col-stacked--user.tpl.php
  • ds-2col-stacked--user-user.tpl.php

so I created ds-2col-stacked--user-user.tpl.php in my templates folder, but this template is overriding as well the registration page!

how can override with the correct name, to apply this new template only for user edit account page ("/user/%/edit") ?

Thanks in advance.

1 Answer 1


You can use hook theme suggestion in your template file. It gives you the right way of naming you tpl file.

function THEME_preprocess_node(&$variables) {


function THEME_preprocess_page(&$variables, $hook) {


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.