Trying to temizirovat login form, which by default opens on the link / user / login /
I did everything as described in this article.
Added code in template.php
function aihal_theme() { $items = array(); $items['user_login'] = array( 'render element' => 'form', 'path' => drupal_get_path('theme', 'aihal') . '/templates', 'template' => 'user-login', 'preprocess functions' => array( 'aihal_preprocess_user_login' ), ); return $items; } function aihal_preprocess_user_login(&$vars) { $vars['intro_text'] = t('This is my awesome login form'); } created user-login.tpl.php
<p><?php print render($intro_text); ?></p> <div class="aihal-user-login-form-wrapper"> <?php print drupal_render_children($form) ?> </div> updated cache, went to the page updated and nothing has changed.
Gugil, but never found a solution that would work for me. After you get to temizirovat form, it is to change the structure of html I want to display it using Modal Forms.