Thank you very much for your help FI-DD. These instructions take ~5 minutes to run though. Other that the steps mentioned, no other options/actions are taken.
NOTE: I have repeated this ~4 times now with these intstructions, so something is definately up.
Windows Server 2003
IIS 6.0
PHP ver 5.1.6
1. Extract cnr_2.5.4 (eng).zip to a directory on the server
2. Create a news display page (news.php) in script directory with the following:
- Code: Select all
<?
include 'head.php';
?>
<?php
$category = '2,3';
$number = 20;
include $cutepath.'/show_news.php';
?>
3. Run index.php
all dirs & files rwx
Language = english
Database = textSQL
User,PW = test,test
4. Log in to admin as test,test
5. Delete install directory as advised
6. Goto
Options >
Manage Categories7. Create the inital set of categories:
New category
-a,b,c,d,e
8. Create category a's subcategories:
New Category (all with a as parent)
a1,a2,a3
9. Create category b's subcategories:
New Category (all with b as parent)
b1,b2,b3
10. Create category c's subcategories:
New Category (all with c as parent)
c1,c2,c3
You will end up with the following categories and id's:
- Code: Select all
ID Name
1 a
6 a1
7 a2
8 a3
2 b
9 b1
10 b2
11 b3
3 c
12 c1
13 c2
14 c3
4 d
5 e
11.
Add a news article:
-Title = test1
-Short Story = blah
-Category a,b,c
12.
Add a news article:
-Title = test2
-Short Story = blah
-Category a,b,c,c2
When you open news.php only the test1 article will display, even though you have chosen to display categories b (id 2) and c (id 3), and both articles have those categories
Update:Also interestingly enough, if you post a news article to category a (id 1) with this setup it still actually shows up, even though news.php is only configured to display category's b (id 2) & c (id 3)