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..
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...?