forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Ka5 on October 29, 2009, 07:09:41 pm

Title: How to fix the sidebar
Post by: Ka5 on October 29, 2009, 07:09:41 pm
So I don't know where to put the sidebar in the code to make it so that they are side by side the gallery.

http://lexiainsworthgallery.sosugary.com/

I would like to have it on the left side and also a box around it and also have the menu that is on top to be in the sidebar.

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>Lexi Ainsworth Gallery</title>
{META}
<link rel="stylesheet" href="themes/water_drop/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<!--
  SVN version info:
  Coppermine version: 1.4.25
  $Revision: 5997 $
  $LastChangedBy: gaugau $
  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
-->
</head>
<body>
  <center><iframe src="http://www.sosugary.com/ads/banner.htm" width=728 height=90 scrolling=no marginwidth=0 marginheight=0 frameborder=0 allowTransparency=true></iframe></center>
  <table width="100%" border="0" cellpadding="20" cellspacing="20">
    <tr>
     
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%" align="center">
              <h1><img src=""></h1>
              <h3>{GAL_DESCRIPTION}</h3><br />
              {SYS_MENU}<br />{SUB_MENU}
            </td>
          </tr>
<table width="100%" class='0' cellspacing="5" cellpadding="1">
<tr>
<td width="210" class='0' valign="top">


<center>
<div class='maintitle2'>
Welcome
</div>
<div class="tablepad2"><span class='desc'>
Welcome to <b>Soundtrack</b>. This is a a General Hospital RP board where songs are going to tell you the storyline.
</span></div>
</div>
<br /></center>

<center>
<div class='maintitle2'>
News
</div>
<div class="tablepad2"><span class='desc'>

</span></div>
</div>
<br /></center>


<center>
<div class='maintitle2'>
The Girl in Charge
</div>
<div class="tablepad2"><span class='desc'>
<a href="http://z6.invisionfree.com/PCSoundtrack/index.php?showuser=2"><img height="50" width="50" src="http://img.photobucket.com/albums/v28/JourneyCarsonGQ/KD.png"></a>  <a href="http://z6.invisionfree.com/PCSoundtrack/index.php?showuser=3"><img height="50" width="50"  src="http://img.photobucket.com/albums/v28/JourneyCarsonGQ/LS.png"></a><br>

</span></div>
</div>
<br /></center>

<center>
<div class='maintitle2'>
Whom is Whom
</div>
<div class="tablepad2"><span class='desc'>
<b><u>Ka</b></u><br>
Lulu Spencer<br>
Kristina Davis<br><br>
<b><u>Erika</b></u><br>
Diane Miller<br>
Jerry Jacks<br><br>
<b><u>Tami</b></u><br>
Alexis Davis<br>
Ric Lasning<br>
Johnny Zacchara<br><br>
<b><u>Megan</b></u><br>
Elizabeth Webber<br><br>
<b><u>Bailey</b></u><br>
Lucky Spencer<br>
Dante Falconeri<br><br>
<b><u>Matilda</b></u><br>
Maxie Jones<br><br>
</span></div>
</div>
<br /></center>



<center>
<div class='maintitle2'>
Casting Call
</div>
<div class="tablepad2"><span class='desc'>
Michael Corinthos<br>
</span></div>
</div>
<br /></center>

<center>
<div class='maintitle2'>
Chat
</div>
<div class="tablepad2"><span class='desc'>
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="150" height="245" src="http://www.cbox.ws/box/?boxid=1080800&amp;boxtag=49xbwm&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#EDDEDB 1px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="150" height="75" src="http://www.cbox.ws/box/?boxid=1080800&amp;boxtag=49xbwm&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#EDDEDB 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->
</span></div>
</div>
<br /></center>


<center>
<div class="maintitle2">
Links
</div>
<div class="tablepad2"><span class='desc'>
<a href="http://z15.invisionfree.com/Before_We_Even_Began"target="_blank">Before We Even Began</a><br>
<a href="http://z6.invisionfree.com/BreakYourLittleHeart"target="_blank">Break Your Little Heart</a><br>
<a href="http://abcsoapsbrokengh.proboards.com/index.cgi"target="_blank">Broken</a><br>
<a href="http://dreamingla.proboards.com/index.cgi"target="_blank">Brick X Brick</a><br>
<a href="http://z3.invisionfree.com/Dangerous_Love"target="_blank">Dangerous Love</a><br>
<a href="http://guzawho.proboards.com"target="_blank">Family Portrait</a><br>
<a href="http://z6.invisionfree.com/Holding_On/index.php?act=idx"target="_blank">Keep Holding On</a><br>
<a href="http://z8.invisionfree.com/Never_Alone"target="_blank">Last Train Home</a><br>
<a href="http://z6.invisionfree.com/Me_And_My_Gang"target="_blank">Me And My Gang</a><br>
<a href="http://z6.invisionfree.com/Say_All_I_Need"target="_blank">Say All I Need</a><br>
<a href="http://wearebrokenghrp.proboards.com/index.cgi"target="_blank">We Are Broken</a><br>

</span></div>
</div>
<br /></center>

<center>
<div class='maintitle2'> 
Credits
</div>
<div class="tablepad2"><span class='desc'>
Banner by Melinda<br>
Sidebar: Dana <br>
Coding Help: <a href="http://forums.redcarpetrebellion.net/">RCR</a>
</span></div>
</div>
<br /></center>


<img src='http://209.85.48.8/style_images/1/spacer.gif' alt='' width='190' height='1' />
</td>
<!--SPACER-->
<td width="5" class='0'>&nbsp;</td>
<td width="90%" class='0' valign="top">
        </table>
        <img src="images/spacer.gif" width="1" height="15" alt="" />
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top">
              {ADMIN_MENU}
              {GALLERY}
              <div style="text-align:center;">
              <div>
  {LANGUAGE_SELECT_FLAGS}<br />
  {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
  </div>
  </div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  {CUSTOM_FOOTER}{VANITY}
</body>
</html>

Any help would be great. I know that this has been ask time after time. Please help out.
Title: Re: How to fix the sidebar
Post by: Jeff Bailey on October 29, 2009, 08:15:43 pm
It is messy, just edit it some to get it to look the way you want.
I just moved your code into a column above
Code: [Select]
<td valign="top">
              {ADMIN_MENU}
              {GALLERY}
              <div style="text-align:center;">
              <div>
  {LANGUAGE_SELECT_FLAGS}<br />
  {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
  </div>
  </div>
            </td>
Load the attached file into your "themes/your_theme" folder and rename the old "template.html" to "template.html.old". Renane the "template.html.txt" to "template.html".
Title: Re: How to fix the sidebar
Post by: Ka5 on October 29, 2009, 10:30:37 pm
Thank You so much for your help.
Title: Re: How to fix the sidebar
Post by: Jeff Bailey on October 29, 2009, 10:51:07 pm
Your welcome.
If your problem is solved can you resolve your thread (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631). Thanks.