Tutorials
[PHPKit] Forenpfad in Fuß einbauen
12.03.2008 - 12:49

In diesen Tutorial zeige ich euch wie man den Pfad in dem Forum in den ihr seit unten in den Fuß vom Forum einbaut.Ich bin auf die Idee gekommen weil es mich immer gestört hat wenn man im Forum gepostet hat und man immer hochscrollen musste.So habe ich mir das in den Fuß unten eingebaut und seit dem ging es dann auch besser.
Also ich finde es ist sehr praktisch.
Ist eigentlich auch gar nicht schwer.
Geht bei euch in den Templates/Forum Ordner und sucht die fuss.htm
Dan öffnet sie und sucht ein bisschen weiter unten folgenden Quelltext




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

Quellcode


<table class="forumbottom" cellspacing="1" cellpadding="2" width="100%">
 <
tr>
  <
td class="heads">
    <
table border="0" cellspacing="0" cellpadding="0" width="100%">
        <
form name="forumjump" method="post" action="include.php?path=forum/jump.php">
        <
input type="hidden" name="remove_path" value="$current_path/>
      <
tr>
        
$forum_action
      
<td align="right" width="100%" nowrap><font class="headssmall">Gehe zu: &nbsp;</font></td>
      <
td nowrap>
        <
select name="jumpid" size="1" onChange="JumpSelect()">
        <
option value="main" $jump_main>Foren&uuml;bersicht</option>
        <
option value="search" $jump_search>Suche</option>
        <
option value="newthread" $jump_newthread>Neues Thema</option>
        <
option value="-1">_______________</option>
        <
option value="-1" $jump_target>Zielforum w&auml;hlen:</option>
        <
option value="-1">&nbsp;</option>
        
$forum_jump
        
</select>
        <
input type="submit" name="jump" value="$lang[go]"></td>
     </
tr>
        </
form>
    </
table>


Das ist das gehe zu bei euch im Forum.Ich selber benutzte es eh nie und so entferne ich es halt.Ihr löscht nun folgendes aus dem



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

Quellcode


<table class="forumbottom" cellspacing="1" cellpadding="2" width="100%">
 <
tr>
  <
td class="heads">
    <
table border="0" cellspacing="0" cellpadding="0" width="100%">
        <
font style="color: #FF3333"><form name="forumjump" method="post" action="include.php?path=forum/jump.php">
        <
input type="hidden" name="remove_path" value="$current_path/></font>
      <
tr>
        
$forum_action
     
<td align="right" width="100%" nowrap><font style="color: #FF3333"><font class="headssmall">Gehe zu: &nbsp;</font></td>
      <
td nowrap>
        <
select name="jumpid" size="1" onChange="JumpSelect()">
        <
option value="main" $jump_main>Foren&uuml;bersicht</option>
        <
option value="search" $jump_search>Suche</option>
        <
option value="newthread" $jump_newthread>Neues Thema</option>
        <
option value="-1">_______________</option>
        <
option value="-1" $jump_target>Zielforum w&auml;hlen:</option>
        <
option value="-1">&nbsp;</option>
        
$forum_jump
        
</select>
        <
input type="submit" name="jump" value="$lang[go]"></td></font>
     </
tr>
        </
form>
    </
table>


Das rotmarkierte raus löschen.Nun fügt ihr hinter den <td align="right" width="100%" nowrap> folgendes ein:



1
2

Quellcode


<font class="headssmall"><class="headssmall" href="include.php?path=forum/main.php"><b>Foren&uuml;bersicht</b></a><b>$forum_path</b></font>


der Code sollte dann insgesamt ungefähr so aussehen:



1
2
3
4
5
6
7
8
9
10
11
12

Quellcode


<table class="forumbottom" cellspacing="1" cellpadding="2" width="100%">
 <
tr>
  <
td class="heads">
    <
table border="0" cellspacing="0" cellpadding="0" width="100%">
      <
tr>
        
$forum_action
     
<td align="right" width="100%" nowrap>
<
font class="headssmall"><class="headssmall" href="include.php?path=forum/main.php"><b>Foren&uuml;bersicht</b></a><b>$forum_path</b></font>
</
td>
     </
tr>
    </
table>


Fragen zu dem Tut bitte ins Forum posten.
Viel Spaß zwinkern


BooGT


gedruckt am 08.09.2025 - 03:04
http://www.hth-c.com/include.php?path=content/content.php&contentid=779