[TYPO3-german] Link auf "active" setzen, farbig markiert.

Michael Poe diese.fragmente at gmail.com
Sun Jul 31 14:31:48 CEST 2016


p.s. noch erweitert:

Im Hauptmenü werden die Links mitt http:// angegeben, ohne spezifischere Angaben.

index.html

  <ul class="nav-left">
              <li>
                <a href="http://">Künstler</a>
              </li>
              <li>
                <a href="http://">Ausstellungen</a>
              </li>
              <li>
                <a href="http://">News</a>
              </li>
              <li id="line"></li>
            </ul>

Im Main template wird durch die  special.value die richtige Seiten ID gewählt

lib.nav_left = HMENU
lib.nav_left.special = directory
lib.nav_left.special.value = 3
lib.nav_left {

    1 = TMENU
    1 {
      wrap = <ul class="nav-left">|</ul>
      expAll = 0
         
      NO = 1
      NO {
        ATagTitle.field = abstract // description // title
        linkWrap =<li>|</li>|*|<li>|</li>|*|<li>|</li><li class="line"></li>
      }
         
      ACT < .NO
      ACT = 1
      ACT.ATagParams = class="active"
    }
}


Ist dies der Link zwischen html-Datei und Template? Ich kann hier leider keinen Marker ausmachen?

Wenn ich bei meinem neuen Menü http:// angebe, erhalte ich folgende Meldung bei Aufrufen der Seite:

"The requested URL /fileadmin/templates/http:// was not found on this server."

index.html

 <nav id="vip">
             <div class="nav-vip">
               <ul class="vip">
                 <li>
            <a href="http://">VIP</a>    
                 </li>
                 <li id="line"></li>
               </ul>
               </div>
             </nav> <!-- /end nav -->


(VIP MENU-Struktur: wobei 118 die ID der VIP Seite ist)

lib.nav_vip = HMENU
lib.nav_vip.special = directory
lib.nav_vip.special.value = 118
lib.nav_vip {

    1 = TMENU
    1 {
      wrap = <ul class="vip">|</ul>
      expAll = 0
         
      NO = 1
      NO {
        ATagTitle.field = abstract // description // title
        linkWrap =<li>|</li><li class="line"></li>
      }
         
      ACT < .NO
      ACT = 1
      ACT.ATagParams = class="active"
    }
}


Jeder kleine Hinweis könnte mir sehr weiter helfen. Vielen Dank, Michael



More information about the TYPO3-german mailing list