Questions tagged [paging]

The process of splitting the result of a query on different pages is called, in Drupal terminology, paging.

Filter by
Sorted by
Tagged with
3 votes
1 answer
2k views

Adding Pagination to to custom form block results

I have created a custom block that has a form which has a list of result and I wanted to know how to add pagination to the results Thanks for any help on this Colin
colinam1992's user avatar
1 vote
0 answers
374 views

AJAX on multiple views pagers fails to work

I have a situation that not all of my AJAX enabled pagers are working. I have several blocks on a page where each block is a view with a pager. Each pager has a unique ID. I use Context to determine ...
CyberSkull's user avatar
5 votes
1 answer
2k views

How to offset an EntityFieldQuery when using pager?

Is there some way to easily offset an EntityFieldQuery when using pager(), i.e. skip the first 3 nodes? range(3, NULL) doesn't work as the second value must be set, and range() also doesn't work when ...
dxc's user avatar
  • 2,676
5 votes
1 answer
2k views

View with paged output - how to alter number of pages?

I use Views 7.x-3.8. I have view "taxonomy_term". It has Paged output, full pager. Number of pages (the total number of pages) is set to 100, Items per page = 10. Now I want to show all pages for ...
quotesBro's user avatar
  • 347
1 vote
1 answer
505 views

how should I add textfield ie jump pagination in views mini pagination of drupal

I have created views of gallery by view. View has provided pagination option. I choose mini pager. I want to implement Jump Pagination here. How should I add in view pagination?
YKJ's user avatar
  • 157
1 vote
1 answer
459 views

Override Load More button for Views

I am currently using Drupal Views and its "Load More" Pager. I wish to change the words on the button to say something else instead. It looks like the UI does not provide me with an easy way to do ...
cowman's user avatar
  • 25
0 votes
1 answer
3k views

Views alphabetical pager [duplicate]

I need the exact config as displayed in the image above. I need to have the entire alphabet showing and I need the title of content to be displayed below the Letter it belongs to. Can we get a ...
James30's user avatar
  • 119
1 vote
1 answer
61 views

pager not working with custom reports

I have custom reporting which has few dropdowns. A report is generated in the form of a table with selected dropdown values. I have tried adding pager to the table. When I click on next page, all ...
kavya's user avatar
  • 11
1 vote
1 answer
33 views

Pager on Widget Form Query

The module is a small custom widget for the entity reference field. It creates a list of nodes that allows for multiple selections. Is it possible to paginate the results of the query even though ...
anthony's user avatar
  • 121
0 votes
1 answer
88 views

Print specific page of a paged node

I am using Print module to print a Drupal node. Recently users have asked the ability to print a node in form of individual pages. For example if a paged 'Drupal' article spans on 5 pages, user ...
user11's user avatar
  • 181
0 votes
1 answer
1k views

One view for multiple pages? [closed]

I have nodes from a content type that are put in a paged view (show 1/page) You can see it here: http://stage.e-clear.eu/en/chemicali%C3%ABn http://stage.e-clear.eu/en/Energie As you see this are ...
Jobse's user avatar
  • 83
1 vote
1 answer
260 views

views paging dropdown

I need something like a drop down pager for a view with many pages. Either drop down with all pages listed, or maybe more fancy like this one here: http://www.zeit.de/2014/18/sextourismus-ostafrika/...
krabbe's user avatar
  • 167
0 votes
1 answer
1k views

Custom module Pager does not work with Ajax filter

My custom module uses an Ajax enabled drop down to allow users to filter images. There is also a pager attached to the query. The pager works fine when all the data is displayed i.e. no filter applied ...
PrestonDocks's user avatar
0 votes
1 answer
217 views

Views: how to achieve automatic pagination?

I currently have a view that shows some content displayed in the right sidebar but now I have a pager that shows 4 items on every page. The user has to click next every time he wants to see the next 4 ...
Jaxx's user avatar
  • 1
2 votes
1 answer
382 views

Paginate results of entity reference widget type

I have entity reference field with checkboxes/radio as the widget type. The issue is the I have hundreds of nodes and this results in a having a big list. Is there a way to paginate the results or ...
anthony's user avatar
  • 121
1 vote
0 answers
888 views

Views pager - start paging from 1

Views pager starts with 0 (URL GET argument "page" has value 0 for first page). Is it possible to set the pager, so it will start with 1? I think it is more user friendly. (if pager is starting ...
tomas.teicher's user avatar
0 votes
1 answer
61 views

Show exposed pager as links instead of select box

How to show exposed pager as links instead of select box in drupal 7 views ?
Vikram's user avatar
  • 364
0 votes
0 answers
25 views

Grouping the pagers - Drupal [duplicate]

I have a view with full pager, i am showing 10 items per page. Now pager shows up like... 1 2 3 next › last » I want to to show each pager number from which count it will start and end......
Tanvir Ahmad's user avatar
3 votes
2 answers
5k views

how to change views pager links?

I am using the full pager in views module. I am displaying 40 items per page. The full pager display links like this 1 2 3 4 5 next last I want to change it to this 1-40 41-80 81-120 next How will ...
Ahmad's user avatar
  • 2,835
1 vote
1 answer
2k views

Ajax HTTP error occured. HTTP Result code: 200

I get Ajax error when I click next button. You can test it here. I have found out the problem. It is due to the custom module which I have made. <!DOCTYPE html> <meta http-equiv="X-UA-...
user3365207's user avatar
0 votes
2 answers
77 views

Why does my D7 User view only display 6 results in Block View, but all results in Page view?

I have a simple D7 view that lists all usernames and a couple of associated fields (business name, contact name) in table format. It has exposed filters on those fields, and about 200 users to list, ...
Victoria's user avatar
  • 315
0 votes
1 answer
123 views

Using views to create comic reader

I'm trying to create a comic reader like a flip book. I think the views module can do this but I don't know how to do it. I plan to structure like this: Terms (Series) - Sub Term (Chapters) ...
Ruriko's user avatar
  • 615
4 votes
2 answers
2k views

How do I add the page number to the page title on drupal default paginated pages?

It has been recommended by an SEO consultant that for paginated pages the page number is included in the page title to avoid duplicated content. How do I achieve this? I did this: function ...
Andrew Welch's user avatar
  • 2,601
1 vote
0 answers
19 views

pager in EntityFieldQuery [duplicate]

I know I can have pager with db_select as example $query = db_select('node', 'n') ->condition('type', 'article') ->fields('n') ->extend('PagerDefault') ->limit(...
Yuseferi's user avatar
  • 21.8k
1 vote
0 answers
151 views

Add a pagination to drupal nodes? [closed]

I can't get a pagination working for my nodes... What I've tried: I tried to make a page view with views in which I had my youtube content type and the title. Then there was a pagination but first: ...
user25548's user avatar
1 vote
1 answer
936 views

Theme views pager

I need to theme views pager, but I can't find the way to do it. For example - Instead of printing 'last page' I need print the last page number. I tried to use Drupal's theme_pager with the pager ...
rreiss's user avatar
  • 969
4 votes
2 answers
2k views

How to place the pager for a view in page.tpl.php?

I have a view on my front page showing the latest posts, but the design of the website implicates the pager to be located outside the content area of the view (way across in the sidebar). Is there a ...
Tommo's user avatar
  • 143
0 votes
1 answer
641 views

Drupal7/Search Module & Pagination [closed]

I am looking for a People directory Search Module. Something like what they used on top of the link: http://wws.princeton.edu/directory Also in the link above, they have pagination on the top and ...
Boutros AbiChedid's user avatar
0 votes
2 answers
580 views

EntityFieldQuery get total of paged results

I have added a pager to my query with $query->pager(6); but I also want to display a total number of results. For example, if there are 8 results I want to display Search results (8) with 6 per ...
nexus_6's user avatar
  • 461
0 votes
2 answers
2k views

How to change pager class to view

I have HTML desing of pagger ,How to I assign my own class to pager in side view ?I dont have any idea about it so will you plese tell how can I ?
Nikunj Jagad's user avatar
0 votes
1 answer
962 views

Embed Views remove pager

I have embedded view in a node with following code: <?php $view = views_get_view('articles'); $view->set_items_per_page(1); $view->set_offset(2); print $view->preview('page'); $view-&...
Sacha K's user avatar
4 votes
1 answer
1k views

Views with attachment - How do I exclude pagination offset on every page but the first?

I have a view with an attached view to display the first row with different fields and markup. This works perfectly except for when you start using the pagination. When I press another page (in the ...
hampusn's user avatar
  • 728
0 votes
1 answer
228 views

Capturing Views AJAX pager click

I am on Drupal 7. I have a Views block with a pager sitting on the bottom part of it. I am using AJAX pager, meaning the page isn't reloaded. When the pager is clicked, the block reloads all the ...
Marcos Buarque's user avatar
2 votes
0 answers
800 views

how to add Ajax to the theme pager

How do I load Ajax pager? My code in custom module function organization_news_page(){ if(menu_get_object()){ $node = menu_get_object(); $query = db_select('node', 'n') ->fields('n', array('nid'...
Yuriy Sychenko's user avatar
0 votes
0 answers
641 views

Dynamic query with pager not working with filter values

I have a dynamic table with a form and a pager. Table and form filters work fine. But the pager ALWAYS retrieves ALL the records. It does not consider the "post" value of the form filter. function ...
Teebo's user avatar
  • 1
2 votes
1 answer
226 views

Pagination Not Tied to database queries

I would really like to: to create a paginated table of nodes, displaying only those that the user has 'update' permission to; displaying title, content type, and path alias the path for nodes may be ...
knight's user avatar
  • 347
0 votes
1 answer
160 views

Paginate options in checkbox of a form field

I have a custom form with a field of type checkboxes,options for which I am getting from another function which takes an array as input, do some theming on options value and return options back to ...
arpitr's user avatar
  • 7,836
4 votes
1 answer
1k views

How to noindex on paginated pages in Drupal 7?

This question is almost a copy of: How to noindex comment/reply in Drupal 7 However in this case i would like to know how to add noindex,follow on paginated pages. For example I want to add noindex,...
Kaah's user avatar
  • 143
2 votes
0 answers
241 views

Drupal7 - Views: Different count of elements per page

I have an view for displaying 28 contentelements(teaser). (7 rows á 4 elements) Now there are some elements flagged as "highlighted", so the element size is 2x2 (double width and height), now I want ...
MKweb's user avatar
  • 31
0 votes
2 answers
587 views

How can I create the views pager on top and bottom of the view?

I need two view pagers / pagination to sandwich the view content or view results. Is it possible to duplicate view pagers/pagination ? What i've done is just printed out the pagers in the template ...
chrisjlee's user avatar
  • 6,540
3 votes
1 answer
336 views

how i can reset the page num to 1 when i change to another exposed filter option?

Now,i have a view page with exposed filter(filter option:filterA,filterB) and full pager when i go to the 3rd page of filterA , change the filter option to filterB ,i find the page redirect to the ...
Nick's user avatar
  • 31
4 votes
4 answers
18k views

Change views pager programmatically

I'm adding nodes to a view programmatically and i'm altering the pager 'x out of y' by setting the folowing in hook_views_pre_render: $view->query->pager->total_items = $count; $view->...
adevms's user avatar
  • 131
1 vote
1 answer
96 views

Number of Front Page Nodes Variable?

I'm aware of how to change the number of nodes displayed on the front page. My question is whether there is a variable in Drupal, or a way of calculating the numbers of nodes displayed per page of ...
Brian Crawford's user avatar
0 votes
1 answer
1k views

Views pager shows an incorrect current page

I have a page view displaying a table of fields with a few exposed filters. This page view also has a full pager (8 items per page). The view is not using AJAX, nor does it have any caching enabled (...
Mike Miles's user avatar
1 vote
0 answers
267 views

pager replaced in ajax callback

I have a page with multiple elements and pager. They are both created in the same function. Next to this i have a search box, and after clicking "search", ajax callback calls this same function and ...
gregab's user avatar
  • 507
0 votes
2 answers
144 views

D6/views - Multiple nodes in one slide grouped by taxonomy

I have the following taxonomy: food fruits apples pears bananas vegtables tomatoes carrot cucumber meat chicken beef duck ...and a view that brings all those items, currently as an html list ...
acrocosm's user avatar
1 vote
3 answers
1k views

Create a pager between fields

I have a content type that has no limit on how many body fields it can have. You can say that each body field represents a page in a book. You are supposed to switch page to see the next body field. ...
Frinsh's user avatar
  • 71
5 votes
1 answer
1k views

Using Infinite Scroll module with Views paging: Detrimental to Google SEO?

I love using the Infinite Scroll module with Views. But does Google limit indexing to to only those first bunch of nodes which appear in the view? I'm guessing that when using a regular pager, ...
Meggy's user avatar
  • 407
1 vote
1 answer
65 views

views pagination pager add | to the li

How do I add "|" to views pager when you are displaying numbers. See the example below previous 1 | 2 | 3 next
purencool's user avatar
  • 541
0 votes
4 answers
754 views

Is there a function for drupal that can identity if a certain page and its children are being viewed?

So I have nav that looks like this: <li> <a href="/some-parent-url">Parent Url</> <ul> <li> <a href="/some-parent-url/child-url-2">Child Url</a&...
raeq's user avatar
  • 113

1
4
5
6 7 8