Isit possible to have a zend view which returns nothing?
I have the following, which is probably wrong:
$oContextSwitch->addContext("print",array("suffix" => "something"));
I call the view like so something.com/stuff/view/format/print
I don’t actually know what suffix is doing, but I can have the context with out it. I have read the docs I just really don’t understand them!
Anyway this view is called from some highcharts javascript which is already embedded on a page, there is some svg data posted to the view as part of the link.
Now I want this view to do some stuff, mainly save and convert the svg data. BUT I want it to do this without reloading the page, can a view return nothing? and can the page which called the view still be available?
Thanks
that will disable your layout and in your view file just leave it empty, zend will return nothing. However i think that’s only going to solve part of your delima. Your using Highcharts (great script btw) so your also using jquery. Your going to want to use jquery to load the new tab your wanting dynamically. that new tab is going to need content right? well are you sure that the ajax call you just made to the zend script that’s supposed to return nothing isn’t the ideal page to return what you want in that new tab?