[TYPO3] Upgrade problem - anchor links no longer work
Jody Cleveland
Cleveland at winnefox.org
Thu Apr 20 17:17:43 CEST 2006
Hello,
> Hi Jody. Just add this line to your TS SETUP:
>
> tt_content.menu.20.3.renderObj.typolink.section.wrap = c|
>
> Then the anchor links should work again ;)
Thanks! I did add that in to the bottom of my TS Setup, cleared the
cache, and it still doesn't work. Does it need to go in a specific area
in the setup? Here's what I've got in there:
###########################################################
# TEMPLATE AUTO-PARSER
############################################################
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/template/template.html
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
DIV.all = 1
}
}
############################################################
# PAGE TEMPLATE SELECTOR
############################################################
plugin.tx_rlmptmplselector_pi1.templatePathMain = fileadmin/template/
plugin.tx_rlmptmplselector_pi1.templatePathSub = fileadmin/template/sub/
plugin.tx_rlmptmplselector_pi1.defaultTemplateFileNameMain =
fileadmin/template/template.html
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl1_31
############################################################
# MENU
############################################################
temp.topnav = HMENU
temp.topnav.1 = TMENU_LAYERS
temp.topnav.1 {
layerStyle = position:absolute;VISIBILITY:hidden;
lockPosition = x
relativeToParentLayer=1
relativeToTriggerItem=1
topOffset=17
leftOffset=-12
hideMenuWhenNotOver = 50
hideMenuTimer = 70
expAll=1
wrap = <table border="0" cellspacing="0" cellpadding="0"
align="center"><tr>|</tr></table>
NO.allWrap = <td id="topnav"> | </td>
ACT = 1
ACT.allWrap = <td id="topnav_act"> | </td>
}
# Top Navigation 2nd Level
temp.topnav.2 = TMENU_LAYERS
temp.topnav.2 {
layerStyle = position:absolute;VISIBILITY:hidden;
lockPosition = x
relativeToParentLayer=1
relativeToTriggerItem=1
hideMenuWhenNotOver=1
topOffset=10
leftOffset=15
expAll=1
wrap = <table border="1" bordercolor="000000" bgcolor="#eeeeee"
width="175" cellspacing="0" cellpadding="0" id="topnav1"><tr><td>
|</td></tr> </table>
NO.allWrap = <span id="topnav1"> | </span>
ACT = 1
ACT.allWrap = <span id="topnav1_act"> | </span>
}
############################################################
# RELATED LINKS
############################################################
temp.contentleft = COA
temp.contentleft {
stdWrap.required = 1
stdWrap.wrap = <DIV id="menublock"><div id="header">Related
Links</div><div id="rlcontent"> | </div></DIV><br />
10 < styles.content.getLeft
}
############################################################
# BREADCRUMBS
############################################################
temp.path = HMENU
temp.path.special = rootline
temp.path.1 = TMENU
temp.path.1 {
NO.stdWrap.field = subtitle // title
NO.allWrap = | > |*||*| |
}
############################################################
# LAST UPDATED
############################################################
styles.content.lastUpdate = TEXT
styles.content.lastUpdate {
data = register:SYS_LASTCHANGED
date = l - F j, Y - H:i
wrap = Page updated: |
}
############################################################
# PRINT-FRIENDLY LINK
############################################################
temp.PRINT = TEXT
temp.PRINT.value = <div style="font-family: verdana; font-size: 10px;
font-style: normal; padding: 6px 15px 0px 2px; text-align: right; "><img
src="fileadmin/template/images/print.png" border="0" /> Print
Version</div>
temp.PRINT.postUserFunc = tx_make_printlink
temp.PRINT.postUserFunc.include_post_vars = 1
temp.PRINT.postUserFunc.target = _self
temp.PRINT.postUserFunc.popup = 0
temp.PRINT.postUserFunc.make_user_int = 1
marks.PAGE_UID.data = page:uid
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.path < temp.path
subparts.topnav < temp.topnav
subparts.content < styles.content.get
subparts.print = COA
subparts.print {
10 = print
10 < styles.print.get
20 < temp.PRINT
}
subparts.rlcontent < temp.contentleft
subparts.lastUpdate < styles.content.lastUpdate
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
############################################################
# DEFAULT PAGE STUFF
############################################################
page = PAGE
page.typeNum = 0
page.includeLibs.tmenu_layers = media/scripts/tmenu_layers.php
page.10 < temp.mainTemplate
page.headerData.10 < temp.headTemplate
page.config.index_enable = 1
page.config.index_externals = 1
page.config.removeDefaultJS = external
page.config.inlineStyle2TempFile = 1
plugin.tx_automaketemplate_pi1.content < plugin.tx_rlmptmplselector_pi1
plugin.tx_indexedsearch.show.rules = 0
############################################################
# SPAM PROTECT EMAIL
############################################################
config {
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = (at)
}
# Simulate static pages (uncomment/comment to configure)
#######################################
config.simulateStaticDocuments = 1
config.simulateStaticDocuments_noTypeIfNoTitle = 1
tt_content.menu.20.3.renderObj.typolink.section.wrap = c|
---------------
Thank you so much for taking the time to help me with this!
- jody
More information about the TYPO3-english
mailing list