掲示板

Including couple of Javascript files in theme

9年前 に giri reddy によって更新されました。

Including couple of Javascript files in theme

Junior Member 投稿: 61 参加年月日: 15/02/27 最新の投稿
If I include custom.js in portal_normal.vm, how do I specify path for list of javascript files in custom..js? I specified following in portal_normal.vm


<script type="text/javascript" src="$javascript_folder/custom.js" charset="utf-8"></script>

Also, if I include javscript files in liferay-portlet.xml, it is generating url with mintype as js. How do I avoid minifying for debugging. i am able to avoid for js included by theme by removing filter in web.xml. Not sure in portllet.

Thanks