Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
alex wom
$theme.include($bottom_include) generates script tags in a wrong position
November 1, 2011 7:31 AM
Answer

alex wom

Rank: Regular Member

Posts: 166

Join Date: May 4, 2009

Recent Posts

Help!
The last errors before w3c xhtml+RDFa validation are 4 scripts tags generate by $theme.include($bottom_include): but w3c validator doesn't like the position: I tried
this:
$theme.include($bottom_include)
</body>
</html>


this:
</body>
$theme.include($bottom_include)
</html>


and this:
</body>
</html>
$theme.include($bottom_include)


But those are all wrong. What is the utility of $theme.include($bottom_include)? How can I pass the validation?
Julio Camarero
RE: $theme.include($bottom_include) generates script tags in a wrong positi
January 2, 2012 8:10 AM
Answer

Julio Camarero

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1662

Join Date: July 15, 2008

Recent Posts

Hi Alex,

you can add this in your portal-ext.properties and it will validate (although the performance will be worse).

1com.liferay.portal.servlet.filters.validhtml.ValidHtmlFilter=true


cheers!