Paging is the process of splitting the result of a query on different pages.

learn more… | top users | synonyms (2)

0
votes
1answer
17 views

Change pager href attribute

I'm new to Drupal and I've a 'pager' link that shows the second page of a block. It's href attribute is set to something like this '?page=0%2C1' I want it to be simply '#'. It worked by setting ...
0
votes
0answers
13 views

Inconsistent paging per page

I have created a custom module whishow data from table.I have used following code: $query = $query->extend('PagerDefault')->extend('TableSort'); $query ->fields('u', array('fields')) ...
0
votes
0answers
9 views

jPages pagination plugin throwing error.

I am using jPages plugin for pagination but its throwing an error saying $(...).jpages is not a function. How to resolve this error. Thanks Dipak
0
votes
2answers
66 views

Disabled AJAX paging with embedded views when used in Views template files

I am using a View in two different pages: page--front.tpl.php and views-view-grid--inside--page-1.tpl.php which is a custom display of a view. This is the code that is used in both of these print ...
0
votes
0answers
31 views

Drupal Core Bartik Theme - Pager Problem

URL: /admin/store/products/attributes/ Uber:7.x-3.8 Drupal:7.37 i haven't this problem with older Drupal versions When I check my att list page in Ubercart with Bartik core theme I see: ...
0
votes
0answers
31 views

Custom pagination in search results [duplicate]

I would like to know how to display a custom pagination in search results. By default drupal search is displaying 10 results but no pagination even $pager; is printed in search-results.tpl.php. I know ...
0
votes
1answer
35 views

Views Infinite Scroll and back button issue

I am using Views Infinite scroll module, Drupal 7. When i click on an item and go to next page and then click Browser back button, it takes me back to the start of the page. When i click browser back ...
0
votes
1answer
15 views

How to alter a views current pager label to node post date

I'm working on a website which features a daily updated "six word story" (a node for each day). I created a view to display the last node/story, with the option to scroll back one day at a time (using ...
0
votes
1answer
25 views

Changing Pagination based on screen size

Is it possible to change the amount pagination displays based on screen size? For example: I have a products page that I want to show 30 items on desktop, but on mobile I'd like it to only show 10 ...
0
votes
1answer
27 views

Calendar as view's pager (passing arguments between views?)

