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 A few questions...
Twinksta
Posted on 01 Mar 2010, 04:31:36

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

First of all, you would probably like to know that my skills in PHP and more advanced coding such as that is relatively new.

Basically I am working on a website for a friend. I've tried a number of different "How-To" threads and searching, however, I can't seem to find a way to fix my problems.

The website can be found here: http://thatswhatsupentertainment.net/index2.php

1. I'm trying to implement a "Headlines" system. And I've nearly got it completely mapped out. Maybe you could take a look at the site, and see what, exactly, it is that I'm trying to do.

2. How can I change the general settings of the news? By this, I mean, fonts, colors, etc.

3. Is there any way to shut off comments? I've tried things like messing about with the settings in the admin area (setting comments per page to, "0" for instance). While it is not a feature that this friend of mine wants to include, it's also a problem with the headlines bit.

Any and all help would be greatly appreciated.

Thanks. :)
#1961
Last edited by Twinksta at 2010-03-01 04:32:39 Reason:
Chris
Posted on 01 Mar 2010, 04:36:45

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

All 3 of your questions can be solved by going to Options > Templates > Select the template you're currently using and start editing.
#1962
Twinksta
Posted on 01 Mar 2010, 04:50:41

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

While this has worked to an extent, especially with the fonts and colors, there's still a few problems with the site.

When clicking a headline, it does show up exactly how I want it to. However, upon going to the news story the box where my headlines are stored has changed to a comments form. Anything relating to comments has been deleted from my template.

I hope that makes sense, perhaps you should try checking the site that had been included in my original post.

Also, how can I change the colors of links (author name, headline colors, etc.)?
#1963
Twinksta
Posted on 01 Mar 2010, 06:39:00

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

Well, I've somehow got most of the problems sorted out. My apologies.

However, for the headlines, I don't understand what I've done wrong. I've followed everything in the thread you made about them, but for some reason, when you click a headline, no news is showing up.

This is the code I have for fullstory.php:
Code:
<?php include('includes/header.shtml'); ?><?php
include 'news/index.php';
?>
<?php include('includes/footer.shtml'); ?>

Like I said, it's probably best if you check out the site and see what I'm trying to do so it all makes more sense...
http://thatswhatsupentertainment.net/index2.php

Again, any and all help is greatly appreciated.
#1964
Last edited by Twinksta at 2010-03-01 08:24:24 Reason:
Chris
Posted on 01 Mar 2010, 11:52:11

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

I suspect what's happening here is for the template you're using, in the "Comments Structure" section, you might have remove the {news} tag. Check and if you have just add that tag back in and hopefully it should work.
#1970
Twinksta
Posted on 02 Mar 2010, 04:18:18

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

That seemed to have worked. Thank you so much.

But there is one more, much smaller problem. When clicking the news in the Headlines, the only headline that is displayed is the current news story. Is there any way to fix that?

EDIT: I just check my footer.php file and it didn't include the "nppage" bit in the include tag. However, that doesn't seem to be the problem.
#1976
Last edited by Twinksta at 2010-03-02 04:50:41 Reason:
Twinksta
Posted on 03 Mar 2010, 08:12:29

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

You have no ideas, then?
#1985
Chris
Posted on 03 Mar 2010, 16:03:36

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

Hmm I'm positive I replied to this before. Strange.

To fix this place $static = true before the headlines include code, so something like

Code:
<?php
$static 
= true;
....
include 
'news/index.php';
?>
#1994
Twinksta
Posted on 04 Mar 2010, 03:24:37

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

That worked.

Thank you again for all of your help.
#2010
Network-13.com © 2013