Topic: disabling quick post through hook
hello,
i tried not to show the quick post section using a hook. but i ended with no success. it is possible to hide from option. however, i will show/hide on condition in my ext.
i tried,
hook = vt_qpost_output_start
---------------------
condition to show quickpost {
the defaults codes
---------------------
hook = vt_quickpost_end
---------------------
}
---------------------
but it did not work. possibly due to some other hook codes.
i also tried to clean the buffering on condition before replacing the template variables. however getting encoding error.
can anyone tell me how simply disable quick post?