Ok, so here is the problem. I have a page which displays a view. Let's call it view (a). With in this view there is a block with a more link that leads to another view which we'll call view (b).

View (a) and (b) both use views mini pager. However view (b) is displayed in a modal window (Colorbox, but not the drupal module). When the modal opens all is fine and dandy expect when the views mini pager is clicked. When it is clicked instead of displaying the next (x amount) of results from view (b) it will display the next set of results from view (a).

This happens also on other pages. (replace view (a) with view c, d, e....).

I've used different element id's for the pagers but with no result.

here is my implimentation of colorbox.

$uid = arg(1);

drupal_add_js(
"$(document).ready(function(){			
$('#subscribers').colorbox({href:\"/user/$uid/subscribers div#column-subscribers\", title:'Subscribers', transition:'none', initialWidth:\"408px\", initialHeight:\"408px\", innerWidth:\"408px\", innerHeight:\"408px\", opacity:0.40});
$('#subscribers').colorbox({onComplete:function(){Drupal.attachBehaviors();}});
});", 'inline'
);

Comments

dawehner’s picture

Could you try out the patch at http://drupal.org/node/655002

I guess this is the same problem.

walker2238’s picture

Thanks so much dereine for pointing me to that issue. I appreciate you taking the time to help me out.

esmerel’s picture

Status: Active » Closed (duplicate)