phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Adding Sidebars to subSilver based styles.


 
Search this topic... | Search Knowledge Base (KB)... | Search Box
Register or Login to Post    Index » Knowledge Base (KB)  Previous TopicPrint TopicNext Topic
Author Message
lumpy burgertushie
Board Member



Joined: 18 Nov 2008

Posts: 266


flag
PostPosted: Fri Nov 13, 2015 12:59 pm 
Post subject: Adding Sidebars to subSilver based styles.

See this post about the proper way to edit phpbb files:

http://phpbb2refugees.com/viewtopic.php?t=155

Adding Sidebars to subSilver based styles.

For sidebars on both sides.

open overall_header.tpl
add this to the very bottom of the file:
Code:
<table border="0" cellspacing="0" cellpadding="5" width="100%">
<tr>
<td width="200" align="center" valign="top">

   <span class="gen">code for left sidebar</span>

</td>
<td width="100%" align="center" valign="top">

open overall_footer.tpl
add this to the very top of the file:
Code:
</td>
<td width="200" align="center" valign="top">

  <span class="gen">code for right sidebar</span>

</td>
</tr>
</table>

save both files and upload back to the server.

For just the left side:

open overall_header.tpl
add this to the very bottom of the file:
Code:
<table border="0" cellspacing="0" cellpadding="5" width="100%">
<tr>
<td width="200" align="center" valign="top">

   <span class="gen">code for left sidebar</span>

</td>
<td width="100%" align="center" valign="top">

open overall_footer.tpl
add this to the very top of the file:
Code:
</td>

</tr>
</table>

save , upload back to the server.

For just the right side:

open overall_header.tpl
add this to the very bottom of the file:
Code:
<table border="0" cellspacing="0" cellpadding="5" width="100%">
<tr>

<td width="100%" align="center" valign="top">

open overall_footer.tpl
add this to the very top of the file:
Code:
</td>
<td width="200" align="center" valign="top">

  <span class="gen">code for right sidebar</span>

</td>
</tr>
</table>

save, upload back to the server.

Now, depending on which sidebars you want, you can edit those files to add whatever text/html etc. you want in your sidebars.

robert
Back to top
Vendethiel
Board Member



Joined: 26 Oct 2014

Posts: 251



PostPosted: Sun Nov 15, 2015 11:18 am 
Post subject: Re: Adding Sidebars to subSilver based styles.

Do you have a screenshot?
Back to top
lumpy burgertushie
Board Member



Joined: 18 Nov 2008

Posts: 266


flag
PostPosted: Mon Nov 16, 2015 1:58 am 
Post subject: Re: Adding Sidebars to subSilver based styles.

not much to show in a screen shot. subsilver2 with a sidebar/column either on one side or the other or both.
you can put whatever you want in the sidebars/columns.

test it on your board to see how it looks.
or, you can look here:
http://www.phpbbhacks.com/phpbb2/greystylusp/demo/

that is done in the same basic way and adds some phpbb navigation to the sidebar but you can put anything you want in it.

this one is actually closer to what it would look like:
http://www.phpbbhacks.com/phpbb2/phpbb-portal/demo/

robert
Back to top
Display posts from previous:   
Register or Login to Post    Index » Knowledge Base (KB)  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 4 Hours
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0378 seconds using 16 queries. (SQL 0.0083 Parse 0.0005 Other 0.0290)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo