Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Just want to show the category, dont care who the author is
Evbenji
Posted on 06 Dec 2010, 15:00:25

Access: Member
Total Posts: 6
Joined: 2010-12-06

There seems no way to simply display all articles belonging to the category.

I don't care who the author is, i just want my <?php include()?> to list every thing in that category.

And when i state the author, 'admin', now all of my articles are displayed from every category. Its really stressful. So want to use this instead of CuteNews.
#3068
Chris
Posted on 06 Dec 2010, 15:09:16

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Code:
<?php
$cat
[] = "category name";

include 
'news/index.php';
?>


See here - http://code.google.com/p/n-13news/wiki/Integration
#3070
Evbenji
Posted on 06 Dec 2010, 15:16:08

Access: Member
Total Posts: 6
Joined: 2010-12-06

Mate thanks for such a quick reply,

Have taken away any authors, so now every article written is being displayed.

When this category doesnt even have an article yet.

<?php

$template = 'NoTitleTemplate';

$cat[] = 'Contacts Senior Coaches';
$news_layout = '2';

include 'N13news/index.php';

?>
#3074
Chris
Posted on 06 Dec 2010, 15:17:25

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Assign an article to that category then it should work fine.
#3075
Evbenji
Posted on 06 Dec 2010, 15:19:41

Access: Member
Total Posts: 6
Joined: 2010-12-06

Hehe
#3076
Network-13.com © 2013