1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Throw Error if template doesn't exist

Discussion in 'Closed Suggestions' started by ragtek, May 31, 2011.

  1. ragtek

    ragtek Guest

    ATM xenforo shows a "empty page", if you try to use a template which doesn't exist in responseView
    For example:
     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? )
    Korenwolf, James and Rigel Kentaurus like this.
  2. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    Liked, as I love when system clearly fail. An empty page can have me wondering why for hours until I realized I misspelled the template name

Share This Page