Ver Mensaje Individual
  #7 (permalink)  
Antiguo 11/05/2012, 15:57
geek_omar007
 
Fecha de Ingreso: mayo-2012
Ubicación: La Paz
Mensajes: 23
Antigüedad: 11 años, 11 meses
Puntos: 0
Respuesta: problema con jquery y modulos en zend framework

Cita:
Iniciado por masterpuppet Ver Mensaje
No utilizo jQuery pero no tendrias que habilitarlo ?

Código HTML:
Ver original
  1. <?php
  2. ...
  3. $this->jQuery()->enable()
  4.                ->addStylesheet(/*/*/)
  5. ...
  6. ?>

Saludos.
siiii gracias amigo te lo agradezco un monton ahora si funciona bien
quedo algo parecido a esto a ver si a alguien le sirve luego

Código PHP:
Ver original
  1. <?php
  2. $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
  3. $this->headTitle()->setSeparator(' - ');
  4. $this->headTitle('Centro Medico');
  5.  
  6. echo $this->doctype(); ?>
  7. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  8. <head>
  9.     <?php echo $this->headMeta(); ?>
  10.     <?php echo $this->headTitle(); ?>
  11.    
  12.     <?php
  13.     //para jquery
  14.     echo $this->jQuery()->enable()
  15.                                 ->uiEnable()
  16.                                 ->addStylesheet($this->baseUrl() . '/css/jquery-ui-1.8.17.custom.css') 
  17.                                 ->setLocalPath($this->baseUrl() . '/js/jquery.js')
  18.                                 ->setUiLocalPath($this->baseUrl() . '/js/jquery-ui-1.8.17.custom.min.js');
  19.     ?>
y ahora si me funciona bien tanto el jquery como el jquery ui, esto con modulos, lei q se habilitaban automaticamente al usar jQuery tan el jquery como el jquery ui, pero al parecer al trabajar con modulos es diferente
perdon por las molestias
y una vez mas gracias por el tiempo y la paciencia