Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Adding Custom Javascript to Barebone
I would like to have some custom javascript that is in my theme added to the list of files that is included in the barebone.jsp file. This worked for me in v6.0, but isn't working for me now in v6.2. Here is what I have in our portal-ext.properties file:
Should I be linking things in a different way? Am I missing a property setting?
javascript.my.files=\
custom/UI_scripts.js
javascript.bundle.ids=\
javascript.my.files,\
javascript.barebone.files,\
javascript.everything.files
javascript.bundle.dir[javascript.my.files]=../My_Theme_Base-theme/js
javascript.bundle.dependencies[javascript.barebone.files]=javascript.my.filesShould I be linking things in a different way? Am I missing a property setting?
Hi Mark,
I am also facing same issues. Any updates on this.