You'll need to register your plugin after the layout plugin, which I believe
is registered in position 100. Try this:
$front->registerPlugin($myplugin, 150);
Also don't forget to return early in your post-dispatch hook if the request
is not marked as dispatched (meaning a forward was detected):
if (!$request->isDispatched()) {
return;
}
--
Hector Virgen
Sent from my Droid X
On Dec 22, 2010 4:53 PM, "Sergio Rinaudo" <[email protected]> wrote:
>
> Hi all,
> how to get and set the full html response in a plugin?
>
> I'm trying to minify the html response but apparently I cannot get and set
the the full html response using response object's
> getBody/setBody methods.
>
> I am currently working inside the postDispatch hook in my test plugin.
>
>
> Thanks for any help.
>
>
> Sergio
>
>
>