Need a structure for user JS and PHP file locations

achartier

Administrator
Staff member
Currently, these files are located inside various directories within the Fabrik installation. Some under the component, some inside plugins, and probably elsewhere. The current Joomla guidelines for JS files is that they should all live under the JPATH_MEDIA directory. PHP files can live pretty much anywhere but we think these should be consolidated under a separate folder structure.

We would like someone who could figure out where all these currently live, and develop a new directory structure to move them to. For example, user JS lives in components/com_fabrik/js but may also live elsewhere. User PHP scripts live in plugins/fabrik_xy/theplugin/scripts as well as in the tmpl directories of for example plugins/fabrik_form/email/tmpl.

Once we have this structure we will implement the change in Fabrik to look for the files there. We might also add a tool to Fabrik to move the files from the old structure to the new one, but this may not be necessary if the number of locations are few.

Anyone up to this challenge?
 
Back
Top