Guten Morgen ich würde gerne meine Top Navigation [img]https://prnt.sc/UiCCCmIiljU9[/img] als Dropdown Navigation haben, aber meine Versuche waren bisher alle erfolglos. Vielleicht kann mir hier jemand sagen wo genau und wie ich das einfügen muss.... Ich war bisher davon ausgegangen das ich das in der theme.php einfügen muss das scheint aber leider nicht zu funktionieren....
Hänge mal den Code meiner theme.php hier mit an falls es dort geändert werden muss. Ich bedanke mich in vorraus schon mal für die Hilfe.
<?php
/*--------------------------------------------+
| PHP-Fusion v7 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2009 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 3) |
+--------------------------------------------*/
/*--------------------------------------------+
| PHP-Fusion v7-Theme: LH_Future-BR |
|---------------------------------------------|
| author: Webradio.Design © 2022 |
| web: https://Webradio.Design |
| email: info@webradio-design.de |
|---------------------------------------------|
| This program is released as free software |
| under the Affero GPL license. |
| You can redistribute it and/or |
| modify it under the terms |
| of this license which you |
| can read by viewing the included agpl. |
| txt or online at www.gnu.org/licen... |
| Removal of this copyright header is |
| strictly prohibited without written |
| permission from the original author(s). |
+--------------------------------------------*/
if (!defined("IN_FUSION" ) { die("Access Denied" ; }
define("THEME_BULLET", "<span class='bullet'></span>" ;
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
//BG Anfang
echo "
<table cellpadding='0' cellspacing='0' width='100%' border='0' align='center'>
<tr>
<td width='100%' class='bg' align='left'>";
echo "
<table cellpadding='0' cellspacing='0' width='100%' border='0' align='center'>";
//Header
echo "<table cellpadding='0' cellspacing='0' width='1200' border='0' align='center'>
<tr>
<td width='100%' height='400' align='center' class='headerpic'></td>
</td>
</tr>
</table>";
echo "
<table cellpadding='0' cellspacing='0' width='1200' border='0' align='center'>
<tr>
<td width='100%' height='50' align='center' class='nav-oben'>
<table cellpadding='0' cellspacing='0' width='1200' border='0' align='center'>
<tr>
<td width='100%' height='50' class='top-nav' align='center'>
".showsublinks(" ", "white" ."
</td>
</tr>
</table>
</td>
</tr>
</table>";
//Header Ende
//Content
echo "<table cellpadding='0' cellspacing='0' width='1200' class='$main_style' align='center'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Content Ende
//Footer
echo "<table cellpadding='0' cellspacing='0' width='1200' border='0' align='center'>
<tr>
<td width='1200' height='250' align='right' class='bottom'></td>
</tr>
</table>";
echo "<table width='1200' cellspacing='0' cellpadding='0' border='0' align='center'>
<tr>
<td align='left' width='60%' height='40' class='main-bg2' >";
if ($license == false) {
echo "".showcopyright()."";
}
//NEIN, MAN DARF DAS NICHT ENTFERNEN ODER VERÄNDERN!
echo "</td><td align='right' valign='middle' width='40%' height='40' class='main-bg2' > </br><a href='https://webradio-design.de' target='_blank'><img title='Webradio.Design' src='https://webradio-design.de/a-in/logo/design/wrd-logo150-36.png' border='0' alt='Webradio.Design' width='150' height='36' /></a>
</td>
</tr>
</table></td></tr></table>";
//Footer Ende
}
function render_news($subject, $news, $info) {
global $locale,$render_caps,$aidlink;
$subject = strip_tags($subject);
echo " <table width='100%' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td width='0' height='0' class='content-icon' align='left' valign='middle'><img src='".THEME."images/blank.gif' alt='' width='0' height='0' /></td>
<td width='100%' align='left' valign='middle' class='ot-title'> $subject</td>
</tr> </table>
<table width='100%' cellpadding='0' cellspacing='0' align='center'><tr>
<td width='100%' align='right' valign='middle' class='ot-main-body'>";
echo newsposter($info," ·" .newsopts($info,"·" .itemoptions("N",$info['news_id']);
echo "</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='ot-main-body'><div style='width:100%;vertical-align:top;'>$news</div>
</td>
</tr>
</table>";
echo " <table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<!--td width='100%' align='center' valign='middle'><img src='".THEME."images/trenner.jpg' alt='' width='550' height='10' /></td-->
</tr>
<tr><td width='100%' class='ot-unten' height='60' align='center'></td>
</tr>
</table><br />";
}
function render_article($subject, $article, $info) {
global $locale;
echo "
<table width='100%' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td width='0' height='0' class='content-icon' align='left' valign='middle'><img src='".THEME."images/blank.gif' alt='' width='0' height='0' /></td>
<td width='100%' align='left' valign='middle' class='news-title'> $subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='ot-main-body' align='right'><img src='".THEME."images/icon.png'> ";
echo articleposter($info," ·" .articleopts($info,"·" .itemoptions("A",$info['article_id']);
echo "</td>
</tr>
</table>
";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='ot-main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div style='margin-top:5px'>
</div>
</td>
</td>
</tr>
</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<!--td width='100%' align='center' valign='middle'><img src='".THEME."images/trenner.jpg' alt='' width='550' height='10' /></td-->
</tr>
<tr><td width='100%' class='ot-unten' height='60' align='center'></td>
</tr>
</table><br />";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td width='100%' class='ot-title' align='center' valign='middle' >$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='ot-main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<!--td width='100%' align='center' valign='middle'><img src='".THEME."images/trenner.jpg' alt='' width='550' height='10' /></td-->
</tr>
<tr><td width='100%' class='ot-unten' height='60' align='center'></td>
</tr>
</table><br />";
}
function openside($title, $collapse = false, $state = "on" {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table width='240' cellpadding='0' cellspacing='0' align='center'>
<tr>
";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td width='240' height='60' class='panel-title' align='center' valign='middle'>$title</td></tr><tr><td class='side-body' align='center'>".panelbutton($state, $boxname)."</td>\n";
} else { echo"<td width='240' class='panel-title' align='center' valign='middle'>$title</td>";
}
echo "</tr>
</table>
<table width='240' cellpadding='0' cellspacing='0' border='0' align='center'>
<tr>
<td class='side-body'>";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo " </td>
</tr>
<tr><td width='240' class='panel-unten' height='80' align='center'></td>
</tr>
</table><br />
";
}
?>
Zusammengefügt am 18. Dezember 2023 08:28:
Danke für eure Bemühungen.... Ich hab mitlerweile eine Lösung gefunden 
das_big_f hat folgende Datei angehängt:
Du hast nicht die Berechtigung die Anhäge dieses Themas zu sehen.
Bearbeitet von Septron am 20. Dezember 2023 06:58:03
|