Begging for help

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Scam Warning
Locked
Wingzfan
Registered User
Posts: 441
Joined: Wed Jan 25, 2006 4:55 pm

Begging for help

Post by Wingzfan »

Ive tried to go at this on my own and Im so close but I cant get it to line up in the footer.

If you look here http://www.the-drive.net/phpBB3/ Youll see I have added a left side menu area to go outside the forums.

If you notice the footer though, the page doesnt close. However if you go into the forum its is closed perfectly. Can anyone please help me close the footer properly. Id greatly appreciate it. Id prefer to have it all wrapped in the sides of the forums but I cant figure out how to close that either.

Below is my Overall_header.html as well as the footer.

Im also using the pearl black template.

Header:

Code: Select all

<!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" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<!-- INCLUDE _mg_config.html -->

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript" src="{T_TEMPLATE_PATH}/scripts.js"></script>
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<!--[if lt IE 7]>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script>
<![endif]-->

</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>
 <a name="top"></a>
    <table width="100%" border="0" cellspacing="10" cellpadding="0">
           <tr>
           <td width="200" align="left" valign="top" class="bodyline">
              <table width="200" border="0" cellpadding="10" cellspacing="0" bgcolor="#0000CC">
                       <tr>
                       <td><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">Left column in here..</font></td>
                        </tr>
                      </table>
           </td>
                <td align="left">
<div style="width:{$MG_GLOBAL_WIDTH};clear:both;margin: 0 auto;">
<table width="900" align="center" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td class="leftshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
		<td class="np-body" width="100%" valign="top">

<div id="top_logo">
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#666666">
<tr>
<td height="120" align="center" valign="middle" style="background-repeat:no-repeat"><a href="{U_INDEX}"></a>
  <h1>
  <EMBED src=http://www.the-drive.net/phpBB3/images/Movie1.swf  
WIDTH=900 HEIGHT=130 type="text/html;  
charset=iso-8859-1" quality="high" menu=false bgcolor="cedcec">
  </td>
</tr>
</table>
</div>

<table width="100%" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td width="100%" colspan="3" align="center"><!-- IF not S_IS_BOT -->
        <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;&nbsp;&nbsp;
      <!-- ENDIF -->
      &nbsp;&nbsp;&nbsp;
        <!-- IF U_RESTORE_PERMISSIONS -->
      <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>&nbsp;&nbsp;&nbsp;
      <!-- ENDIF -->
        <!-- IF not S_IS_BOT -->
        <!-- IF S_USER_LOGGED_IN -->
        <!-- IF S_DISPLAY_PM -->
      <a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>
      <!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->
      <a href="#"> / </a><a href="{U_PRIVATEMSGS}" class="pm-new-link">{PRIVATE_MESSAGE_INFO_UNREAD}</a>
      <!-- ENDIF -->
      &nbsp;&nbsp;&nbsp;
      <!-- ENDIF -->
        <!-- ELSE -->
      <a href="{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;&nbsp;
        <!-- ENDIF -->
        <!-- ENDIF -->
        <!-- IF not S_IS_BOT -->
        <!-- IF S_USER_LOGGED_IN -->
      &nbsp;&nbsp;&nbsp;
      <!-- ENDIF -->
        <!-- IF S_DISPLAY_MEMBERLIST -->
      &nbsp;&nbsp;&nbsp;
      <!-- ENDIF -->
        <!-- ENDIF -->        </td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
	<td width="100%" colspan="0" align="center" class="forum-buttons">	
</td>
</tr>
</table>
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --><span style="color:#CC3333;">{L_BOARD_DISABLED}</span><!-- ENDIF -->

<div id="wrapcentre">

<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<div style="margin-top:50px;margin-bottom:50px;text-align:center;clear:both;"><div class="popuppm-new"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div></div>
<!-- ENDIF -->

Footer:

Code: Select all

<div style="text-align:center;"><!-- IF U_ACP --><br /><br /><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF --></div>

	<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>

<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.

	The phpBB Group : 2006
//-->

<div id="bottom_logo_ext">
<div id="bottom_logo">
	<table width="100%" cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td class="np" nowrap="nowrap" width="250" align="left">
				<span class="copyright">&nbsp;Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2007 phpBB Group</span>
			</td>
			<td class="np" nowrap="nowrap" align="center">
				<div style="text-align:center;">
				<span class="copyright">
				<br /><!-- IF TRANSLATION_INFO -->{TRANSLATION_INFO}<br /><!-- ENDIF -->
				<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --><br />
				</span>
				</div>
			</td>
			<td class="np" nowrap="nowrap" width="250" align="right">
				<span class="copyright">Design by <a href="http://www.icyphoenix.com" target="_blank">Mighty Gorgon</a>&nbsp;</span>
			</td>
		</tr>
	</table>
</div>
</div>
		</td>
		<td class="rightshadow" width="9" valign="top"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="9" height="1" /></td>
	</tr>
	</tr>
    </table>
</table>
</div>

<a name="bottom"></a>

</body>
</html>
Last edited by Wingzfan on Tue Oct 30, 2007 6:12 pm, edited 1 time in total.

Wingzfan
Registered User
Posts: 441
Joined: Wed Jan 25, 2006 4:55 pm

Re: Begging for help

Post by Wingzfan »

lol, now Ive got the index to close but cant close the footer in the viewforums

mike456
Registered User
Posts: 4
Joined: Wed Jan 09, 2008 4:11 pm

Re: Begging for help

Post by mike456 »

Hi, do you think you could possibly direct me to more information on how to get the sidebars added to the black pearl theme? I've been looking for days but cant find any information, I would really appreciate it.

Thanks,
Mike

Locked

Return to “[3.0.x] Styles Support & Discussion”