Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default open cutenews headlines

    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:.:.


  2. #2
    Join Date
    Oct 2006
    Posts
    1,026
    Tokens
    0

    Latest Awards:

    Default

    target="myframe1"

  3. #3
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by RNelson View Post
    target="myframe1"
    uh how. all it says in cutenews is ,

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  4. #4
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    3,843
    Tokens
    1,121

    Latest Awards:

    Default

    ^^

    Said it all, Hyper link >> Page >> Target [What frames called] in ur case myframe1

  5. #5
    Join Date
    Oct 2006
    Posts
    1,026
    Tokens
    0

    Latest Awards:

    Default

    Not in cutenews in the navigator,

    Post the navigator code please.
    Quote Originally Posted by Colin-Roberts View Post
    uh how. all it says in cutenews is ,

  6. #6
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    <?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:.:.


  7. #7
    Join Date
    Oct 2006
    Posts
    1,026
    Tokens
    0

    Latest Awards:

    Default

    The navigation code not cutenews ;]
    Quote Originally Posted by Colin-Roberts View Post
    <?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.

  8. #8
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    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:

    PHP Code:
    $output preg_replace("/\\[full-link\\]/","<a href=\"$config_http_script_dir/show_news.php?subaction=showfull&amp;id=$news_arr[0]&amp;archive=$archive&amp;template=$template\" return false;\">"$output);
                }else{
                        
    $output str_replace("[full-link]","<a href=\"$PHP_SELF?subaction=showfull&amp;id=$news_arr[0]&amp;archive=$archive&amp;start_from=$my_start_from&amp;ucat=$news_arr[6]&amp;$user_query\">"$output); 
    Now replace with

    PHP Code:
    $output preg_replace("/\\[full-link\\]/","<a target=\"myframe1\" href=\"$config_http_script_dir/show_news.php?subaction=showfull&amp;id=$news_arr[0]&amp;archive=$archive&amp;template=$template\" return false;\">"$output);
                }else{
                        
    $output str_replace("[full-link]","<a target=\"myframe1\" href=\"$PHP_SELF?subaction=showfull&amp;id=$news_arr[0]&amp;archive=$archive&amp;start_from=$my_start_from&amp;ucat=$news_arr[6]&amp;$user_query\">"$output); 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •