![]() ![]() |
Jul 15 2004, 05:25 PM
Post
#1
|
|
|
Cute Hack Master ![]() ![]() ![]() Group: Support Posts: 1,739 Joined: 2-July 04 From: The Netherlands Member No.: 4 |
Use $PHP_SELF to do that, and use this syntax:
$PHP_SELF = 'target_page.php'; include('show_news.php'); Note that the target page must have a CN include itself, to show the news item. A normal include (with or without $PHP_SELF) would work. And be adviced that you can't have a article from category 1 link to target_page.php and have the parameter $category=2; on target_page.php as target_page.php would show nothing then. [EDIT] As some ppl have said they didn't understand this, I will point you to the following url: Parameters you can use with your CN include It has a list with all parameters you may use in your CN include code, so also $PHP_SELF is there. -------------------- QUOTE(zumbuluk) go to the Cutenews IRC. There is an elder man there, of grey hair and infinite wisdom, the one the call Stealtheye. Go, and tell him that Zumbu sent you, and that it is time once again for his spirit to roam free and solve other people's problems....... To get help: 1. Read the readme. 2. Read the FAQ forum and blake2050's FAQ 3. If you're trying to find a hack/addon, be sure to look at some of my hacks, the official addons and WillyPS' CuteNews page 4. Search around at the forums for older solved topics relating to your problem. If you find anything and still can't fix it. At least give this topic as a reference in the new post you may place. 5. Post at these forums, or visit the CuteNews IRC Channel. If you're posting here, make sure your topic includes enough information, and is as easy and short as possible. Confusing or long stories will oftenly get skipped. 6. Wait patiently for a reply. Don't start PM'ing everyone and bumping after 10 minutes... |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 02:40 AM |