0

I have a View, and I want to display result summary below the exposed filters. Currently I am modifying views-view--view_name.tpl.php.

How I can render result summary header just below the exposed filters?

5
  • How are you adding the Exposed filters? If you do it as a "Block" and place that block on your Views page above the "Content" block, it should get output above your view header. – Beebee Sep 13 '17 at 9:16
  • Currently not adding as a block..Is there any way to render in tpl? – Milind Sep 13 '17 at 9:19
  • Please don't add signatures to posts (e.g. Can you guys help me out?), the question on its own is fine and we prefer posts not to be too chatty as it doesn't fit the format here. Thanks – Clive Sep 13 '17 at 9:22
  • @Clive, I will definitely consider this suggestion.. – Milind Sep 13 '17 at 9:44
  • I got one solution for this one, we can render header area in tpl using $view->display_handler->handlers['header']['result']->render(TRUE) – Milind Sep 13 '17 at 11:38
0

Ad summary of the result in the head of the vieuw and reposition this div with css to the place where you want to put it.

1
  • That will be one solution but I don't want to do any css for this thing. – Milind Sep 15 '17 at 3:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.