Foren

$theme.include($bottom_include) generates script tags in a wrong position

thumbnail
alex wom, geändert vor 12 Jahren.

$theme.include($bottom_include) generates script tags in a wrong position

Regular Member Beiträge: 218 Beitrittsdatum: 04.05.09 Neueste Beiträge
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?
thumbnail
Julio Camarero, geändert vor 12 Jahren.

RE: $theme.include($bottom_include) generates script tags in a wrong positi

Liferay Legend Beiträge: 1668 Beitrittsdatum: 15.07.08 Neueste Beiträge
Hi Alex,

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

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


cheers!