DevPortal additional modules and theme location

Is there a preference from Apigee’s point of view about where to place additional modules & theme, in the /profile/apigee/ sub directories, or in sites/all/?

Solved Solved
1 2 237
1 ACCEPTED SOLUTION

@Madhan Sadasivam ,

Great Question,

First rule of Developer Portal customization,

NEVER EVER HACK ANY CORE FILES

All Customisations should go under sites/all/ folder. /profiles/apigee is core of developer portal and should never be touched. Modifications to same will break updates.

Coming to best practices,

  • All Custom Modules should be in "sites/all/modules/custom"
  • All Contributed Modules downloaded from Drupal should be in "sites/all/modules/contrib"
  • All libraries downloaded should be in "sites/all/libraries"
  • All custom themes should be in "sites/all/themes"

View solution in original post

2 REPLIES 2

@Madhan Sadasivam ,

Great Question,

First rule of Developer Portal customization,

NEVER EVER HACK ANY CORE FILES

All Customisations should go under sites/all/ folder. /profiles/apigee is core of developer portal and should never be touched. Modifications to same will break updates.

Coming to best practices,

  • All Custom Modules should be in "sites/all/modules/custom"
  • All Contributed Modules downloaded from Drupal should be in "sites/all/modules/contrib"
  • All libraries downloaded should be in "sites/all/libraries"
  • All custom themes should be in "sites/all/themes"

@Anil Sagar,

We already have conflicts due to the duplicate modules in the following locations. Total 27 modules are effected. How and which location should we cleanup?

sites/all/modules/contrib/…

profiles/apigee/modules/contrib/…

5280-conflicting-modules.png