In Joomla! 1.5 all you had to do was add ?tmpl=component&format=raw
, but to achieve raw rendering
In Joomla! 2.5 you need to make a view.raw.php file that can be identical to the existing view.html.php
, but it depends on your needs. And also in the controller, you must manually create the original view, because the default type is html.
A very good example that you can find in the file administrator/components/com_banners/controllers/tracks.raw.php
, which is part of the default components that come with Joomla.
source share