Actions
Bug / Feature #1528
closedPassword-Reset wird auf Anmelde-Seite nicht verlinkt
Start date:
24 August 2011
Due date:
12 March 2013
% Done:
100%
Estimated time:
Request Type:
Bug Report
Description
Auf der Login-Seite von Drupal ist keine Spur vom Password-Reset-Formular.
Updated by Apophis almost 13 years ago
- Assignee changed from Apophis to LukyLuke
Wüsstest du wie man das lösen kann?
Updated by danilo almost 13 years ago
Vermutlich das Template überladen: http://drupal.org/node/19855
Updated by LukyLuke almost 13 years ago
- Assignee changed from LukyLuke to Apophis
Auf die schnelle würde ich auch sagen, dass man da das Template anpassen muss.
Aus dem Link von Danilo und weiteren Seiten müsste das hier bei drupal-6 funktionieren:
template.php
--- template.php 2012-02-04 10:02:55.000000000 +0100 +++ template_new.php 2012-02-04 11:14:23.372700851 +0100 @@ -140,9 +140,18 @@ 'arguments' => array('menu' => NULL) ); + $hooks['user_login'] = array( + 'template' => 'templates/user_login', + 'arguments' => array('form' => NULL), + ); + return $hooks; } +function mytheme_preprocess_user_login(&$variables) { + $variables['remember_pass'] = t('Remember Password'); + $variables['remember_link'] = 'https://xxxxx'; + $variables['rendered'] = drupal_render($variables['form']); +} /** * Override or insert variables into the comment templates.
user_login.tpl.php
<?php print $rendered; ?> <br/> <a href="<?php print $remember_link; ?>"><?php print $remember_pass; ?></a>
Updated by Apophis about 12 years ago
- Status changed from New to 15
werden wir in D6 nicht mehr fixen.
Updated by admin almost 12 years ago
- Due date set to 12 March 2013
Automatically enforce due date for Low Priority after 60 days in the future
Updated by Apophis almost 12 years ago
- Status changed from Needs Work to Won't Do
Updated by admin almost 12 years ago
- Assignee changed from corvus to danilo
Automaticaclly enforce assigned-to to the author of the ticket
Updated by danilo almost 12 years ago
- Status changed from Won't Do to Closed
- % Done changed from 0 to 100
Actions