Hi,
I am currently developing an Add ON to output a custom RSS feed for each vendor.
eg:
$view->assign('products', $products);
$view->assign('content_tpl', 'addons/vendor_rss_feeds/views/components/rss.tpl');
Calling the appropriate dispatch controller gets the right output but it is wrapped in site skin template. Is there a way to programmatically disable the main content wrapper or use another?
If anyone is wondering I solved this by doing the following
Adding an empty.tpl in the same folder as index.tpl of the site skin.
calling: Registry::set('root_template', 'empty.tpl'); in the controller.
Oh and adding {block group=“central”} to empty.tpl