[TYPO3] external link in menu, typoscript and typolink.
Andrew Plank
plankmeister_NO at SPAM_hotmail.com
Thu Jun 26 15:50:05 CEST 2008
Christopher Torgalson wrote:
> Well, just for the purpose of eliminating the simple errors, is your
> actual code missing a closing brace after the line "
> 3.typolink.parameter.dataWrap = http://{field:url}" like the code in
> your first message?
Hi Christopher,
When I was studying the TSref I modified it from the original posting,
and what follows is a direct copy paste:
lib.menu_main = HMENU
lib.menu_main.entryLevel = 0
lib.menu_main.1 = TMENU
lib.menu_main.1 {
noBlur=1
wrap = <ul>|</ul>
NO = 1
NO {
allWrap = <li>|</li>
stdWrap.case = lower
stdWrap.cObject = CASE
stdWrap.cObject {
key.field = doktype
default = TEXT
default.field = title
3 < .default
3.stdWrap.htmlSpecialChars = 1
3.typolink.parameter.dataWrap= http://{field:url}
}
}
ACT = 1
ACT.allWrap = <li class="main_selected">|</li>
ACT.stdWrap.case = lower
ACT.doNotLinkIt = 1
}
Any ideas? Can anyone explain why it's wrapping a link in another link?
If I could figure that out, I might be able to figure out how to prevent
it doing it.
More information about the TYPO3-english
mailing list