I am embedding a (calendar) view withing another view by using the following code (in a theme)..
<div class="calendar-calendar">
<?php echo views_embed_view('event_calendar', 'year_plan'); ?>
</div>
The calendar itself is loading perfectly, however, it does have "Prev" and "Next" year links, which increment the year. When you click on them, they navigate to a new page, with JUST this calendar view displayed.
I'd like them to navigate the years using the ajax it uses when I load the view without embedding. Is it possible to load the ajax associated with these navigation links programmatically?
views_embed_view
says: "this provides a worthwhile guide to doing so".