News:

Wondering if this will always be free?  See why free is better.

Main Menu

Layout Modifications Help

Started by Digital Pimp, March 25, 2004, 10:12:57 AM

Previous topic - Next topic

Digital Pimp

Hi All

First i have to throw my hand up, im new to php and creating / running a forum.
Found SMF and its great just what i was after, simple and effective.

I would like to now customize the Layout to suit my needs.  I quite like the SMF default theme, but wanted to remove a few items how do i do it ?
I want to remove the News and the Key Stats areas in the top right corner.

In general what do i need to look for, if i wished to change the location of button or something ?.

Any help would be most appreciated

[Unknown]

Removing news is an option in the theme settings, under Theme and Layout Settings -> click "Default" in the top right.

Have you tried creating a copy of the default theme, and looking at index.template.php?

-[Unknown]

A.M.A

Have a look at index.template.php , it is well commented:
// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<div style="width: 260px; border: 1px solid #6B8EAE; background-color: #6B8EAE;"><img src="', $settings['images_url'], '/blank.gif" height="12" alt="" /></div>
<div style="width: 260px; border: 1px solid #7A7777; position: relative; background: #EFEFEF url(', $settings['images_url'], '/box_bg.gif); background-repeat: repeat-x; background-position: bottom; margin-bottom: 8px;">
<img src="', $settings['images_url'], '/' , $context['user']['language'] , '/newsbox.gif" style="position: absolute; right: -1px; top: -16px;" alt="" />
<div style="height: 50px; overflow: auto; padding: 5px;" class="smalltext">', $context['random_news_line'], '</div>
</div>';
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Advertisement: