pagers

spyderboy's picture

Multi Views, Multi Pagers

Hi there... I am flummoxed by a Multi Views Multi Pagers (one view embedded in the other) problem (Views 2, Drupal 6):

I am working on a magazine site. We have Issues, and Issues have Articles. I have created a view that lists Articles based on the related Issue (one at a time, with a pager). I have created another View that lists Issue's Covers (one at a time, with a pager), and used a .tpl file to embed the list_articles view.

Login to post comments · Read more

Making views pager work in panels

So what im try to accomplish is this....

I have a panel page that needs a calendar picker for picking dates and a taxonomy drop down form. I built a view that takes url arguments for the date. in the format of calendar/%y/%m/%d. then when a user clicks the calendar picker it returns to the panel but appending the dates as args (ie calendar/2008/6/25/ ).

using the following code I am able to make my view accept these arguments

Argument Code

$args[0] = arg(1);
$args[1] = arg(2);
$args[2] = arg(3);

$view->is_cacheable = 0;
return $args;

Footer code:

Login to post comments · Read more

Having view pagers in a panel?

Hi there,

I am stuck on a seemingly no-brainer problem here. Yet I can't find a solution already half a day. In short I cannot get a view to show it's pager inside a Panel.

I have a view, which has the "Use pager" checked and "Items to display" set to 12. I have used the same settings under the Views Panels configuration (http://mysite/admin/panels/views). My "view type" is set to Page.
When the view is displayed alone, it shows its pager and I can browse through the pages if there are more than 12 nodes in the view.

2 comments · Read more
Syndicate content