Zum Inhalt springen

Farbleitsystem

Erstellt am 9. Oktober 2010 · 6 Antworten · letzte Antwort am 19. Oktober 2010

Tags: Frage

wheely ·

Hallo Leute,

ich steh mal wieder vor einem Problem oder einfach auf dem Schlauch.

Ich würde gerne auf einer Seite ein Farbleitsystem verwenden ich versuch es mal darzustellen.

Menü 1 --> (GRÜN)
Menü 1.1 --> (GRÜN)
Menü 1.2 --> (GRÜN)
Menü 2 --> (ROT)
Menü 2.1 --> (ROT)
Menü 2.2 --> (ROT)
Menü 2.2.1 --> (ROT)

ich hoffe es ist einigermaßen klar was ich vor habe. Ich habe das auch schon auf Typo3 Seiten gesehen das das geht, kann mir vielleicht jemand helfen wie ich das umsetze???

Vielen dank schon mal

wheely ·

Vielen Dank für den Tip aber scheinbar stelle ich mich echt zu blöd an. gibt es fertige templates die soetwas nutzen?

Gruß

wheely ·

hallo zusammen,

ich kommt mit meinem Problem einfach nicht weiter.

Vielleicht liegt es am meiner blöden Grippe ich weiss es nicht.

hier mal mein menu

10 = TEMPLATE
   10.template = FILE
   10.template.file = fileadmin/templates/main/index-1000-mc-c-c.html
   10.workOnSubpart = DOCUMENT_BODY
   10.marks {

   TOP-MENU = HMENU
   TOP-MENU {
      special = directory
      special.value = 1
      entryLevel = 0
      #stdWrap.wrap = <ul>|</ul>
      1 = TMENU
      1 {
      noBlur = 1
      expAll = 1
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li>|</li>
      NO.ATagTitle.field = abstract // description // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="act">|</li>
      ACT.ATagTitle.field = abstract // description // title
      }
   }

   LEFT-MENU = HMENU
   LEFT-MENU {
      entryLevel = 1
      1 = TMENU
      1 {
      noBlur = 1
      expAll = 0
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li class="left-level-1-no">|</li>
      NO.ATagTitle.field = abstract // description // subtitle // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="left-level-1-act">|</li>
      ACT.ATagTitle.field = abstract // description //subtitle //  title
      }
      2 = TMENU
      2 {
      noBlur = 1
      expAll = 0
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li class="left-level-2-no">|</li>
      NO.ATagTitle.field = abstract // description // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="left-level-2-act">|</li>
      ACT.ATagTitle.field = abstract // description // title
      }
      3 = TMENU
      3 {
      noBlur = 1
      expAll = 0
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li class="left-level-3-no">|</li>
      NO.ATagTitle.field = abstract // description // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="left-level-3-act">|</li>
      ACT.ATagTitle.field = abstract // description // title
      }
   }

vielleicht kann mir jemand helfen wäre echt super

trainerth ·

Halt wirklich mal das versuchen was die Leute raten!

TOP-MENU = HMENU
TOP-MENU {
    special = directory
    special.value = 1
    entryLevel = 0
        
    1 = TMENU
    1 {
        noBlur = 1
        expAll = 1
        wrap = <ul>|</ul>
      
          NO { 
              wrapItemAndSub = <li class="red">|</li>|*|<li class="green">|</li>
             ATagTitle.field = abstract // description // title
        }
        
        ACT < .1.NO
          ACT = 1
          ACT { 
              wrapItemAndSub = <li class="red act">|</li>|*|<li class="green">|</li>
              }
      }
   }

als großer tipp

gruß

wheely ·

Vielen dank für die Hilfe wenn ich zu Hause bin werde ich es testen. Jedenfalls vielen dank euch allen.

Wheely