Foros de discusión

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

thumbnail
alex wom, modificado hace 12 años.

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

Regular Member Mensajes: 218 Fecha de incorporación: 4/05/09 Mensajes recientes
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, modificado hace 12 años.

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

Liferay Legend Mensajes: 1668 Fecha de incorporación: 15/07/08 Mensajes recientes
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!