Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/10/2010, 14:24
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Como añadir Javascript en el layout?

Claro puedes usar dentro de tu view:
Código PHP:
Ver original
  1. <?php $this->headScript()->appendFile('/path/a/tu/js.js');

Con eso lo agregas al layout.

Saludos.