Hi, How I can see a view without loading the contents of index.volt?
I don't understand. What you mean without loading the index.volt ? It's impossible to see something without loading it tbh.
Perhaps you need to debug prepared view before sending it to the actual view component (Volt in ths case)?
Hi,
do you mean index.volt main layout file ? In that case use :
public function showAction($postId) { // Shows only the view related to the action $this->view->setRenderLevel( View::LEVEL_ACTION_VIEW ); }
This is the documentation
https://docs.phalcon.io/pl/latest/reference/views.html#disabling-render-levels