Seite 1 von 2

Links im Intro und Portal

Verfasst: 06.07.2003 10:43
von stan
Hallo ;-)

Ich habe das Portal von AWSW installiert und bekomme
die Links in der overall_header nicht zentriert!

hier der code

Code: Alles auswählen

<td  height="25" valign="top" align="center" nowrap="nowrap"><span class="mainmenu" ><b>&nbsp;<a href="{U_IntroPortalMOD1}">{L_IntroPortalMOD1}</a>&nbsp;   &nbsp;<a href="{U_IntroPortalMOD2}">{L_IntroPortalMOD2}</a>&nbsp;   &nbsp;<a href="{U_IntroPortalMOD3}">{L_IntroPortalMOD3}</a>&nbsp;
</tr>
gibts da nen trick?!?

Verfasst: 06.07.2003 11:23
von Elvis
bin zwar gerade am umgestalten aber so habe ich das gemacht

Code: Alles auswählen

<table cellspacing="0" cellpadding="2" border="0">
				
				     <tr>
       <td align="center" class="catHead">

           <a href="{U_IntroPortalMOD1}"class="mainmenu">{L_IntroPortalMOD1}</a>&nbsp;
           <a href="{U_IntroPortalMOD2}"class="mainmenu">{L_IntroPortalMOD2}</a>&nbsp;
           <a href="{U_IntroPortalMOD3}"class="mainmenu">{L_IntroPortalMOD3}</a>&nbsp;
       </td>
       </tr>

       <tr>
       <td align="center" class="catHead">

       <!-- BEGIN switch_user_logged_out -->
            <a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a>&nbsp;
       <!-- END switch_user_logged_out -->

           <a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a>&nbsp;
           <a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a>&nbsp;
           <a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a>&nbsp;
    <!---- AUS <a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>&nbsp;  -->
           <a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a>&nbsp;
           <a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a>&nbsp;
           <a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>&nbsp;
       </td>
       </tr>
       </table>  
[ externes Bild ]

Verfasst: 06.07.2003 11:32
von stan
es geht mir ja nur um die Links " Intro" Portal" Index"

die lassen sich nicht zentrieren!

egal was ich mache, die bleiben auf der linken seite :-(

Verfasst: 06.07.2003 11:51
von Elvis
dann Poste doch mal mehr Zeilen von der overall_header.tpl.

was steht da drüber und da drunter?

Verfasst: 06.07.2003 11:54
von stan
Hier die komplette overall_header

Code: Alles auswählen

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html 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 http-equiv="Page-Enter" content="blendTrans(Duration=0.3)">  
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.3)">
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
{META} {NAV_LINKS} 
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/illusion/{T_HEAD_STYLESHEET}" type="text/css">
<!-- 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 -->
<script language="JavaScript" src="fade.js"></script>
{GREETING_POPUP}
<script language="JavaScript" type="text/javascript">
<!--
function hideLoadingPage() {
	if (document.getElementById) {  // DOM3 = IE5, NS6
		document.getElementById('hidepage').style.visibility = 'hidden';
	}
	else {
		if (document.layers) {  // Netscape 4
			document.hidepage.visibility = 'hidden';
		}
		else {  // IE 4
			document.all.hidepage.style.visibility = 'hidden';
		}
	}
}
//  End -->
</script>
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" onload="hideLoadingPage()" />

<div id="hidepage" style="position: absolute; left:0px; top:0px; background-color: {T_BODY_BGCOLOR}; layer-background-color: {T_BODY_BGCOLOR}; height: 100%; width: 100%;">
<table width="100%" height="100%">
  <tr>
	<td align="center" valign="middle">
		<table width="50%" align="center" style="border: 1 {T_BODY_LINK} solid">
		  <tr>
			<td align="center" class="row1"><span class="genmed"><br /><b>{L_PAGE_LOADING_WAIT}</b><br /><br /><img src="images/loading.gif"><br /><br />{L_PAGE_LOADING_STOP}<br />&nbsp;</span></td>
		  </tr>
		</table>
	</td>
  </tr>
