Login

Member statsTotal: 206Latest: CcardinGuests online: 7Members online: 0
EmailLogin here

Location
ForumHelp & Support • Displaying News

Access: Member
Total posts: 1

Status: Offline
Displaying News Quote 

First off, I love the backend.  It rocks.

My problem is integrating the news, or heck . . . even displaying it.

I can get each story if I type in http://www.mysite.com/news/index.php?id=2

I need to show all stories in that category though.

I have tried the all option with no luck.  It will not work with a specific category either.

Code:
<?php
$cat = \"all\";
include \'http://www.mysite.com/news/index.php\';
?>

I sure would love to use this, but I seem to really be struggling.  Any help would sure be appreciated.

Thanks!
12:00pm 17th Sep 08  
Access: Admin
Total posts: 174

Status: Offline
Displaying News Quote 

Hi Luckystrait,

Try using this code

PHP Code:
<?php
$cat
= 'all';
include
'news/index.php';
?>


Does it show the news at all?
09:46pm 18th Sep 08
_______________
Chris - Network-13
Access: Member
Total posts: 15

Status: Offline
Displaying News Quote 

The news is not displaying for me and I am using the proper code. I have it on http://mmaing.com/index.php.

Code:
<?php
$cat = 'all';
include 'news/index.php';
?>
03:42am 29th Oct 08  
Access: Member
Total posts: 15

Status: Offline
Displaying News Quote 

I fixed it so that the page loads since before it wasn't. But now it doesn't show the news, it only shows "Powered by N-13 News".
02:05pm 29th Oct 08  
Access: Member
Total posts: 10

Status: Offline
Displaying News Quote 

Quote:
I fixed it so that the page loads since before it wasn't. But now it doesn't show the news, it only shows "Powered by N-13 News".

That problem can have multiple causes:
- Do you have newsfiles at all?
- Are they approved? (so visitors/you can see them om your frontend)
- Are they categorized? (only when you've got categories at all)
- Is your template configured correctly?
07:13am 30th Oct 08  
Access: Member
Total posts: 15

Status: Offline
Displaying News Quote 

Articles are approved and in their respective categories. I haven't touch the template and how do I check if I have newsfiles at all.
10:57am 30th Oct 08  
Access: Member
Total posts: 10

Status: Offline
Displaying News Quote 

Quote:
how do I check if I have newsfiles at all?
Login to the admin backpanel, go to 'news' > here you can add/edit newsposts. On the right all newsfiles currently in the system are listed.
03:13pm 30th Oct 08  
Access: Member
Total posts: 15

Status: Offline
Displaying News Quote 

Yeah the news is there.
04:10pm 30th Oct 08  
Access: Member
Total posts: 15

Status: Offline
Displaying News Quote 

Can anyone help me with this? I need to have website ready by next week. I can give login information if needed.
10:01am 3rd Nov 08  
Post a reply!