MyBB.de Forum
Link in der Navi... - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Theme-Diskussionen (https://www.mybb.de/forum/forum-84.html)
+--- Thema: Link in der Navi... (/thread-10906.html)



Link in der Navi... - GreJan - 12.09.2008

Hallo,

ich habe bei mir nen externen Chat eigebaut, so wie Ihr, nun möchte ich ebenfalls so wie Ihr es habt einen Link in die Navigationsleiste einbauen, ich benutze das Theme was Ihr vor diesem hier gehabt habt.
Könnt Ihr mir da ein wenig zu Hand gehen...

Danke schon mal vorab...


RE: Link in der Navi... - Michael - 12.09.2008

Siehe: https://www.mybb.de/doku/haeufig-gestellte-fragen/wie-kann-ich-einen-link-im-oberen-menue-ergaenzen.html


RE: Link in der Navi... - GreJan - 12.09.2008

Das Template habe ich jetzt gefunden, der Link so ein externer Link sein, wie muß der Code aussehen.
Hier der Header-Code:

Zitat:<a name="top" id="top"></a>
<div id="header">
<div style="float: right;">
<form action="search.php" method="post">
<input type="text" id="search" name="keywords" value="Suchbegriff(e)" size="10" onfocus="this.value=''" class="input_text_searchbox" />
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="showresults" value="threads" />
</form>
</div>
<img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/logo.gif" alt="" border="0" />
</div>
<ul class="navtop"><li><a class="nav" href="{$mybb->settings['bburl']}/index.php">Home</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/portal.php">{$lang->toplinks_portal}</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
</ul>
<div class="clear"></div>
<a name="content" id="content"></a>
<div id="container">
<!--<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
<li><a href="portal.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/portal.gif" border="0" alt="Portal" />Portal</a></li>
</ul>
</div>-->
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
<hr class="hidden" />
<br class="clear" />
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<navigation>
{$board_messages}
<br />



RE: Link in der Navi... - linwinman - 12.09.2008

Hallo GreJan,

versuche es einmal mit diesem Code:
Code:
<a name="top" id="top"></a>
<div id="header">
<div style="float: right;">
<form action="search.php" method="post">
<input type="text" id="search" name="keywords" value="Suchbegriff(e)" size="10" onfocus="this.value=''" class="input_text_searchbox" />
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="showresults" value="threads" />
</form>
</div>
<img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/logo.gif" alt="" border="0" />
</div>
<ul class="navtop">
<li><a class="nav" href="{$mybb->settings['bburl']}/index.php">Home</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/portal.php">{$lang->toplinks_portal}</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li><a class="nav" href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
<li><a class="nav" href="http://www.pchilfe-team.de/">Chat</a></li>
</ul>
<div class="clear"></div>
<a name="content" id="content"></a>
<div id="container">
<!--<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
<li><a href="portal.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/portal.gif" border="0" alt="Portal" />Portal</a></li>
</ul>
</div>-->
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
<hr class="hidden" />
<br class="clear" />
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<navigation>
{$board_messages}
<br />



RE: Link in der Navi... - GreJan - 12.09.2008

So einfach, ich dachte da muß ich noch mehr definieren wegen der Navileiste.

Super danke dir @linwinman


RE: Link in der Navi... - linwinman - 12.09.2008

Ich würde evtl. noch ein neues Fenster öffnen:
Code:
<li><a class="nav" href="http://www.pchilfe-team.de/" target="_blank">Chat</a></li>



RE: Link in der Navi... - GreJan - 12.09.2008

Super, noch besser, vielen dank...