MyBB.de Forum

Normale Version: Header und Index ????
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2
...........
hallo,

ich hoffe ihr hattet einen guten start ins neue jahr...

nach dem trubel habe mich wieder zu meiner seite gewidmet...

Link

soweit so gut...jedoch gefällt mir der wellcome block und navigatin nicht...

würde unter dem logo die navigation einfügen...siehe anhang...
wer kann mir helfen das hinzukriegen???

cu
Bigmemo
Bitte poste den Inhalt des Templates "header", denn dort müssen die Änderungen vorgenommen werden.
Hallo Micheal,

hier mein Header und Index...

header:
Code:
    <script language="Javascript" type="text/javascript">
         var cookieDomain = "$settings[cookiedomain]";
         var cookiePath = "$settings[cookiepath]";
         var quickdelete_confirm = "$lang->quickdelete_confirm";
         var newpm_prompt = "$lang->newpm_prompt";
         var deleteevent_confirm = "$lang->deleteevent_confirm";
         var removeattach_confirm = "$lang->removeattach_confirm";
    </script>
    <a name="top"></a>
    <div id="container">
        <div id="header">
            <div class="logo"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div>
            <div class="menu"> <ul>
                    
                    
                    
                    
                </ul> <ul>
                    
                    
                    
                    
                </ul>
                <ul>
                    
                    
                    
                    
                </ul>
            </div>
            <hr class="hidden" />
            <div id="panel">
                $welcomeblock
            </div>
        </div>          
                <hr class="hidden" />
        <br class="clear" />
        <div id="content">
            $bannedwarning
            $bbclosedwarning
            $unreadreports
            <navigation>
            <br class="clear" />

index
Code:
<html>
<head>
<title>$settings[bbname]</title>
$headerinclude
</head>
<body>
$header <table width="100%" cellspacing="$theme[borderwidth]">
<tr>
  <td valign="top" align="right">
<div class="bottommenu"><span class="smalltext">$logoutlink ::<a href="$settings[bburl]/search.php"> $lang->toplinks_search</a> :: <a href="$settings[bburl]/memberlist.php">$lang->toplinks_memberlist</a> :: <a href="$settings[bburl]/calendar.php">$lang->toplinks_calendar</a> :: <a href="$settings[bburl]/misc.php?action=help">$lang->toplinks_help</a></td>
</tr>
</table><br />
$overview
$forums
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><a href="javascript:expandCollapse('boardstats');"><img src="$theme[imgdir]/collapse$collapsedimg[boardstats].gif" id="boardstats_collapseimg" border="0" alt="[-]" /></a></div>
<div><strong>$lang->boardstats</strong></div>
</td>
</tr>
</thead>
<tbody style="$collapsed[boardstats_e]" id="boardstats_e">
$whosonline
$birthdays
$forumstats
</tbody>
</table>
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" align="left">
<table cellspacing="0" cellpadding="2" border="0">
<tr><td><img src="$theme[imgdir]/on.gif" alt="$lang->new_posts" /></td><td class="trow"><span class="smalltext">$lang->new_posts</span></td></tr>
<tr><td><img src="$theme[imgdir]/off.gif" alt="$lang->no_new_posts" /></td><td class="trow"><span class="smalltext">$lang->no_new_posts</span></td></tr>
<tr><td><img src="$theme[imgdir]/offlock.gif" alt="$lang->forum_locked" /></td><td class="trow"><span class="smalltext">$lang->forum_locked</span></td></tr>
</table>
</td>
<td valign="top" align="right">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td valign="top" align="right">
<span class="smalltext">

<a href="misc.php?action=markread">$lang->markread</a> | <a href="showteam.php">$lang->forumteam</a> | <a href="stats.php">$lang->forumstats</a></span>
</td></tr>
$loginform
</table>
</td></tr>
</table>
</td></tr>
</table>
$footer
</body>
</html>


danke für deine mühen....


cu
Bigmemo

header:
Code:
    <script language="Javascript" type="text/javascript">
         var cookieDomain = "$settings[cookiedomain]";
         var cookiePath = "$settings[cookiepath]";
         var quickdelete_confirm = "$lang->quickdelete_confirm";
         var newpm_prompt = "$lang->newpm_prompt";
         var deleteevent_confirm = "$lang->deleteevent_confirm";
         var removeattach_confirm = "$lang->removeattach_confirm";
    </script>
    <a name="top"></a>
    <div id="container">
        <div id="header">
            <div class="logo"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div>
        [color=red]    <navigation>[/color]

