Closed cospin closed 11 years ago
update the whole body have no sense, better just reload the whole page ... for update more than the one block you can use Model2Blocks
I just want to know if that is possible with FullAJAX and how should I do to make it work, makes sense or not, I need it for something specific.
How do I make the ajax answer show the whole body, or entire page, not just the content of the component
just set the body ID and use it in the FLAX.Filter as with the any other block .. or make a some content wrapper and use ID of this wrapper in the FLAX.Filter ... or it not works?
for second question, simple way it using Model2Blocks should help, but need use a content wrapper :
in template do:
<body>
<div id="content-wrapper">
<!-- :ax:content-wrapper:begin: //-->
You content
<!-- :ax:content-wrapper:end: //-->
</div>
</body>
Model2Blocks configuration:
FLAX.Model2Blocks['content-wrapper'] = {
'content-wrapper':'content-wrapper'
}
other way it check $_SERVER['HTTP_AJAX_ENGINE'] , look Basics usage at the end
but this really have no big sense ;)
Not work, the answer still give me the content component, not all body
if you use the joomla plugin: try set "Update positions" to "using fullagax_tmpl" and edit "fullagax_tmpl/index.php"
Some option to update one section (html), or all the body, no just some components? I need to load all the body, o a section of the body on the ajax, no just some components.
What can I do? Thanks!