R
ragtek
Guest
ATM xenforo shows a "empty page", if you try to use a template which doesn't exist in responseView
For example:
IMHO it would be better to show a error message, instead of the empty page (in the debug mode)
The problem is, that this would need some changes because of the json responses (that's something i don't understand => http://xenforo.com/community/threads/clean-way-for-json-responses.15784/ why do we need to use a fake template, if we don't need it for the return? )
For example:
PHP:
return $this->responseView('Ragtek_PC_View_Delete', 'faketemplate', $viewParams);
IMHO it would be better to show a error message, instead of the empty page (in the debug mode)
The problem is, that this would need some changes because of the json responses (that's something i don't understand => http://xenforo.com/community/threads/clean-way-for-json-responses.15784/ why do we need to use a fake template, if we don't need it for the return? )
Upvote
3