[TYPO3-templavoila] Problem with TV adding closing DIV tags

Sakarias Ingolfsson sakki at sakki.net
Wed Aug 1 16:28:16 CEST 2007


Dmitry Dulepov wrote:
> Hi!
> 
> Sakarias Ingolfsson wrote:
>> I have been expreiencing that TV has been adding two closing DIVs to 
>> my template. I map the DIVs calendar_links and news_latest_links (see 
>> code below) as ELEMENT and INNER (Exclude tag). Editing type is 
>> TypoScript object path.
> 
> You cannot use this HTML with TV correctly because it is not valid for TV.
> 
>> <div id=right_column>
> 
> Quotes are missing. Please, validate your html with 
> http://validator.w3.org/ before using it with TV and ensure that it is 
> at least valid xhtml 1.0 transitional.
> 
Thank you.

I made the template XHTML 1.1 valid and nothing changed.

Today I have found the problem though. It's a bit embarrasing for me to 
admit but TV was not to blame. It was an error in the news template, an 
extra </div> between the NEWS and CONTENT blocks. I must say that I am a 
bit diappointed with myself. I have been trying to fix this problem for 
days now, and then I realize it was just a small flaw that I should have 
noticed right in the beginning.

Well, well. That's the way it is, sometimes.

Regards,
Sakki


More information about the TYPO3-project-templavoila mailing list