Navigation links

websurfer1989
Hallo!

Ich weiss das es bereits einen hack gibt der die Buttons nach rechts setzt, jedoch ist das viel zu aufwendig und möchte keine Änderungen an der Datenbank mehr durchführen...

Kann mir trotzdem einer sagen wie ich folgendes hinkriege:

Habe eine Skizze davon angehängt...

Die Buttons unter dem hedaer weg, kann ich ja einfach in der Header.tpl löschen
Dann soll da Links eine Box hin also eine Fläche beid er ich die Hintergrundfarbe bestimmen kann und die Größe und da sollen die Buttons/Textlinks rein untereinander!
Diese Box soll links neben dem Forum sein, wie ind er Skizze erkennbar, egal ob fest oder ob sie mitscrollt.

Wie bekomme ich das hin?
Ich denke ich muss die Header.tpl bearbeiten, aber bin absoluter Neuling und hab kein plan wie und was...

Wäre sehr dankbar wenn mir einer helfen könnte!

greetz
Donkman
guck mal zum beispiel hier---> http://www.wbb-area.de/wbbarea/navilink.html
websurfer1989
Hallo!

Vielen dank schonmal!

Lieder gibt es da ein problem, die Box muss außerhalb der äußeren Tabelle sein und nicht innerhalb wie in diesem Code...
Siehe Anhang, nun sitzt die Box innerhalb der äußeren Spalte und links daneben ist der schwarze Rand, es soll ja aber links im schwarzen rand sein..
Ansonsten wäre das perfekt!

Kann mir einer sagen was ich ändern muss, das es so ist?

greetz
Donkman
ok, hab dir eben mal was getippt!

dann öffne mal dein template header und ersetze den inhalt kompletti mit diesem hier:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td class="logobackground" align="center" colspan="2"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
</tr>
<tr>
<td class="tablea"  style="width:15%" align="center" valign="top">
<table style="width:96%" cellpadding="3" cellspacing="1" align="center" border="0" class="tableoutborder">
<tr>
<td class="tabletitle" align="left" valign="top"><span class="smallfont"><b>*Navigation*</b></span></td>
</tr>
<tr>
<td class="tablea"  style="width:96%" align="left" valign="top"><span class="smallfont"><if($wbbuserdata['userid'])><then>&raquo; <a href="usercp.php{$SID_ARG_1ST}"><b>Profil</b></a><br />
&raquo; <a href="pms.php{$SID_ARG_1ST}"><b>Postfach</b></a><br /></then>
<else>&raquo; <a href="register.php{$SID_ARG_1ST}"><b>Register</b></a><br /></else></if>
&raquo; <a href="calendar.php{$SID_ARG_1ST}"><b>Kalender</b></a><br />
&raquo; <a href="memberslist.php{$SID_ARG_1ST}"><b>Mitglieder</b></a><br />
&raquo; <a href="team.php{$SID_ARG_1ST}"><b>Team</b></a><br />
&raquo; <a href="search.php{$SID_ARG_1ST}"><b>Suche</b></a><br />
&raquo; <a href="misc.php?action=faq{$SID_ARG_2ND}"><b>Hilfe</b></a><br />
<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then>&raquo; <a href="acp/index.php" target="_blank"><font color=#FF0000><b>Admin-CP</b></a></font><br /></then></if>
<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then>&raquo; <a href="acp/index.php" target="_blank"><font color=#FF0000><b>Mod-CP</b></a></font><br /></then></if>
&raquo; <a href="index.php{$SID_ARG_1ST}"><b>Forum</b></a></span></td>
</tr>
</table>
</td>
<td style="width:85%">

<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
 <tr>
  <td class="mainpage" align="center">
<br />


danach das template footer öffnen und ganz unten dies anhängen:
code:
1:
2:
3:
</td>
</tr>
</table>


danach sollte dein forum so in etwa aussehn (siehe screenshot)



Belehr vorher natürlich unbedingt die original-templates sichern, falls doch was schief gehn sollte! Augenzwinkern
websurfer1989
Also es hat soweit funktioniert, also es ist jetzt außerhalb der äußeren Tabelle, aber nun zieht sich die Box bzw. die Fläche bis runter bis zum Footerende...

Das was ich im Anhang rot markiert habe, sollte noch weg, also da ganz normal der Hintergrund sichtbar und eben nur oben diese kleine eingerahmte Box!

Wäre cool wenn dus villeicht nochmal ändern könntest...

Was ich ncoh vergessen hatte, meine jetzige Header.tpl sieht so aus:

##############################################
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="right" border="{$style['tableoutborder']}" class="tableoutborder">
<tr>
<td class="mainpage" align="center">
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
</tr>
<tr>

<body oncontextmenu="return false">
<meta http-equiv="imagetoolbar" content="no">



<td align="center"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" onmouseover="this.src='{$style['imagefolder']}/top_usercp_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_usercp.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a>

<a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_pms.gif" onmouseover="this.src='{$style['imagefolder']}/top_pms_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_pms.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then>

<else><a href="register1.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" onmouseover="this.src='{$style['imagefolder']}/top_register_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_register.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if>

<a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" onmouseover="this.src='{$style['imagefolder']}/top_calendar_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_calendar.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a>

