[TYPO3-english] tt_news links_stdWrap.wrap problem
typo3 at concatenate.nl
Sun Aug 22 12:42:04 CEST 2010
I see what you mean. I changed it and the starting <dl> is back. There
is another error though. Line 89, Column 67: character data is not
It refers to the text "Links:" within the <dl>-tag.
So, for now i stick with removing the dl, dt and dd all together.
As you describe it, it looks to me as if it is a bug in tt_news.
Thanks for helping out.
Citeren Jigal van Hemert <jigal at xs4all.nl>:
> On 22-8-2010 11:47, Michael Albers wrote:
>> Btw, i also tried to change the wraps. I replace <dl>|</dl>, <dt>|</dt>
>> and <dd>|</dd> respectively for <b>|</b>, <i>|</i> and <u>|</u>. Guess
>> what? The starting <b> is missing.
> This made me think that there is something wrong with tt_news in this
> regard, so I looked in the source code.
> The current code has the following behaviour:
> - if the 'links' field is filled and (TEXT_LINKS or NEWS_LINKS is used
> as a marker):
> 1. split links_stdWrap.wrap on the '|'
> 2. format the links using TypoScript (TS) linksItem_stdWrap
> 3. replace the marker ###TEXT_LINKS### with the first part of
> links_stdWrap.wrap + the localized label "textLinks" formatted with TS
> 4. replace the marker ###NEWS_LINKS### with the formatted links + the
> last part of links_stdWrap.wrap
> I suspect that you don't use the marker ###TEXT_LINKS### in your
> template. This will not only remove the header, but also the opening
> part of links_stdWrap.wrap.
> To fix it you could put the ###TEXT_LINKS### marker back (before
> ###NEWS_LINKS### and empty the contents of that marker:
> linksHeader_stdWrap >
> _LOCAL_LANG.default.textLinks =
> # also empty label for Dutch (expand for other languages you need)
> _LOCAL_LANG.nl.textLinks =
> The way this is handled in the code is rather strange, but I think it
> will be hard to find a solution which is also backwards compatible.
> Kind regards / met vriendelijke groet,
> Jigal van Hemert
> msn: jigal at xs4all.nl
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
More information about the TYPO3-english