We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Avoid default layout for data loading via AJAX | Forum

Elisa Conesa
Elisa Conesa Apr 9 '13
I'm loading in a DIV tag with some information via AJAX. It does well; I set the route in the init.php and coded an action in the controller to assist the AJAX request. However, it loads the whole website's layout when it renders the file inside the DIV tag.


Is there any way to change that default behavior? 

Elisa Conesa
Elisa Conesa Apr 9 '13
In views/controllers 


The file is loaded, but with the whole website's layout (banner, main menu, etc twice)

The Forum post is edited by Elisa Conesa Apr 9 '13
Michael I.
Michael I. Apr 10 '13
This topic might help: http://www.oxwall.org/forum/topic/9732