PDA

View Full Version : Cutenews headline help please



SmileUK
25-01-2009, 03:42 AM
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:

$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

iUnknown
25-01-2009, 10:56 AM
This should help you:

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

You basically want something like:


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:


href="/cutenews/show_news.php?subaction=showfull&id={news-id}&archive=&start_from=&ucat=6&page=news"

Jibbish
25-01-2009, 11:37 AM
edit - oh never mind

Want to hide these adverts? Register an account for free!