Ver Mensaje Individual
  #11 (permalink)  
Antiguo 01/08/2013, 01:32
rogama
 
Fecha de Ingreso: marzo-2012
Ubicación: Madrid
Mensajes: 37
Antigüedad: 12 años
Puntos: 0
Respuesta: Formulario de registro personalizado (Drupal 7)

Nada amigo sin cambios
Este es el codigo que tengo ahora

Código:
function insurance_theme() {
  $items = array();
 
  $items['user_register_form'] = array(
    'render element' => 'form',
      'path' => drupal_get_path('theme', 'insurance') . '/templates',
    'template' => 'user-register-form',
  );
  
  return $items;
}
este el que tenia:
Código:
function insurance_theme(&$existing, $type, $theme, $path) {
   $hoks = array();
   $hoks['user_login_block'] = array(
     'template' => 'templates/user-login-block',
     'render element' => 'form',
   );
    $hoks['user_register_form'] = array(
        'render element' => 'form',
        'template' => 'templates/user-register-form',
      );
   return $hoks;
 }