<div class="menu"> <ul>
                    
                    
                    
                    
                </ul> <ul>
                    
                    
                    
                    
                </ul>
                <ul>
                    
                    
                    
                    
                </ul>
            </div>
            <hr class="hidden" />
            <div id="panel">
                $welcomeblock
            </div>
        </div>          
                <hr class="hidden" />
        <br class="clear" />
        <div id="content">
            $bannedwarning
            $bbclosedwarning
            $unreadreports
            [color=red]  [/color]
            <br class="clear" />

Verschiebe <navigation> wie oben dann geht es.
.........
hallo,

leider brachte die änderung kein erfolg...


cu
Bigmemo
Template header:
Code:
<script language="Javascript" type="text/javascript">
var cookieDomain = "$settings[cookiedomain]";
var cookiePath = "$settings[cookiepath]";
var quickdelete_confirm = "$lang->quickdelete_confirm";
var newpm_prompt = "$lang->newpm_prompt";
var deleteevent_confirm = "$lang->deleteevent_confirm";
var removeattach_confirm = "$lang->removeattach_confirm";
</script>
<a name="top"></a>
<div id="container">
<div id="header">
<div class="logo">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="center" valign="top"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div></td>
    </tr>
    <tr>
      <td align="center" valign="top">[b]<!-- Deine Buttons hier! -->[/b]</td>
    </tr>
  </table>
<hr class="hidden" />
<div id="panel">
$welcomeblock
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
$bannedwarning
$bbclosedwarning
$unreadreports
<navigation>
<br class="clear" />
.......
hallo,

habe leider immer noch kein erfolg???

Zitat:...........
<a name="top"></a>
<div id="container">
<div id="header">
<div class="logo"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div></td></tr>


<tr>
<td align="center" valign="top"><img src="../image/buttonhome.gif" border="0" /></td>
</tr>
</table>

<hr class="hidden" />
<div id="panel">
$welcomeblock
</div>
</div>
<hr class="hidden" />.........

rot ist das was ich eingefügt habe...mein button "buttonhome.gif" liegt im image ordner...habe verschiedene variationen probiert mit pfadangabe...
Sad


PS: ok habe den fehler gefunden...nun sieht man die buttons...jetzt aber das schwierigere für mich...wie verknüpfe ich die buttons mit den entsprechenden funktionen...


cu
Bigmemo
.........
hallo,
hatte "image" statt "images" geschrieben...

Zitat:...........
<a name="top"></a>
<div id="container">
<div id="header">
<div class="logo"><a href="$settings[bburl]/index.php"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div></td></tr>


<tr>
<td align="center" valign="top"><img src="/images/buttonhome.gif" border="0" /></td>
</tr>
</table>


<hr class="hidden" />
<div id="panel">
$welcomeblock
</div>
</div>
<hr class="hidden" />.........

also was müsste ich jetzt ändern, so das bei betätigung zur indexseite("home") kommt...
es wäre nicht schlecht wenn man das ganze mit hover effekt machen könnte (vielleicht mit CSS???)

cu
Bigmemo

...........
hallo Michael,

habe jetzt auch geschafft die buttons zu verlinken...

mein Header sieht so aus:
Zitat:.
.
.
<table align="center" border="0">
<tr>

<td align="center" valign="top">
<a href="$settings[bburl]/index.php"><img src="/images/buttonhome.png" border="0" alt="Home"></a></td>

<td align="center" valign="top">
<a href="$settings[bburl]/usercp.php"><img src="/images/buttonprofil.png" border="0" alt="Profil"></a></td>

<td align="center" valign="top">
<a href="$settings[bburl]/misc.php?action=help"><img src="/images/buttonhilfe.png" border="0" alt="Hilfe"></a></td>

<td align="center" valign="top">
<a href="$settings[bburl]/private.php"><img src="/images/buttonpnach.png" border="0" alt="Priv.Nachrichten"></a></td>

<td align="center" valign="top">
<a href="$settings[bburl]/search.php"><img src="/images/buttonsuchen.png" border="0" alt="Suchen"></a></td>

<td align="center" valign="top">
<a href=$logoutlink><img src="/images/buttonabmelden.png" border="0" alt="Abmelden"></a></td>

</tr>
</table>
.
.
.

Link

mit dem Abmelden klappt es nicht???wie nun weiter???

cu
Bigmemo
Der Link zum Abmelden lautet: member.php?action=logout&amp;uid=$mybbuser[uid]
Seiten: 1 2