I am trying to figure out a way to override the entire
/user page in D7.
There is a lot of articles out there that goes about altering the form, but I want to be able to rework the entire page (forms included) to get them into a nice bootstrap layout.
A lot of the information on the web is talking about
page--user--login.tpl.php, but this does not work at all.
page--user.tpl.php, it seems to render my template file, but I cannot re-render the form.
<?php $form = drupal_get_form('user_login'); print drupal_render($form); ?> My HTML goes here <?php // Render any remaining elements, such as hidden inputs (token, form_id, etc). print drupal_render_children($form); ?>
I keep getting an infinite redirect loop. My best guess is because of a problem with the form_id that does not match.
Ps: I am using a bootstrap subtheme.
All information about this would be greatly appreciated.