Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/07/2009, 11:23
considered
 
Fecha de Ingreso: abril-2009
Mensajes: 43
Antigüedad: 15 años
Puntos: 1
CUTE NEWS: como dirigir noticias a pagina que yo quiera

como estan, tengo un CMS cute news y quiero que el link dirija a una pagina que yo quiero en particular y no al pop up pre-establecido que viene por defecto

vi unas instrucciones en ingles, las aplique cavernicolamente pero no mo resulto ya que mis conocimientos de .php son poquisimos

Código HTML:
$PHP_SELF = 'X.php'; 
Use this to point all of the cutenews links to another page. Useful if you want to show the full story on another page. In the second page, you should add some kind of cutenews include code where you want to show the news. You should not add a ?var=value etc to the end of the link, use $QUERY_STRING to do that. Note that the prev/next buttons will also point to the new page. 
The default page is the page where you added the news to.
Example
CODE
<php
$PHP_SELF = "target.php"
include('show_news.php');
?>
inside target.php you must have an include to show_news.php as well. But beware the categories. An article in category 1 will not show if the target.php contains $category=2;



saludos