Webmaster's Community
Designing and Development => Open Source => SMF Support - Simple Machine Forums => Topic started by: TheStig on April 14, 2012, 10:26:32 AM
-
I use the template PremiumMGC on my forum but I whant to remove some items at the top.
I will remove the line search and News.
What code do i need to remove?
-
To remove news, simply delete it from Admin Control Panel.
-
I do, but then there is only the row: news avalible
TheStig
-
You can disable news from Admin --> Configuration --> Current theme
Disable Enable random news line in the forum header:
Or you can remove complete code from template file..
To remove news search for following in Themes/premiummgc/index.template.php
<div class="news normaltext">';
// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<strong>', $txt['news'], ': </strong>', $context['random_news_line'], '';
echo '
</div>
and remove it.
-
Fixed, the lines are gone.
No more questions :-)
Thanks Ricky
-
I am glad problem is solved.
Hope to see you around.
-
How can I add a facebook and twitter button with a link direct to the twitter (add) page and facebook page
-
Where you want to add it , can you be little more specific ?