How to disable unused components in AweContent

avash84's picture
avash84
Thu, 03/02/2017 - 23:18
#1
How to disable unused components in AweContent

Some of the assets loaded by default in awecontent module are not used anywhere in our site. But we do not have any option to disable from backend configuration”

Eg: Below are couple JS files loading by default(in node_view function) even though we are not using in our pages. This is impacting our site performance.

drupal_add_js('https://www.youtube.com/iframe_api', 'external');

drupal_add_js('https://maps.googleapis.com/maps/api/js?.exp');

We are not expecting to modify this module source code from our end, which will create an issue in future upgrades. Please let us know your suggestions to disable these unused components.

cindy's picture
cindy
Fri, 03/03/2017 - 05:05

Hi,

You just comment the two lines above

(This issue is fixed in the upcoming version of MD Awecontent. It will be release soon)

Thank you

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.