hey
http://warogaming.com/
on there when you click on latest news i want it to open in myframe1
how do i do that?
it's using cutenews 1.3.6

hey
http://warogaming.com/
on there when you click on latest news i want it to open in myframe1
how do i do that?
it's using cutenews 1.3.6
.:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
.:.: Stand up for what is right, even if you stand alone:.:.
target="myframe1"
^^
Said it all, Hyper link >> Page >> Target [What frames called] in ur case myframe1
<?PHP
$number="5";
$category = "2";
$template = "Headlines";
include("/mounted-storage/home10/sub002/sc16051-AGLV/warogaming.com/news/show_news.php");
?>
is the code used in navi.
.:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
.:.: Stand up for what is right, even if you stand alone:.:.
To make it go to an iframe, you will have to edit a inc file or mdu I dont know, ill check what one
Ok, now I trust that you are using [full-link] on your headlines right?
Well, open up inc/shows.inc.php in your cutenews folder, find:
Now replace withPHP Code:$output = preg_replace("/\\[full-link\\]/","<a href=\"$config_http_script_dir/show_news.php?subaction=showfull&id=$news_arr[0]&archive=$archive&template=$template\" return false;\">", $output);
}else{
$output = str_replace("[full-link]","<a href=\"$PHP_SELF?subaction=showfull&id=$news_arr[0]&archive=$archive&start_from=$my_start_from&ucat=$news_arr[6]&$user_query\">", $output);
PHP Code:$output = preg_replace("/\\[full-link\\]/","<a target=\"myframe1\" href=\"$config_http_script_dir/show_news.php?subaction=showfull&id=$news_arr[0]&archive=$archive&template=$template\" return false;\">", $output);
}else{
$output = str_replace("[full-link]","<a target=\"myframe1\" href=\"$PHP_SELF?subaction=showfull&id=$news_arr[0]&archive=$archive&start_from=$my_start_from&ucat=$news_arr[6]&$user_query\">", $output);
Want to hide these adverts? Register an account for free!