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
1
vote
1answer
436 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?
1
vote
1answer
402 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 ...
-1
votes
1answer
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 ...
1
vote
1answer
53 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 ...
1
vote
1answer
28 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 ...
0
votes
1answer
84 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 ...
0
votes
1answer
1k views

One view for multiple pages

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 ...
1
vote
1answer
194 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/...
0
votes
1answer
812 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 ...
0
votes
1answer
143 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 ...
2
votes
1answer
303 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 ...
1
vote
0answers
702 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 ...
0
votes
1answer
59 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 ?
0
votes
0answers
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......
3
votes
2answers
4k 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 ...
1
vote
1answer
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-...
0
votes
2answers
73 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, ...
0
votes
1answer
115 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) ...
4
votes
2answers
1k 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 ...
1
vote
0answers
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(...
1
vote
0answers
148 views

Add a pagination to drupal nodes?

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: ...
1
vote
1answer
908 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 ...
4
votes
2answers
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 ...
0
votes
1answer
626 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 ...
0
votes
2answers
539 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 ...
0
votes
2answers
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 ?
0
votes
1answer
853 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-&...
4
votes
1answer
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 ...
0
votes
1answer
202 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 ...
2
votes
0answers
786 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'...
0
votes
0answers
619 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 ...
2
votes
1answer
214 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 ...
0
votes
1answer
154 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 ...
4
votes
1answer
886 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,...
2
votes
0answers
233 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 ...
0
votes
1answer
387 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 ...
3
votes
1answer
319 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 ...
4
votes
4answers
14k 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->...
1
vote
1answer
92 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 ...
0
votes
1answer
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 (...
1
vote
0answers
260 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 ...
0
votes
2answers
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 ...
1
vote
3answers
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. ...
5
votes
1answer
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, ...
1
vote
1answer
60 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
0
votes
4answers
719 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&...
0
votes
1answer
749 views

Pagination isn't working

I have a homepage view called FrontPage. Currently, it shows the pagination link like "1, 2, 3 Next->" as it should; when I click on Next, it goes to http://example.com, not http://example.com/page/1/...
3
votes
3answers
1k views

Can a pager item point to an anchor on the page?

I'm building a page where, somewhere down in the middle of it, there's a pager of some stuff. The pager is working fine, but, when you click on one of the pager items, the page is redrawn showing the ...
5
votes
4answers
2k views

pager_query() - How to fetch only 100 records with a pagination 10 items per page?

$result = pager_query($query, 10, 0, NULL, $args); Currently with above code , I am getting all results with 10 items per page. But I need to display only first 100 records , with 10 items per page. ...
5
votes
2answers
12k views

Views AJAX pager not working, though AJAX is enabled

I have a view of 6 news items on my front page. These get rendered in teaser mode. I enabled a pager of 6 items, and also enabled AJAX as you can see in the settings below. AJAX is enabled in the ...

1
4
5
6 7 8