<a href="locator.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_landkarte.gif" onmouseover="this.src='{$style['imagefolder']}/top_landkarte_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_landkarte.gif';" border="0" alt="{$lang->items['LANG_LOCATOR_TITLE']}" title="{$lang->items['LANG_LOCATOR_TITLE']}" /></a>

<a href="link_us.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_link_us.gif" onmouseover="this.src='{$style['imagefolder']}/top_link_us_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_link_us.gif';" border="0" alt="link us" title="link us" /></a>


<a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" onmouseover="this.src='{$style['imagefolder']}/top_members_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_members.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a>

<a href="team.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" onmouseover="this.src='{$style['imagefolder']}/top_team_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_team.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a>

<a href="partner2.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_partner.gif" onmouseover="this.src='{$style['imagefolder']}/top_partner_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_partner.gif';" border="0" alt="Partner" title="Partner" /></a>

<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="lilspy.php" target="_blank"><img src="{$style['imagefolder']}/top_ip.gif" onmouseover="this.src='{$style['imagefolder']}/top_ip_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_ip.gif';" border="0" alt="IP Suche" title="IP Suche" /></a></then></if>

<a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" onmouseover="this.src='{$style['imagefolder']}/top_search_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_search.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a>

<a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" onmouseover="this.src='{$style['imagefolder']}/top_faq_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_faq.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a>

<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" onmouseover="this.src='{$style['imagefolder']}/top_acp_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_acp.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if>

<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" onmouseover="this.src='{$style['imagefolder']}/top_modcp_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_modcp.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if>

<a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.gif" onmouseover="this.src='{$style['imagefolder']}/top_start_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_start.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a>
</span></td>


</tr>

</table><br />

##############################################

Da ich einen Mouse Over-Effekt drinne habe und vorallem ein paar Buttons mehr als normal, könntest du die gleich mit ins Template schreiben?

Das wäre sehr nice...

greetz
websurfer1989
Kann mir keiner helfen? Versagt

Wäre sehr dringend...

greetz
websurfer1989
Sorry jetz is es schon ein Tripplepost, aber ich hab es leider in der Zwischenzeit immernoch nicht hingekriegt!

meine jetzige Header.tpl sieht so aus:

##############################################
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="right" border="{$style['tableoutborder']}" class="tableoutborder">
<tr>
<td class="mainpage" align="center">
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
</tr>
<tr>

<body oncontextmenu="return false">
<meta http-equiv="imagetoolbar" content="no">



<td align="center"><span class="smallfont"><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" onmouseover="this.src='{$style['imagefolder']}/top_usercp_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_usercp.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a>

<a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_pms.gif" onmouseover="this.src='{$style['imagefolder']}/top_pms_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_pms.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then>

<else><a href="register1.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" onmouseover="this.src='{$style['imagefolder']}/top_register_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_register.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if>

<a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" onmouseover="this.src='{$style['imagefolder']}/top_calendar_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_calendar.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a>

<a href="locator.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_landkarte.gif" onmouseover="this.src='{$style['imagefolder']}/top_landkarte_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_landkarte.gif';" border="0" alt="{$lang->items['LANG_LOCATOR_TITLE']}" title="{$lang->items['LANG_LOCATOR_TITLE']}" /></a>

<a href="link_us.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_link_us.gif" onmouseover="this.src='{$style['imagefolder']}/top_link_us_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_link_us.gif';" border="0" alt="link us" title="link us" /></a>


<a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" onmouseover="this.src='{$style['imagefolder']}/top_members_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_members.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a>

<a href="team.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" onmouseover="this.src='{$style['imagefolder']}/top_team_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_team.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a>

<a href="partner2.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_partner.gif" onmouseover="this.src='{$style['imagefolder']}/top_partner_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_partner.gif';" border="0" alt="Partner" title="Partner" /></a>

<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="lilspy.php" target="_blank"><img src="{$style['imagefolder']}/top_ip.gif" onmouseover="this.src='{$style['imagefolder']}/top_ip_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_ip.gif';" border="0" alt="IP Suche" title="IP Suche" /></a></then></if>

<a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" onmouseover="this.src='{$style['imagefolder']}/top_search_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_search.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a>

<a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" onmouseover="this.src='{$style['imagefolder']}/top_faq_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_faq.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a>

<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" onmouseover="this.src='{$style['imagefolder']}/top_acp_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_acp.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if>

<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" onmouseover="this.src='{$style['imagefolder']}/top_modcp_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_modcp.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if>

<a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.gif" onmouseover="this.src='{$style['imagefolder']}/top_start_over.gif';" onmouseout="this.src='{$style['imagefolder']}/top_start.gif';" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a>
</span></td>


</tr>

</table><br />

##############################################

Da ich einen Mouse Over-Effekt drinne habe und vorallem ein paar Buttons mehr als normal, könnte mir evtl. bitte jemand das so posten, dass ich es direkt kopieren kann???

Das wäre sehr nice...

Das Prob is immernoch das von 2 Posts weiter oben!

Ihr könnt mich auch gern über ICQ anschreiben! Nr: 283-440-854

Wäre ich sehr dankbar!

greetz