removing the news

Started by TNNtitans, May 08, 2011, 10:04:30 PM

Previous topic - Next topic

TNNtitans

how do you remove the news section under the search in the default theme Curve? I have a box that has news in it also. so when i update it there it shows up top also. is there a way to disable the one under the search?


Nick Whetstone

In the default index.template.php...
Code (Find this.) Select
// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<h2>', $txt['news'], ': </h2>
<p>', $context['random_news_line'], '</p>';
Code (Either remove the above code or replace it with this.) Select
/* Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<h2>', $txt['news'], ': </h2>
<p>', $context['random_news_line'], '</p>';*/
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Illori

admin -> current theme -> and uncheck enable random news line in the forum header, then the news will disappear.

Advertisement: