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?
2 Answers
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:
https://www.drupal.org/project/views_custom_template
It does just what I need and probably you too.