Custom Theme JS
Is it ok to edit /com_djcatalog2/themes/custom/js/theme.js ?
I am trying to make most of the fields read only for front end edit. For example I do not want the user changing the category.
If it's necessary, that is you cannot avoid it (by creating your own script in the template), then it's OK to edit theme.js file in your custom theme. The problem is that if you do create theme.js file in your theme (assuming it's not created already) then you will need to observe future updates in this file and apply them manually.
I got round it using the sorcerer module. Thanks