Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/09/2012, 15:23
Avatar de flashmax
flashmax
 
Fecha de Ingreso: julio-2012
Ubicación: Bs.As. Argentina
Mensajes: 507
Antigüedad: 11 años, 9 meses
Puntos: 86
Respuesta: Template Cutenews.

Hola veo que no has leido el readme.html donde te explica como integrar las noticias en tu web.
seria mas o menos asi:
tu plantilla guardala con el nombre que quieras pero al final con extension .php NO html dentro de donde instalaste el cutenew. si tienes tus paginas en la raiz y el cute en una carpeta cambia la ruta del include.

miplantilla.php

Código PHP:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Pagina nueva 1</title>
</head>

<body style="text-align: center">

<table border="0" width="680" cellspacing="0" cellpadding="0">
<tr>
<td height="50" background="Cabecera.png">&nbsp;</td>
</tr>
<tr>
<td background="Medio.png"><?Php include ("show_news.php"); ?></td>
</tr>
<tr>
<td height="50" background="Pie.png">&nbsp;</td>
</tr>
</table>

</body>

</html>



Mas opciones:

Código:
Mostrando noticias activas

<Php? 
  include ("path / to / show_news.php"); 
?>
Mostrando con plantilla diferente

<Php? 
  $ template = "YOUR_TEMPLATE_NAME"; include ("ruta / a / show_news.php"); 
?>
Mostrando Archivos

<Php? 
  include ("path / to / show_archives.php"); 
?>
Mostrando 5 Últimas Noticias

<Php? 
  $ numero = "5"; 
  include ("ruta / a / show_news.php"); 
?>
Mostrando 5 Noticias de la categoría con ID 2

<Php? 
  $ numero = "5"; 
  $ category = "2"; 
  include ("ruta / a / show_news.php"); 
?>
Mostrando todos los titulares y el 1 Último artículo de noticias en una sola página

<Php? 
  $ static = true; 
  $ template = "Titulares"; 
  include ("path / to / show_news.php");   $ numero = "1";   include ("ruta / a / show_news.php"); ?>
cualquier duda nos consultas ..saludos!
__________________
Saludos!
----------------------------------------------------------