Seite 1 von 1

overall_header.tpl - Style Problem Forum zentriert anzeigen

Verfasst: 16.12.2008 14:17
von cester
Hallo, ich habe ein kleines Problem!
Ich möchte mein Forum im Browserfenster zentriert anzeigen lassen.

Momentan sieht das Ganze so aus:
http://forum.pinkcams.eu/index.php

Der Quellcode der overall_header.tpl sieht so aus:

Code: Alles auswählen

<!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}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="Author" content="http://www.phpbbstyles.com" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_TEMPLATE_PATH}/style.php?color={T_COLOR}&hover={TPL_CFG_HOVER}&top={TPL_CFG_TOP}&topicview={TPL_CFG_TOPICVIEW}&grad_bg={TPL_CFG_GRAD_BG}&grad_color={TPL_CFG_GRAD_COLOR}&grad={TPL_CFG_GRAD}" type="text/css" />
<script language="javascript" type="text/javascript" src="{T_TEMPLATE_PATH}/scripts.js"></script>
<!-- IE conditional comments: http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp -->
<!--[if IE]>
<style type="text/css">
/* IE hack to emulate the :hover & :focus pseudo-classes
   Add the selectors below that required the extra attributes */
.row1h, .row1h-new, .row2h, .row3h { behavior: url("{T_TEMPLATE_PATH}/pseudo-hover.htc"); }
</style>
<![endif]-->
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
/*
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
*/
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body onload="PreloadFlag = true;">
<a name="top"></a>
<!-- IF XS_VERSION < 6 --><div style="width: 50%; margin: 5px auto; padding: 20px; text-align: center; border: solid 1px black; background-color: #F0F0F0; color: black; font-size: 13px; font-weight: bold;">
	This phpBB style <u>requires</u> eXtreme Styles mod 2.1.0 or newer version and will not work properly without it.<br /><br />
	You can get latest eXtreme Styles mod at <a href="http://www.phpbbstyles.com">phpBBStyles.com</a>
</div><!-- ENDIF -->
<table width="90%" cellspacing="0" cellpadding="0">
<tr>
	<td width="9" height="47" valign="bottom"><img src="{T_IMAGESET_PATH}/logo_left.gif" width="9" height="47" alt="" /></td>
	<td width="90%" class="logo">
    <table width="850" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse" bordercolor="#111111">
	<tr>
		<td align="left"><a href="{U_INDEX}"><img src="{T_IMAGESET_PATH}/logo.gif" height="47" alt="{L_INDEX}" /></a></td>
		<!-- IF ! S_LOGGED_IN && TPL_CFG_FLASH --><td align="right"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="250" height="47" id="swf_login"><param name="movie" value="{T_IMAGESET_PATH}/login.swf?sid={S_SID}&action={S_LOGIN_ACTION3}" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" />
          <embed src="{T_IMAGESET_PATH}/login.swf?sid={S_SID}&action={S_LOGIN_ACTION3}" quality="high" bgcolor="#FFFFFF" width="250" height="47" name="swf_login" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object></td><!-- ENDIF -->
	</tr>
	</table></td>
	<td width="9" valign="bottom"><img src="{T_IMAGESET_PATH}/logo_right.gif" width="9" height="47" alt="" /></td>
</tr>
<tr>
	<td height="22"><img src="{T_IMAGESET_PATH}/buttons_left1.gif" width="9" height="22" alt="" /></td>
	<td class="buttons1" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="12" align="right"><img src="{T_IMAGESET_PATH}/buttons_left2.gif" width="12" height="22" alt="" /></td>
		<td class="buttons" nowrap="nowrap" valign="top">
				&nbsp;
				<!-- IF TPL_CFG_HOME == 1 -->
				<a href="{TPL_CFG_HOME_URL}">{TPL_CFG_HOME_TEXT}</a>
				<img src="{T_IMAGESET_PATH}/buttons_spacer.gif" alt="" />
				<!-- ENDIF -->
				<!-- IF ! S_LOGGED_IN -->
				<a href="{U_REGISTER}">{L_REGISTER}</a>
				<img src="{T_IMAGESET_PATH}/buttons_spacer.gif" alt="" />
				<!-- ENDIF -->
				<!-- IF S_LOGGED_IN -->
				<a href="{U_PROFILE}">{L_PROFILE}</a>
				<img src="{T_IMAGESET_PATH}/buttons_spacer.gif" alt="" />
				<a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}<!-- IF C_PM -->{C_PM}<!-- ELSE --> (0)<!-- ENDIF --></a>
				<img src="{T_IMAGESET_PATH}/buttons_spacer.gif" alt="" />
				<!-- ENDIF -->
				<a href="{U_SEARCH}">{L_SEARCH}</a>
				<img src="{T_IMAGESET_PATH}/buttons_spacer.gif" alt="" />
				<a href="{U_FAQ}">{L_FAQ}</a>
				<img src="{T_IMAGESET_PATH}/buttons_spacer.gif" alt="" />
				<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>
				<img src="{T_IMAGESET_PATH}/buttons_spacer.gif" alt="" />
				<a href="{U_GROUP_CP}">{L_USERGROUPS}</a>
				<img src="{T_IMAGESET_PATH}/buttons_spacer.gif" alt="" />
				<a href="{U_LOGIN_LOGOUT}">{CA_L_LOGIN_LOGOUT}</a>
				&nbsp;
		</td>
		<td width="12" align="left"><img src="{T_IMAGESET_PATH}/buttons_right2.gif" width="12" height="22" alt="" /></td>
	</tr>
	</table></td>
	<td><img src="{T_IMAGESET_PATH}/buttons_right1.gif" width="9" height="22" alt="" /></td>
