i m developing site in Joomla, meanwhile i stuck in a problem,please help me in below problem
here is my folder structure for component
htdocs/Joomla
Nothing worked for me from all given solutions above(Joomla 3.1). So I used this solution. Add tmpl=component in url.
index.php?option=com_photos&view=intphoto&id=1&tmpl=component
You can use:
url: "index.php?option=com_test&view=check_user&format=raw",
which will prevent loading of entire template, but will load only component's output, which you actually want when you call your ajax functions.
Also, you might check index2.php
(instead of index.php
) which has been designed in a similar fashion to provide the simple output, without rendering entire template.