It's possible to export sub view and import it to another view? For example I have views "A" & views "B" and each one has sub views [blocks - pages - ...etc]. How to export sub view from A to B?

  • Why you need that? Can't you use single view? Apr 9, 2015 at 9:59
  • Because the project built on views & sub views Apr 9, 2015 at 10:23
  • No I mean need of importing a subview into another one. Apr 9, 2015 at 10:25

2 Answers 2


You might be needing this module views_field_view to insert a sub view inside a view as a field.

  • No, not that way, i want change the sub view instead of under A view to be under B view. Apr 9, 2015 at 10:50

Yes, how do you export a page view, into another page view so that it has 2 page views and they can share the same theme template?

Nevermind I don't think that would be possible because each view would have its own machine name and it doesn't look like there is a tpl suggestion that would work for 2 views. So not to hijack but is there any way to have more than one view share the same theme file?

OK so here is the solution I used:


It does just what I need and probably you too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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