Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Remove News Panel?

Asked Modified Viewed 16,918 times
A
atom6
A
atom6 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Newbie

Is there a way to remove the center news panel? I don't see it anywhere on my list of panels.
0 replies

12 posts

D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

That would actually be the content of the page itself. (NEWS.PHP)
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

When no news is posted it shows a message no news is posted (or something similar).

It should be nice when no news is posted at all, no message complaining about this shows.

news.php is needed for some other functions.
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
answered
Veteran Member

Quote

Wanabo wrote:
It should be nice when no news is posted at all, no message complaining about this shows.


Open news.php
Lines 120-123

Find and delete

else {
      opentable($locale['global_077']);
      echo "<div style='text-align:center'><br />\n".$locale['global_078']."<br /><br />\n</div>\n";
      closetable();


Make sure you leave in the end bracket } on line 120
0 replies
M
mojkan
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
answered
Member

Could it be done that you have an option to show or not show news? Maybe a little option, check box in settings: "Show news on front page" or something like that :)
0 replies
D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

Quote

mojkan wrote:
Could it be done that you have an option to show or not show news? Maybe a little option, check box in settings: "Show news on front page" or something like that :)


Euhh.... In your admin you have set the news page (news.php) to be your opening page. You could disable the welcome message panel and put your welcome message in a custom page which you would set to opening page > same thing, no news.
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

Quote

HobbyMan wrote:
Find and delete ....


Thanks, this is how I want it.
0 replies
P
Puma
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
answered
Member

Quote

mojkan wrote:
Could it be done that you have an option to show or not show news? Maybe a little option, check box in settings: "Show news on front page" or something like that :)


I sure hope this option will be included in the next release ;)
0 replies
U
Ugleh
U
Ugleh 10
  • Member, joined since
  • Contributed 160 posts on the community forums.
  • Started 27 threads in the forums
answered
Member

Quote

Puma wrote:

Quote

mojkan wrote:
Could it be done that you have an option to show or not show news? Maybe a little option, check box in settings: "Show news on front page" or something like that :)


I sure hope this option will be included in the next release ;)


I have decided that I would take time to code this. Where on installation you decided what features you want, and if you want something later their would be something in System Admin.
0 replies
P
Puma
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
answered
Member

So you could code an option in the admin panel that could disable the news?
0 replies
U
ugljesa-pianist
U
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Oh, I found this topic and I'm very interesting how to remove news panel from my homepage otherwise that my site's title doesn't contain "news". For example, my site's name is "Entertainment" (it's not the real name of my PHPFusion powered website, it's only the example) and now I can see at the title "Entertainment - news". What can I do to remove this panel and that my site contains only the title "Entertainment" without "news"? Can I do something in my admin panel or I must know coding skills to solve this problem? Help me, please! :)
0 replies
— 5 years later —
D
dirtyjob
D
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 4 threads in the forums
answered
Junior Member

sorry to re open an old thread but yes there is a way to both get rid of the news AND have your page open without saying 1234.com/news.php

simply make a file named home.php

then place this inside of that file:

<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Original Filename: news.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| New Filename: home.php
| Edited By: Brian Rieckmann (Vyper69)
| Date Edited: July 20, 2012
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "maincore.php";
require_once THEMES."templates/header.php";


require_once THEMES."templates/footer.php";
?>


now place this file you made called home.php with that code inside of it into your web root "public_html"

NOW go into your sites admin panel/settings/main and scroll down till you find Site opening page:

delete news.php and add home.php


thank my friend Vyper.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Hi there,

[This thread here] is where I wrote a nice tut on this topic. Hopefully that will help you's on your way to succeeding with this matter.

Regards
Craig
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 12 posts
  • Votes 0 votes
  • Topic users 10 members

10 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
P
P
Puma 10
RESISTANCE IS FUTILE EARTHLINGS !!!
  • Member, joined since
  • Contributed 142 posts on the community forums.
  • Started 22 threads in the forums
D
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
U
U
Ugleh 10
  • Member, joined since
  • Contributed 160 posts on the community forums.
  • Started 27 threads in the forums
H
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
M
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
U
U
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 1 thread in the forums
A
A
atom6 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
D
D
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 4 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet