[TYPO3] baseUrl, realurl and go to top

tapio tapio.markula at dnainternet.net
Wed Mar 15 17:17:02 CET 2006


Christopher wrote:
> Hi,
> 
> On 3/15/06, tapio <tapio.markula at dnainternet.net> wrote:
> 
>>Dmitry Dulepov wrote:
>>
>>>Hi!
>>>
>>>Bartosz Aninowski wrote:
>>>
>>>
>>>>tt_content.stdWrap.innerWrap2=| <p class="csc-linkToTop"><a
>>>>href="#">{LLL:EXT:css_styled_content/pi1/locallang.php:label.toTop}</a></p
>>>>but I don't know how to change it
>>>
>>>
>>>innerWraps are stdWraps if I remember correctly. They all have typolink
>>>and stdWrap functions :) Something like:
>>>
>>>tt_content.stdWrap.innerWrap2 =
>>>{LLL:EXT:css_styled_content/pi1/locallang.php:label.toTop}
>>>tt_content.stdWrap.innerWrap2.stdWrap {
>>>      typolink {
>>>              parameter.data = TSFE:id
>>>              wrap = |#
>>>      }
>>>      wrap = <p class="csc-linkToTop">|</p>
>>>}
>>>
>>>Not sure if it will work from the beginning (wrote it in a hurry) but
>>>try it.
>>
>>That doesn't work - I tested
>>
>>How that should be compared with the default setting?
>>Adding id-value before #?
> 
> 
> Just looking at it, I'd say the wrap is inside out. Try wrap = #| instead.

That setting didn't create a link at all! There is something bigger 
wrong in the code.



More information about the TYPO3-english mailing list