Fórumok

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

thumbnail
alex wom, módosítva 12 év-val korábban

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

Regular Member Bejegyzések: 218 Csatlakozás dátuma: 2009.05.04. Legújabb bejegyzések
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, módosítva 12 év-val korábban

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

Liferay Legend Bejegyzések: 1668 Csatlakozás dátuma: 2008.07.15. Legújabb bejegyzések
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!