O'Reilly logo

Building Online Communities with phpBB 2 by Stoyan Stefanov, Mike Lothar, Jeremy Rogers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ready, Set, Go!

With the sketch at hand, the best way to create a template is to simply follow the sketch, starting from the top and working our way down to the bottom. As mentioned earlier, the overall_header.tpl always contains the top part of each page you’ll see in the browser, so this is the one we will work on first. In subSilver, this file already shows an image and the menu, a good approach that we will keep the same for our own template.

Open the overall_header.tpl file and scroll down to where the <body> begins (the section up to this tag is the CSS, which we will get to later).

The first thing we need to do is to make sure that the template stretches out entirely in the browser. By default, the browser adds a margin to the top and to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required