I create a module, not a component, a module because it should appears a number of times, on a number of pages in various positions I follow basic module creation
In default.php I would like to make a ajax call to helper to refresh data, something like that :
$.ajax({ url: '/index.php?option=mod_doodlike&format=raw&tmpl=component,
all other parameters are in post
Is it possible ? what is the exact URL ?
what should I put in helper.php (public function , class myclass extends JController) or in mod_module.php : jimport('joomla.application.component.controller');
or definitely it's a component I need to create ?