Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    88
    Tokens
    0

    Default Cutenews headline help please

    Right, I'm using php include for my site (instead of iframe etc) do to link something there you need to do ?page=

    How do I get cutenews headline to make the link like that and actually work.

    I'm assuming it has something to do with this line:
    Code:
    $output = str_replace("[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);
    But I don't know how to make it work.

    Any help is welcome,
    Thanks
    Do do do

  2. #2
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    This should help you:

    http://www.habboxforum.com/showthread.php?t=476529

    You basically want something like:

    HTML Code:
    href="/cutenews/show_news.php?subaction=showfull&id={news-id}&archive=&start_from=&ucat=6&"
    You make a link with that href for the full story link, then you can change parts of the link to whatever ?page= stuff you want (I didn't quite understand you).

    So at the end of that you can add &page=news so:

    HTML Code:
    href="/cutenews/show_news.php?subaction=showfull&id={news-id}&archive=&start_from=&ucat=6&page=news"
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  3. #3
    Join Date
    Feb 2007
    Location
    West Midlands
    Posts
    1,168
    Tokens
    0
    Habbo
    Jibbish

    Latest Awards:

    Default

    edit - oh never mind

Posting Permissions

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