Zum Inhalt springen

TMENU Link

Erstellt am 6. Februar 2009 · 1 Antwort · letzte Antwort am 6. Februar 2009

Tags: Frage

haribo1000 ·

Hallo zusammen..
Ich bins mal wieder.. Hab schon wieder ein neues Problem und noch nicht mal das alte gelöst.. #angry#
Hier mein TS...

lib.uebersicht = COA
lib.uebersicht.10 = TEXT
lib.uebersicht.10.value = {page:title}
lib.uebersicht.10.insertData = 1
lib.uebersicht.10.wrap = <h1>|</h1>
lib.uebersicht.20 = HMENU
lib.uebersicht.20 {
 special = directory
 special.data = page:uid
 entryLevel = 3
 1 = TMENU
 1 {
  noBlur = 1
  NO = 1
  NO {
   wrapItemAndSub = <div class="cont_teaser">|</div>
   stdWrap.htmlSpecialChars = 1
   linkWrap = <div class="ueberschrift"><h3>|</h3></div>
   before {
   
   }
   after.wrap = <div class="bild_text">|</div>
   after {
   cObject = COA
   cObject {
   10 = IMAGE
   10 {
	   altText = Bild
	   file.import.data = field:tx_mbitbild_bild
	   file.import.wrap = uploads/tx_mbitbild/|
	   file.maxW = 80
	   imageLinkWrap = 1
	   imageLinkWrap.enable = 1
	   imageLinkWrap.typolink.parameter.field = uid
         }
    10.wrap = <div class="bild">|</div>
    10.typolink.parameter.field = uid
    20 = CONTENT
    20 {
     table = tt_content
     select.pidInList.field = uid
     renderObj = TEXT
     renderObj.field = bodytext
     }
    20.stdWrap.stripHtml = 1
    20.stdWrap.crop = 190 | ... <span class="link">Mehr</span> | 1
    20.wrap = <div class="text">|</div>
    20.typolink.parameter.field = uid
  }
  }
}
}
}

Und jetzt meine Frage.. Ich möchte den "mehr" link verlinken nur hab ich keinen Plan wie das funktioniert.. Die Überschrift h3 und das Bild werden richtig verlinkt.. Und so würd ich das gerne bei den Mehr link auch haben.. Ist leider das TS von jemand anderem deshalb tu ich mir noch schwerer..
Bitte helft mir sonst stehen heute viele Überstunden ins Haus.. 😉

Lg Corinna

haribo1000 ·

So mein Problem habe ich ganz einfach gelöst..
Falls mal jemand die Lösung braucht:

20 = CONTENT
    20 {
     table = tt_content
     select.pidInList.field = uid
     renderObj = TEXT
     renderObj.field = bodytext
     wrap = <div class="text">|</div>
     }
    20.wrap = <div class="text">|</div>
    20.stdWrap.stripHtml = 1
    20.stdWrap.crop = 190 | ... | 1
    20.typolink.parameter.field = uid

    25 = TEXT
    25.value=Mehr
    25.typolink.parameter.field=uid

Sprich aus dem crop das "mehr" heraus genommen..
Und darunter einfach einen TypoLink erstellt..

Lg Corinna 🙂