You can also create a second layout.php, e.g. layout_flash.php and
define in your
/app/APPLICATION_NAME/modules/MODULE_NAME/config/view.yml
something like this:
sendSuccess:
has_layout: on
layout: layout_flash
or just:
sendSuccess:
has_layout: off
On 31 Jul., 16:47,
Add in your action
$this-setLayout(false);
On Jul 31, 3:47 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
I created an action, called send in the module system.
Now I have a Flash file which sends it's values to /system/send.
In the sendSuccess.php I have a line to push a thank
On Fri, 31 Jul 2009, nico wrote:
Add in your action
$this-setLayout(false);
Also if you're sending back XML or JSON then set the appropriate header
like:
$this-getResponse()-setContentType('text/xml');
--
--~--~-~--~~~---~--~~
You received