If link to top is re-directs to homepage, to solve this we have to include following code int to our typo-script setup page
config {
prefixLocalAnchors = all
}
This replaces all links like <a href=”#” > into <a href=”[url]#”>
SCWEBS Info Solutions PVT. LTD.
A useful blog with code assitance on Typo3, PHP, Apache, OpenSSL, Prestashop
If link to top is re-directs to homepage, to solve this we have to include following code int to our typo-script setup page
config {
prefixLocalAnchors = all
}
This replaces all links like <a href=”#” > into <a href=”[url]#”>
Comments are closed.
Sorry but my link was interpreted :S
tt_content.stdWrap.innerWrap2 = | <p class=”csc-linkToTop”><a href=”{getenv:REQUEST_URI}#”>{LLL:EXT:css_styled_content/pi1/locallang.php:label.toTop}</a></p>
This :
tt_content.stdWrap.innerWrap2 = | {LLL:EXT:css_styled_content/pi1/locallang.php:label.toTop}
Guys,
Try this :
tt_content.stdWrap.innerWrap2 = | {LLL:EXT:css_styled_content/pi1/locallang.php:label.toTop}
Cheers 😉
How does this fix the link to top issue? I am not very clear
That’s really wow I say because this would be a source of getting inspiration and that is all what is required to start the things, thank you.