I am attempting to render an entire page through an ajax callback using either custom javascript or drupals ajax_deliver
. The issue is that it is trying to render the entire page and I simply want it to render what is in a custom page.tpl.php
file created. I have found a solution around this using a $_GET
in the html.tpl.php
but it seems hacky to me.
Basically I am rendering only the $page
variable if a $_GET
is set, if not render it as normal. Is there any functions or way to simply render all the regions in a page, minus what is in the html.tpl.php