</table>
</div>
<a name="top"></a>
<table width='100%' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF' align='center' valign='middle'>
  <tr> 
    <td width="100%"> 
    <div align="center">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><img src="templates/illusion/images/head/h_logo_l.png" width="89" height="80" alt="graphic"></td>
          <td><img src="templates/illusion/images/head/h_logo_r.png" width="144" height="80" alt="logo"></td>
          <td><img src="templates/illusion/images/head/h_pane1.png" width="128" height="80" alt="logo"></td>
          <td><img src="templates/illusion/images/head/h_pane2.png" width="116" height="80" alt="graphic"></td>
          <td><img src="templates/illusion/images/head/h_pane3.png" width="75" height="80" alt="graphic"></td>
          <td class="h_tile" width="100%" align="right">&nbsp;</td>
        </tr>
      </table>
    </div>
    <table class="navbar" width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr> 
        <td valign="middle"><img src="templates/illusion/images/head/head_naveye.png" width="94" height="25"> 
        </td>
        <td valign="middle" width="100%"> 
          <!-- BEGIN switch_user_logged_out -->
          &nbsp; <a href="{U_REGISTER}"><img src="templates/illusion/images/head/nav_register.gif" border="0" alt="register for membership and its benifits"></a> 
          &nbsp; <a href="{U_LOGIN_LOGOUT}"><img src="templates/illusion/images/head/nav_login.gif" border="0" alt="login"></a> 
          <!-- END switch_user_logged_out -->
          &nbsp; <a href="{U_PROFILE}"><img src="templates/illusion/images/head/nav_profile.gif" border="0"></a> 
          &nbsp; <a href="{U_PRIVATEMSGS}"><img src="templates/illusion/images/head/nav_pm.gif" border="0" alt="Private messaging system, must be logged in to use"></a> 
          &nbsp; <a href="{U_GROUP_CP}"><img src="templates/illusion/images/head/nav_groups.gif" alt="User groups" border="0"></a> 
          &nbsp; <a href="{U_MEMBERLIST}"><img src="templates/illusion/images/head/nav_members.gif" border="0" alt="memberlist"></a> 
          &nbsp; <a href="{U_SEARCH}"><img src="templates/illusion/images/head/nav_search.gif" border="0" alt="search the forums"></a> 
          <!-- BEGIN switch_user_logged_in -->
          &nbsp; <a href="{U_LOGIN_LOGOUT}"><img src="templates/illusion/images/head/nav_logout.gif" border="0" alt="logout "></a> 
          <!-- END switch_user_logged_in -->
          &nbsp; <a href="{U_FAQ}"><img src="templates/illusion/images/head/nav_faq.gif" alt="Freqently ask questions about the forum" border="0"></a> 
        </td></b></span></td>
      </tr>
<tr> 
       <td  height="25" valign="top" align="center" nowrap="nowrap"><span class="mainmenu" ><b>&nbsp;<a href="{U_IntroPortalMOD1}">{L_IntroPortalMOD1}</a>&nbsp;   &nbsp;<a href="{U_IntroPortalMOD2}">{L_IntroPortalMOD2}</a>&nbsp;   &nbsp;<a href="{U_IntroPortalMOD3}">{L_IntroPortalMOD3}</a>&nbsp; 
</tr>

    </table>
    <div align="center">
    <table class="h_shadowbar" width="100%" border="0" cellspacing="0" cellpadding="12"> 
    <tr>
          
      <td align="right"> <br /><br />
<tr>

Verfasst: 06.07.2003 12:05
von Elvis
mach mach am ende ein

Code: Alles auswählen

</td>

Code: Alles auswählen

href="{U_IntroPortalMOD3}">{L_IntroPortalMOD3}</a>&nbsp; 
</tr> </td>

Verfasst: 06.07.2003 12:10
von stan
immer noch das selbe :-(

Verfasst: 06.07.2003 12:14
von AWSW
Hallo stan,
editiere die overall_header.tpl noch mal laut Anleitung, sieht irgendwie nicht nach dem eigentlichen Code aus:
# 9.:
# Anpassungen für die Links im Menü im Header (Beispiel subSilver):
# Dies musst Du für jedes Deiner Templates wiederholen ;o)

# Öffne "/template/subSilver/overall_header.tpl" und suche:

<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
</tr>

# Darunter anfügen:

<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><b>&nbsp;<a href="{U_IntroPortalMOD1}">{L_IntroPortalMOD1}</a>&nbsp; &nbsp;<a href="{U_IntroPortalMOD2}">{L_IntroPortalMOD2}</a>&nbsp; &nbsp;<a href="{U_IntroPortalMOD3}">{L_IntroPortalMOD3}</a>&nbsp;</b></span></td>
</tr>

Verfasst: 06.07.2003 12:20
von stan
das ist das Illusion team und etwas anders als das subsilver

die zeilen sind ja anders oder fehlen!

wo genau muss das denn drunter??

Verfasst: 06.07.2003 12:29
von stan
also ich hab es jetzt nochmal neu gemacht und es geht nicht.

Die links bleiben immer noch auf der linken seite