Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Sushil Mayengbam
Modify main.js in a hook
January 22, 2013 5:05 AM
Answer

Sushil Mayengbam

Rank: Junior Member

Posts: 53

Join Date: February 16, 2010

Recent Posts

Hi All,

I'm creating a hook for the Liferay portlet - workflow_tasks. I wanted to add a new (javascript) AUI module in its main.js file - yes, I wanted to modify this file.
Would this new changes be reflected in the hook after the modification has been made to the file? I know that hooks are use for modifying JSP and JSPF files and am not sure about JS files.

Any suggestions is welcome.

Thanks,
Sushil

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!