I have a view paged by week. Users are a bit disappointed by the pager: they find clumsy to navigate to weeks that are far in time (more than 1 month from today's date). The idea is to keep the ...
0
votes
0answers
19 views

Filter in $form table not working with pager?

I'm trying to add a filter to my table which has a pager. It does work but only for the 1st page. The pager keeps saying (for example: 4 pages) and it should be only 2 after adding the filter. My ...
1
vote
1answer
55 views

EntityFieldQuery with pager and db_or using addTag

I'm having an issue that I hope some of you can help me with. Drupal version: 7.36 I've created a list of all nodes of a certain content type using EntityFieldQuery. Since there are a lot of nodes ...
0
votes
0answers
22 views

Pager not working when $form['table'] is called with AJAX

For a statistics page I let users select the right file in a select list. After that I generate a table with stats. This table also has a pager (that worked without the ajax part). Now I did ...
2
votes
1answer
52 views

by default curent page should be last page except of first one [closed]

i have made a view including pager and show on front page. when i visit front page, i see the first page is active listing posts but I want that by default focus should be on last page except of first ...
0
votes
0answers
15 views

paging using Entity field query

I have paging issue, I want to display pagination for all nodes but it is showing for each separate content. Below $all_children[$i] contains index for leaf node of a particular term.Let say, if ...
0
votes
0answers
22 views

Memcache doesn't working properly with Drupal

I got some error with memcahed with my Drupal site : for example I have a view page like this " localhost/test then each time I enable memcahe and I got same content with localhost/test?page=1 and ...
0
votes
0answers
15 views

entityfieldquery() and page_default_initialize() [duplicate]

`if(isset($_GET['tid'])) { $id=($_GET['tid']); $query = new EntityFieldQuery(); $query->entityCondition('entity_type', 'node'); $query->entityCondition('bundle', 'escorts_product'); ...
0
votes
1answer
50 views

drupal 7 pagination [duplicate]

I used the below code but it gives me error. Below is my code: if(isset($_GET['tid'])) { $id=($_GET['tid']); $query = new EntityFieldQuery(); ...
0
votes
1answer
43 views

Pagination in drupal 7

I used the below code for pagination: if(isset($_GET['tid'])) { $id=($_GET['tid']); $query = new EntityFieldQuery(); $query->entityCondition('entity_type', 'node'); ...
0
votes
0answers
11 views

Apply paging using EntityfieldQuery [duplicate]

I used Entityfieldquery function to get the product content of particular node depending upon the id. Now how do I apply paging I want to set 6 products on my page if it exceeds then page next option ...
0
votes
0answers
15 views

Smart Paging: can it work with custom view mode (other than full)?

Relevant modules: Smart Paging 7.x-2.1 and Display Suite 7.x-2.2. Pagination works for full view mode but it doesn't work for my custom view mode which I set through hook_entity_view_mode_alter in ...
2
votes
2answers
82 views

Custom pager for View

The client I'm building a site for has a collection of content that they want paged by its ReleaseYear Field. The pager they want should look like: [ < | 2011 | 2012 | 2013 | 2014 | 2015 | > ] ...
0
votes
1answer
35 views

How to use drupal_add_tabledrag() with paging feature?

I have set up a table to reorganize content based on custom weight field. Everything works well without pager. But if I add a pager to the form, only the items displayed will be reorganized - causing ...
0
votes
1answer
72 views

Drupal 7 pager from module fuction not displaying in page.tpl

I have a function mymodule_submissions in my module which fetches rows from mymodule_table and prints as table theme with pager. Its working fine if I define a menu link in my module to call that ...
0
votes
1answer
30 views

How can I fix the pages pager returns?

I have a number of "product nodes" that I'd like to return and display in a paged table. The original query is generated as follows: $productNodeQuery = db_select('node', 'n') ...
0
votes
2answers
91 views

How to remove the ellipsis button in the pager in Drupal 7

I have a view with video and have replaced the links to different pages with a button. However, when there are many videos, an ellipsis (...) appears floating, and I want to remove it. I have the View ...
1
vote
1answer
89 views

Modify Drupal pagination to restrict shown page numbers on Drupal 8

On Drupal 8: I have a pagination for list of articles within a Drupal site e.g.: <<first <previous ... 3 4 5 6 7 8 9 10 11 ... next> last>> So at the moment there are always ...
0
votes
1answer
80 views

Multiple pagers in one page

I have a view with two separate displays that is used in one single page. Both the displays are using a pager. To get things working I set a unique id for each pager under pager options. This works ...
1
vote
0answers
36 views

Revisioning is not working properly with paging module

I am using revisioning and paging module. I have set current revision for both case node view and node edit for revisioning module. I am using pagination in node pages. There are two role A(admin) ...
0
votes
0answers
44 views

why is my simple node Service returning views.exposed_data

my simple Services endpoint uses the Views 3 & JSON data document settings in this screenshot: at least a few days ago the structure was simply... {}{ "nodes": [{node:{},..], "view": { ...
0
votes
1answer
37 views

Pager encoded commas

I added a pager to a site I'm working on and the URL for a page comes out to: http://example.com/blog/0%2C0%2C0%2C0%2C0%2C5 which is an encoded version of */0,0,0,0,0,5. However, I'd like the URL to ...
0
votes
2answers
144 views

Centering Pager For View On Drupal7 Using Bootstrap 3

I am using Drupal 7 and Bootstrap Business, which is a theme that utilizes Bootstrap 3. I have found that my pager in my views pages is not centered. I know that Bootstrap 3 for non CMS work has a ...
0
votes
2answers
37 views

Impossible to get my pager

I need to show in the same page a form and a table which shows all results from a webservice response. function collectivite_search_user_form($form, &$form_state) { $form['name'] = array( ...
0
votes
1answer
66 views

Drupal 7 theme('pager') -> PDOException: SQLSTATE[42S02]: Base table or view not found

first time i have asked for help on a forum for a very long time. Normally find what i need by viewing other posts... Well i'm really confused so need help. I am trying to use theme('pager') in ...
0
votes
1answer
33 views

Drupal 6 Pager not working

I am using pager_query and theme_pager function as below.But unfortunately the pager is not getting displayed.Please help. function advanced_product_search() { $output = ""; $sectors = ...
0
votes
1answer
25 views

Drupal pagination help

I am not sure how this works, hence need a little help. I am fetching some nodes using db_select and rendering this in a foreach loop in a custom template file. I would give a hint of my code : ...
0
votes
3answers
127 views

Views Load More pagination causes duplication

I am encountering an issue with Views Load More with Waypoints module. My question is more focused on the next contents that are retrieved. Because there are new contents added to the top, the page 2, ...
0
votes
0answers
118 views

Views Pager with ajax not working on any theme

Views pager with Ajax loading is not working on any theme.. I tried Bartik, Seven, garland Themes .. also tried to disable all modules but still not working. I also tried enable/disable ajax in my ...
0
votes
0answers
17 views

Trouble adding pager to the nodeview page in Drupal 7

I wish to careatea pager for a mynode(custom content type) list theme page. The requirement looks similar to Sortable, paged table retrieved using EntityFieldQuery. But I doubt I am running out of the ...
0
votes
0answers
28 views

Anchors in a view with pager

I have a content type called " Testimonials " this content type has 3 fields: image , title and body . And I have two views, one view is a block showing the image and title , the other view is a page ...
0
votes
1answer
87 views

Add pagination to the results in custom module after split the row to many sub rows

I try to build new module (Drupal 7), in some page I show the results to the user as a table like the following: <?php $header = 'bla bla bla'; //header come here $query = ...
0
votes
2answers
48 views

Views Slideshow - How to add link on Pager that can link to original page?

Views Slideshow on Drupal 7 has a feature that can “Activate Slide and Pause on Pager Hover”. How can I add link on Pager, so when click, it actually link Pager to original piece of content?
-2
votes
2answers
63 views

Use Pager with a webservice

I use a webservice to get data instead of using mysql and I try to show results with a pagination: function partenaire_search_partners(){ $results = partenaire_ws_get_partners(); ...
1
vote
1answer
86 views

How to give pagination for Rest Service data

I am using Rest Service and pull the data from another non drupal db. I wrote custom module with two form elements and render that data (rest service call) and display using theme table. I wrote ...
0
votes
1answer
73 views

How to change number of item per page in taxonomy page?

I have multiple content types. I want to change number of item per page in teaser mode and it is different for every content type. In admin/config/system/site-information we can change number of ...
4
votes
2answers
455 views

How to customize pager

I have a code, that outputs a standard pager: print theme('pager'); it outputs this: <h2 class="element-invisible">Pages</h2> <div class="item-list"> <ul ...
0
votes
2answers
200 views

Pager doesn't work in views block if views php field is used

I have a views block that shows nodes in some conditions. The views has pager and normally it works but if I use Global: PHP field the pager doesn't work and it only show the first page. The Global: ...
0
votes
1answer
26 views

How to apply pager in a table using theme function? [closed]

I am rendering and displaying data using theme table. I'm using $form['pager'] = array('#theme' => 'pager'); for displaying pagination. Now my intention is to display pager in two areas of ...
0
votes
0answers
13 views

Image Gallery Paging Issue

I have a Drupal 6 Image Gallery that I need to paginate. I have a view set up for it which you can view here: http://screencast.com/t/Ym5HruZsi My issue is the view seems to be grabbing the front ...
0
votes
1answer
78 views

Drupal 7 translate views pager

Help, how to translate paginator in views? In my views I used a mini pager with tags backwards/forwards. Tried to do through translate interface, but nothing happened.