[TYPO3-german] Anchor Tag Wrap
Armando Statti
armando.statti at razorfish.de
Thu Nov 27 12:00:00 CET 2014
Hey zusammen,
ich bastle gerade so etwas für mich rum und entdecke Typo3 für mich :)
Dabei bin ich jetzt noch auf folgendes Problem gestoßen.
lib.sectionContent = HMENU
lib.sectionContent {
entryLevel = 1
1 = TMENU
1 {
NO = 1
NO {
doNotLinkIt = 1
stdWrap >
stdWrap {
cObject = COA
cObject {
20 = CONTENT
20 {
table = tt_content
select {
pidInList.field = uid
}
wrap = <section class="anchor-section">|</section>
renderObj < tt_content
}
10 = TEXT
10.wrap = <a name="anchor_|" class="anchor"></a>
10.stdWrap {
cObject = TEXT
cObject {
field = uid
}
}
}
}
}
}
}
Der Code funktioniert einwandfrei, allerdings ist es so, dass er mir mein Anchor Tag über meine Section legt.
Ich hätte aber gerne das er mir diesen Anchor IN die Section legt.
Sprich:
<section>
<a name="anchor"></a>
</section>
Ich hab es geschafft das er mir das drunter legt, aber nicht in die Section.
Was muss ich den dafür tun?
Grüße und Danke
Mando
More information about the TYPO3-german
mailing list