I am working on an extension that uses the new "Quick View" option. Everything is working great but I need to filter out a description field in quick view mode. The problem is I cannot get the viewport_mode value in func_get_args() in my hook function. The hook function does process func_get_args() and I can get other value pairs, just not the viewport_mode/value pair.
I tried calling func_get_args() an InitData hook for the page, but get same result (or lack there of). Same result if called in an UpdateData hook.
The only way I could get it to work is to add $this->data['viewport_mode'] = $viewport_mode; to the base file.
Do you have any suggestions on what I can do so I do not have to edit the base file?
Thanks