掲示板

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

thumbnail
12年前 に alex wom によって更新されました。

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

Regular Member 投稿: 218 参加年月日: 09/05/04 最新の投稿
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
12年前 に Julio Camarero によって更新されました。

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

Liferay Legend 投稿: 1668 参加年月日: 08/07/15 最新の投稿
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!