Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/02/2011, 14:58
walterdevel
 
Fecha de Ingreso: diciembre-2010
Mensajes: 788
Antigüedad: 13 años, 4 meses
Puntos: 51
Respuesta: Asiganacion de metatags para web modular

Tendrías que cambiar ( creo que sería así por como parece funcionar el sitio ):

layout_simple.php

por:

Código HTML:
Ver original
  1.     <title>Tu Sitio Modular</title>
  2.     <meta name="description" value="$metadescription" />
  3. </head>
  4. <?php include('includes/header.html'); ?>
  5. <table width="100%" border="0" cellspacing="1" cellpadding="1">
  6.     <tr>
  7.         <td width="140" bgcolor="#5b69a6">&nbsp;</td>
  8.         <td>
  9. [PHP]<?php
  10.     if (file_exists( $path_modulo )) include( $path_modulo );
  11.     else die('Error al cargar el módulo <b>'.$modulo.'</b>. No existe el archivo <b>'.$conf[$modulo]['archivo'].'</b>');
  12. ?>[/PHP]        </td>
  13.     </tr>
  14. <?php include('includes/footer.html'); ?>
  15. </body>
  16. </html>

y el index.php

agregar en algún lugar:

Código PHP:
Ver original
  1. $metadescription = "meta descripcion del sitio";

y lo mismo con los metatags que necesités.