</tr>
    </table>
Kann mir da jemand helfen?

Und ich habe noch ein Problem:
In der Fußzeile unten möchte ich noch weitere Punkte ergänzen wie z.B. ein Impressum, ein Kontaktlink, usw... ich habe schon versucht in der Datei overall_footer.tpl und in der simple_footer.tpl etwas zu ändern, jedoch wird das im Forum nicht angezeigt! Woran könnte hier das Problem liegen?

Vielen lieben Dank für eure Hilfe!!!

Re: overall_header.tpl - Style Problem Forum zentriert anzei

Verfasst: 16.12.2008 14:46
von tsccom
cester hat geschrieben:Hallo, ich habe ein kleines Problem!
Ich möchte mein Forum im Browserfenster zentriert anzeigen lassen.

Momentan sieht das Ganze so aus:
http://forum.pinkcams.eu/index.php

Der Quellcode der overall_header.tpl sieht so aus:
....

Kann mir da jemand helfen?
Einfach in der overall_header.tpl nen offenen center-Tag machen, so würd ichs jedenfalls machen :D [ <center> ].... Nur das sieht dann halt total scheiße aus :-)
cester hat geschrieben:Und ich habe noch ein Problem:
In der Fußzeile unten möchte ich noch weitere Punkte ergänzen wie z.B. ein Impressum, ein Kontaktlink, usw... ich habe schon versucht in der Datei overall_footer.tpl und in der simple_footer.tpl etwas zu ändern, jedoch wird das im Forum nicht angezeigt! Woran könnte hier das Problem liegen?
Meinst du da wo das Copyright steht? Müsste eigentlich auch in der overall_footer.tpl zu ändern sein, kannst es aber auch über /language/lang_german/lang_main.php ändern. Such da einfach nach der richtigen Stelle und ergänze deinen Code.

Verfasst: 16.12.2008 19:43
von S2B

Code: Alles auswählen

<table width="90%" cellspacing="0" cellpadding="0" align?"center">
eine der Möglichkeiten... :wink:

Zum zweiten: Vielleicht ein Cache-Problem? Sieht ja so aus, als ob du den eXtreme Styles MOD verwenden, meines Wissens hat der einen Cache...
Ansonsten: Die overall_footer.tpl ist definitiv die richtige Datei.

Verfasst: 16.12.2008 21:11
von tsccom
S2B hat geschrieben:

Code: Alles auswählen

<table width="90%" cellspacing="0" cellpadding="0" align?"center">
Kleine Verbesserung:

align="center" ^^
S2B hat geschrieben:Ansonsten: Die overall_footer.tpl ist definitiv die richtige Datei.
Ja klar, aber das Copyright steht glaub ich auch in der lang_main.php und ich habe dort die Links auch eingefügt, also in der lang_main.php bei TRANSLATION_INFO... O.O

PS: Warum hat dieser Beitrag eigentlich einen Titel mit Re: .... ? Ich hab doch gar keinen Titel eingegeben O.O

Verfasst: 16.12.2008 22:08
von cester
Ok, super hat geklappt!

Wie bekomm ich das jetzt noch hin, dass die runden Ecken auf der rechten Seite an der Haupttabelle anschließen?

Momentan stehen die ja nach links versetzt...

Verfasst: 17.12.2008 13:17
von cester
Hat vielleicht jemand ne Idee, wie ich das Problem lösen könnte das die "Ecken" am Design anschließen?

Das mit dem Footer klappt immer noch nicht! In der overall_footer.tpl ist gar kein Inhalt hinterlegt und es existiert eine simple_footer.tpl, in dieser ich den Text schon geändert habe, es aber nicht im Forum angezeigt wird...

Verfasst: 17.12.2008 13:51
von cester
Ok, das Problem mit den "Ecken" habe ich behoben!!!