Bug #31985
closed
linkToTop text can not be changed with typoscript innerWrap2
Added by Kerstin Eitner almost 13 years ago.
Updated over 11 years ago.
Description
I'd like to change the linkToTop text, but in typo3 4.6 the following typoscript setup does not work any more:
tt_content.stdWrap.innerWrap2 = | <a href="#top">Seitenanfang</a>
I tested the same code in typo3 4.5.7 and there it works perfectly.
- Target version changed from 4.6.1 to 4.6.2
Hi Kerstin!
Can you please describe what happens now, when you use this line?
Are the changes reflected in the Object Browser?
What is rendered in the frontend?
Thank you.
Hi Xavier!
I've tested it in TYPO3 4.6.1 and the result has not changed yet.
My code:
tt_content.stdWrap.innerWrap2 = | <a href="#top">Seitenanfang</a>
Output in the object browser:
innerWrap2 = | <p class="csc-linkToTop"><a href="#">{LLL:EXT:css_styled_content/pi1/locallang.xml:label.toTop}</a></p>
Rendering in the frontend:
<p class="csc-linkToTop><a href="#">To Top</a></p>
Greetings,
Kerstin
- Status changed from New to Needs Feedback
I just cannot reproduce! Tested with 4.6.2-dev.
The point is that the output in the object browser is already wrong on your side, so it suggests that you did not put your configuration line at the correct position and that somehow the original static template is overriding your change afterwards.
Please double-check the order of inclusion. You MUST have the change visible in the object browser, it won't automagically be interpreted at runtime only.
- Target version deleted (
4.6.2)
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Also available in: Atom
PDF