AnsweredAssumed Answered

Where do extended core javascript files go?

Question asked by ericnk on Aug 15, 2011
Latest reply on Aug 16, 2011 by ericnk
Hi,

I'm customizing a core javascript template file.  The file (dod5015-evaluator.js) currently resides at …

alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary

I don't want to modify one of the core files if I can just as easily extend/override it.  The problem is, I'm not sure where to place the modified version of this file.  Alfresco has an "extension" folder where I place modified and overridden .xml configuration files, but when I place this file in with them, it has no effect.  I've tried placing the file in a file/folder structure similar to the original, but underneath alfresco/extension, something like… 

alfresco/extension/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/dod5015-evaluator.js

… but that doesn't work either.  Can anyone tell me where the modified version of this file is supposed to be placed?  I look forward to and appreciate  any suggestions or comments anyone can offer.  Thank you.

Eric

Outcomes