Ver Mensaje Individual
  #19 (permalink)  
Antiguo 21/01/2011, 12:34
Fenris
 
Fecha de Ingreso: agosto-2008
Mensajes: 271
Antigüedad: 15 años, 8 meses
Puntos: 2
Respuesta: No renderiza el layout

Entiendo pruebo y comento como me fue, otra consulta GatorV, la inicializacion de db adapter la hago agregando un metodo en la clase bootstrap llamado _initDatabase() o no?

Probé con esto pero no funciona, lo extraje de una de las respuestas, que estoy haciendo mal ahora.
Cree el controlador menu y content y guarde los archivos en las respectivas carpetas del view con la extension phtml.

layout.phtml

Código PHP:
Ver original
  1. <?php echo $this->doctype() ?> <!-- This Line will output the doctype we set inside the bootstrap file -->
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <title>Sistema Informatico Clinica</title>
  6. <?php echo $this->headLink()->appendStylesheet('/css/global.css') ?>
  7. <?php echo $this->headLink()->appendStylesheet('/css/frame_menu_clinica.css') ?>
  8. </head>
  9. <frameset rows="90,*" framespacing="0" frameborder="0" border="0">
  10.   <frame src="<?php echo $this->url(array('controller' => 'menu')); ?>" name="encabezado" scrolling="NO" noresize target="principal">
  11.   <frame src="<?php echo $this->url(array('controller' => 'content')); ?>" name="principal" target="_self" scrolling="auto">
  12. <noframes>
  13.   <body>
  14. </body>
  15. </noframes>
  16. </frameset>
  17. <frameset>
  18. </frameset>
  19. </html>

Última edición por Fenris; 21/01/2011 a las 13:13