Beiträge von DonPalle

    und nochmal die CSS Datei

    CSS Arras Default

    Hallo,

    ich bin momentan dabei meinen Blog optisch anzupassen, leider bin ich ein absoluter PHP Vollpfosten, ich kann den Code zwar einigermaßen lesen und verstehen, aber weiß leider keinen Rat wie ich den Code so umstricke das genau das dabei rauskommt was ich möchte. Vielleicht kann mir hier ja jemand helfen :).

    Also folgendes möchte ich gerne machen, ich habe folgendes Plugin gefunden

    http://www.bjoerne.com/navigation-du-lapin-blanc/?page_id=21

    Das Plugin erlaubt es mir Wordpress mehr als CMS einzusetzen, ich kann damit Kategorien an Seiten knüfpen. Meine Vorstellung war eine Top Navigation, bei der dann jeweils eine andere Sub Navigation angezeigt wird. Das ist mit dem Plugin auch möglich, leider kann die Arras Navigationsleiste die in dem Plugin verwendeten Variabeln nicht verstehen.

    Wenn ich einfach den Arras Navi Quellcode mit dem von der Internetseite überschreibe funktioniert alles einwandfrei, leider wird die Navigation dann komplett zerschossen.

    Daher bräuchte ich entweder Hilfe dabei den Quellcode so umzuschreiben dass die Variabeln in den ins Arras Menü passen

    oder

    Das Arras Menü mit dem vom Plugin ersetzen und das neue Menü optisch anpassen.

    Ich würde mich wirklich sehr über Hilfe freuen :)


    EDIT Ich habe hier schonmal die wie ich denke wichtigen Code Schnippsel

    Main Navi Plugin

    Zitat

    <ul> [COLOR=#000000]<?php[/COLOR] [COLOR=#b1b100]foreach[/COLOR] [COLOR=#009900]([/COLOR]bjoerne_get_navigation_nodes[COLOR=#009900]([/COLOR][COLOR=#cc66cc]0[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#b1b100]as[/COLOR] [COLOR=#000088]$node[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#009900]{[/COLOR] [COLOR=#000088]$navItemSelected[/COLOR] [COLOR=#339933]=[/COLOR] [COLOR=#009900]([/COLOR][COLOR=#000088]$node[/COLOR][COLOR=#339933]->[/COLOR][COLOR=#004000]is_selected[/COLOR][COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR] [COLOR=#339933]||[/COLOR] [COLOR=#000088]$node[/COLOR][COLOR=#339933]->[/COLOR][COLOR=#004000]is_on_selected_path[/COLOR][COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] [COLOR=#b1b100]if[/COLOR] [COLOR=#009900]([/COLOR]bjoerne_is_node_visible[COLOR=#009900]([/COLOR][COLOR=#000088]$node[/COLOR][COLOR=#009900])[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#009900]{[/COLOR] bjoerne_println[COLOR=#009900]([/COLOR][COLOR=#0000ff]'<li class="menuItem'[/COLOR][COLOR=#339933].[/COLOR][COLOR=#009900]([/COLOR][COLOR=#000088]$navItemSelected[/COLOR] ? [COLOR=#0000ff]' menuItemSelected'[/COLOR] [COLOR=#339933]:[/COLOR] [COLOR=#0000ff]''[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933].[/COLOR][COLOR=#0000ff]'">'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] bjoerne_print_link[COLOR=#009900]([/COLOR][COLOR=#000088]$node[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] bjoerne_println[COLOR=#009900]([/COLOR][COLOR=#0000ff]'</li>'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] [COLOR=#009900]}[/COLOR] [COLOR=#009900]}[/COLOR] [COLOR=#000000]?>[/COLOR] </ul>

    Top Menu Arras Theme


    Sub Menu Plugin

    Zitat

    <ul> [COLOR=#000000]<?php[/COLOR] [COLOR=#b1b100]foreach[/COLOR] [COLOR=#009900]([/COLOR]bjoerne_get_navigation_nodes[COLOR=#009900]([/COLOR][COLOR=#cc66cc]1[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#b1b100]as[/COLOR] [COLOR=#000088]$node[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#009900]{[/COLOR] [COLOR=#000088]$subNavItemSelected[/COLOR] [COLOR=#339933]=[/COLOR] [COLOR=#009900]([/COLOR][COLOR=#000088]$node[/COLOR][COLOR=#339933]->[/COLOR][COLOR=#004000]is_selected[/COLOR][COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR] [COLOR=#339933]||[/COLOR] [COLOR=#000088]$node[/COLOR][COLOR=#339933]->[/COLOR][COLOR=#004000]is_on_selected_path[/COLOR][COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] bjoerne_println[COLOR=#009900]([/COLOR][COLOR=#0000ff]' <li class="menuItem'[/COLOR][COLOR=#339933].[/COLOR][COLOR=#009900]([/COLOR][COLOR=#000088]$subNavItemSelected[/COLOR] ? [COLOR=#0000ff]' menuItemSelected'[/COLOR] [COLOR=#339933]:[/COLOR] [COLOR=#0000ff]''[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933].[/COLOR][COLOR=#0000ff]'">'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] bjoerne_print_link[COLOR=#009900]([/COLOR][COLOR=#000088]$node[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] bjoerne_println[COLOR=#009900]([/COLOR][COLOR=#0000ff]' </li>'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] [COLOR=#b1b100]if[/COLOR] [COLOR=#009900]([/COLOR]bjoerne_equals_nodes[COLOR=#009900]([/COLOR][COLOR=#000088]$node[/COLOR][COLOR=#339933],[/COLOR] bjoerne_get_current_path_element[COLOR=#009900]([/COLOR][COLOR=#cc66cc]1[/COLOR][COLOR=#009900])[/COLOR][COLOR=#009900])[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#009900]{[/COLOR] [COLOR=#b1b100]foreach[/COLOR] [COLOR=#009900]([/COLOR][COLOR=#000088]$node[/COLOR][COLOR=#339933]->[/COLOR][COLOR=#004000]get_children[/COLOR][COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR] [COLOR=#b1b100]as[/COLOR] [COLOR=#000088]$subNode[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#009900]{[/COLOR] [COLOR=#b1b100]if[/COLOR] [COLOR=#009900]([/COLOR]bjoerne_is_node_visible[COLOR=#009900]([/COLOR][COLOR=#000088]$subNode[/COLOR][COLOR=#009900])[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#009900]{[/COLOR] [COLOR=#000088]$subSubNavItemSelected[/COLOR] [COLOR=#339933]=[/COLOR] [COLOR=#009900]([/COLOR][COLOR=#000088]$subNode[/COLOR][COLOR=#339933]->[/COLOR][COLOR=#004000]is_selected[/COLOR][COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR] [COLOR=#339933]||[/COLOR] [COLOR=#000088]$subNode[/COLOR][COLOR=#339933]->[/COLOR][COLOR=#004000]is_on_selected_path[/COLOR][COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] bjoerne_println[COLOR=#009900]([/COLOR][COLOR=#0000ff]' <li class="subMenuItem'[/COLOR][COLOR=#339933].[/COLOR][COLOR=#009900]([/COLOR][COLOR=#000088]$subSubNavItemSelected[/COLOR] ? [COLOR=#0000ff]' subMenuItemSelected'[/COLOR] [COLOR=#339933]:[/COLOR] [COLOR=#0000ff]''[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933].[/COLOR][COLOR=#0000ff]'">'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] bjoerne_println[COLOR=#009900]([/COLOR][COLOR=#0000ff]' '[/COLOR][COLOR=#339933].[/COLOR]bjoerne_print_link[COLOR=#009900]([/COLOR][COLOR=#000088]$subNode[/COLOR][COLOR=#009900])[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] bjoerne_println[COLOR=#009900]([/COLOR][COLOR=#0000ff]' </li>'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] [COLOR=#009900]}[/COLOR] [COLOR=#009900]}[/COLOR] [COLOR=#009900]}[/COLOR] [COLOR=#009900]}[/COLOR] [COLOR=#000000]?>[/COLOR] </ul>

    Sub Menü Arras


    Viele Grüße

    Hi,

    ich durchforste schon den ganzen Tag diverse Foren ohne bisher das zu finden was ich suche... Vielleicht weiß ich auch einfach nicht wonach ich genau suchen muss um mein Problem zu beheben. Daher hoffe ich ihr könnt mir helfen :)

    Also folgendes,

    Ich betreibe einen Wordpress Blog mit einem Arras Theme. Hier kann ich ein Menü einfügen, welches direkt am oberen Bildrand liegt. Da mein ein relativ weites Feld an Themen abdeckt würde ich diese gerne sortieren.

    Aktuelle Lösung sieht so aus:

    http://www.tabletop-tutorials.de

    Kategorien werden als Drop Down Menü angezeigt mit bis zu drei Subkategorien, wodurch das ganze etwas sehr unübersichtlich wird.

    Ich würde das ganze gerne so lösen, dass ich ein Top Menu einfüge, in dem ich die Hauptkategorien anzeige

    Z.b.

    Science Fiction - Fantasy - Tutorials - etc.

    Wenn man nun auf z.B. Science Fiction klickt werden auf der neuen Seite nur die Kategorien angezeigt welche zu Science Fiction passen

    Level 1 Kategorie in Top Menü
    Level 2 Kategorie soll im unteren Menü stehen
    Level 3 Kategorie als Drop Down
    Level 4 Kategorie im Drop Down Menü ausklappen

    Ich hoffe ihr versteht einigermaßen was ich mir vorstellen, ich bin nämlich grade etwas am Ende wie ich das beschreiben soll... Durch das Top Menü soll einfach nur eine Vorauswahl getroffen werden können welche Kategorien angezeigt werden und welche nicht. Ist das irgendwie möglich?