How do I call my module file using raw parameter in url? - Joomla! Forum - community, help and support
hi...
i have earlier used url call component file:
index.php?option=com_mycomponent&format=raw
now have module.
i want able call main file of module in similar way... like:
index.php?option=mod_mymodule&format=raw
but... not working:
is there way make work?
if possible still able have code in top of module file:
defined('_jexec') or die('restricted access');
reason wanting want able use ajax , fetch
some quick data module , output result without having update whole page.
regards
i have earlier used url call component file:
index.php?option=com_mycomponent&format=raw
now have module.
i want able call main file of module in similar way... like:
index.php?option=mod_mymodule&format=raw
but... not working:
is there way make work?
if possible still able have code in top of module file:
defined('_jexec') or die('restricted access');
reason wanting want able use ajax , fetch
some quick data module , output result without having update whole page.
regards
hi,
modules not using kind of url parameters. need use separate file, or component.
mod note: bump post deleted, please not bump posts.
olaf
modules not using kind of url parameters. need use separate file, or component.
mod note: bump post deleted, please not bump posts.
olaf
Comments
Post a Comment