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 Weird content when looking at website's page source...?
1 2
bourgm
Posted on 13 Nov 2012, 16:21:52

Access: Member
Total Posts: 4
Joined: 2012-11-11

Hey.. This isn't related to your question, but you said you got the cats working? Are you using 4.0.2? Not matter what I put, the cats do not display. All the news articles go no matter what I put.. Here is very simply what I put..

The cat is called "buy gold" My directory is newsapp, so that is correct.. It does display ALL categories, not just "buy gold"..

<?php $nppage = '10'; $cat[] = 'Buy Gold'; include 'newsapp/index.php'; ?>

Sorry to intrude on your question, but you had said you got that part working..

#3987
Hhawk
Posted on 14 Nov 2012, 08:51:47

Access: Member
Total Posts: 94
Joined: 2010-03-01

bourgm wrote at 2012-11-13 16:21:52

Hey.. This isn't related to your question, but you said you got the cats working? Are you using 4.0.2? Not matter what I put, the cats do not display. All the news articles go no matter what I put.. Here is very simply what I put..

The cat is called "buy gold" My directory is newsapp, so that is correct.. It does display ALL categories, not just "buy gold"..

<?php $nppage = '10'; $cat[] = 'Buy Gold'; include 'newsapp/index.php'; ?>

Sorry to intrude on your question, but you had said you got that part working..

No problem.

I am using the following piece of code:

<?php
$static = 'false';
$template = 'templatename';
$cat[] = 'categoryname';
$news_layout = '3';
$nppage = '1';
include '../news/index.php';
?>

This is working for me? Otherwise try without a space in the category name...?

#3988
1 2
Network-13.com © 2013