Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/11/2015, 22:24
Avatar de mortiprogramador
mortiprogramador
Colaborador
 
Fecha de Ingreso: septiembre-2009
Ubicación: mortuoria
Mensajes: 3.805
Antigüedad: 14 años, 8 meses
Puntos: 214
Respuesta: Incluir footer en una sola página con FPDF

Saludo
Basta con modificar la clase fpdf, en la función AddPage,
para que no agregue el Footer en cada hoja.

Se encontrará algo así

Código PHP:
Ver original
  1. if($this->page>0)
  2.     {
  3.         // Page footer
  4.         $this->InFooter = true;
  5.         $this->Footer();
  6.         $this->InFooter = false;
  7.         // Close page
  8.         $this->_endpage();
  9.     }

Debe quedar

Código PHP:
Ver original
  1. if($this->page>0)
  2.     {
  3.         // Page footer
  4.         //$this->InFooter = true;
  5.         //$this->Footer();
  6.         //$this->InFooter = false;
  7.         // Close page
  8.         $this->_endpage();
  9.     }
__________________
"Si consigues ser algo más que un hombre, si te entregas a un ideal, si nadie puede detenerte, te conviertes en algo muy diferente."
Visita piggypon.com