Custom script location

giorgiofox

New Member
Hi,

I'm totally new to Joomla and Fabrik, and I would like to know where should I put my custom php script (that makes some queries to Fabrik db data) and return a JSON response.

I followed the user_ajax.php example. Should I leave my custom script in components/com_fabrik folder?

Thanks.
 
Thanks for the prompt response.

Glad to know that they will be not deleted when updating. Is it the best practice?

Sorry for the lazy question, I would like to learn more but on project deadline with no time to explore.
 
I have many many custom scripts on my system. I created a custom_scripts folder and place them all in there. They are not all Fabrik scripts. I like them all being in the same place so I know where to find them. I also include them from within fabrik forms and elements rather than inserting the code directly. Again so I always know ehere they are.

Just my $.02 CDN.
 
@achartier, this is what I prefer too instead of "hidden" in a plugin folder.

However, I have issues include the FabrikWorker class outside the com_fabrik folder. What is the correct way to include the plugin classes in Joomla?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top