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

learn more… | top users | synonyms (2)

-2
votes
1answer
29 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
32 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
20 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 ...
2
votes
1answer
41 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
41 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
18 views

How to apply pager in a table using theme function?

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
5 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
25 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.
0
votes
1answer
10 views

How do you use tabledrag API in a multi-page environment?

As you can see in the image below, I'm using drupal_add_tabledrag to allow admin to sort node order by dragging. But how do I drag the items from one page to another? Is there additional Drupal API, ...
0
votes
0answers
29 views

How to detect if pager is active on page?

Is it possible to detect programatically, if page on current URL contains some pager? I have views with pager on my website. I can see "page" GET argument in URL, but not in first page. So I cannot ...
0
votes
0answers
14 views

Howto display the mini pager in Drupal 7 in two parts

I am using the template part of mini pager in my template and I disabled the center part. I don't need a current pager. What I try to archive is to slit up the pager in two parts. My goal is to place ...
0
votes
0answers
19 views

Implement a pager for my table and navigate into it in ajax

I'm looking for a way to implement a pager for my table knowing that I don't use a query and I can't use that kind of solutions: $query = db_select('node', 'n') ->condition('status', 1) ...
0
votes
0answers
7 views

Unexpected error in sorting table in Drupal7

function execute_list($header=array()){ $header = array( array('data' => t('Site Name'), 'field' => 'site_name', 'sort' => 'desc'), array('data' => t('Company Name'), 'field' => ...
0
votes
1answer
53 views

Pagination in apache solr search page

To control the number of search results showing in a solr site search page there is a text field in admin/config/search/apachesolr/search-pages/core_search/edit In advanced option tab, there is an ...
1
vote
0answers
33 views

Programatically add pager to View

I have a view that select some nodes. In views_post_execute I remove some results that cannot be directly removed by the query. To do so, I have something like: foreach($view->result as $key ...
0
votes
1answer
40 views

Show result summary in theme table

Can we show the result summary like "Displaying X to Y of Z records" while using the "table" or "tableselect" themes? I mean just the thing we do in views header/footer using the "Global: Result ...
1
vote
1answer
32 views

unlimited number of values gets really big

I have created a content type with a field inside which can take unlimited number of values. eg a city with the names of its inhabitants. The problem is that this number can get really big (i.e. ...
0
votes
2answers
55 views

Replace Views prev/next pagination with image arrows

Is there a template that would allow me to replace Views' prev/next text pagination with image arrows instead? I could do it with CSS but I don't feel that is ultimately an optimal solution.
0
votes
1answer
13 views

Pagers of two different contents are conflicting

There are two contents in my website, say CA and CB, I created a view for each one and it displays 10 items and for the rest of the items pager is used. CA is in the sidebar first region and CB is the ...
0
votes
0answers
28 views

Drupal 7 data displayed with QuickTabs module 'jumps out of tab' when pager is clicked

I'm using QuickTabs to display data from a custom module. The data is displayed in a table and uses theme pager for pagination. In QuickTabs I'm using the tab type 'callback' to display a table on ...
0
votes
1answer
39 views

Split blog posts over multiple pages

Apologies in advance for the long message but I am very new to Drupal and really have no idea what I'm doing sowill try to explain. My company has there website built in Drupal 7, we have a module ...
0
votes
1answer
41 views

Advanced forum topic list pagination settings is not applied

I tried to change the pagination settings (number of elements displayed) in the view corresponding to the topic list, but in the front end, this setting doesn't seem to be applied. the original value ...
1
vote
1answer
58 views

views pass argument for number of records to display to pager contextual filter?

Drupal 7. Is it possible to pass an argument to the contextual filter to limit number of items to display in a View from the UI? IOW: can you pass an argument that replicates the Number Of Items ...
0
votes
0answers
38 views

commerce kickstart display catalog pagination only below de products

I have configured the products catalog view to display a defined number of products per page and show a pager menu to the user. This is simple to do in Pager section of my view (the view is the same ...
0
votes
0answers
30 views

Pagination not working in nested views

I have nested two views. Pagination is not working for a child view. I have tried giving each Pager ID in Pager options in VIEWS PAGER section. But no luck. Is it a bug or am I missing something in ...
0
votes
1answer
22 views

Views Slideshow Continuous Pager

I'm in need of a little help here. I've recently begun my first website (ncpbc.us) and I began with building a Slideshow on my front page. However, the content that feeds into the slideshow uses ...
0
votes
1answer
37 views

Drupal Views pager shows last page when higher pager value is entered manually instead of page not found

I have a view with pager. The views pager is not AJAX and the pager id comes is the URL as http://d7.local?page=3 There are total of 15 pages in the view. So the last page is http://d7.local?page=14 ...
2
votes
2answers
51 views

Using migrate with a multi-page / paginated source

I have a working module pulling a JSON feed into Drupal using the Migrate module. However, the feed is paginated, and I am only getting the first page of results (ordered DESC on creation, so giving ...
0
votes
0answers
32 views

Custom pager link parameter problem

I'm trying to implement a simple pager within my custom module for a result set: //store GET paramters to append to our pager links $params = $_GET; //execute search query $results = ...
0
votes
2answers
48 views

Want to modify drupal default pager functionality

I am creating a page with teaser of articles using views... In the Full pager, the default functionality is.... 1 2 3 4 ... next > when i click next now the next number gets highlightd like... < ...
0
votes
1answer
27 views

How to change views pager with View All 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 View All 1 2 3 4 How will I do ...
3
votes
3answers
179 views

How to create Drupal 7 clean pager links?

In my last project my client aksed me to do clean pagers in his website. However drupal 7 handles pagination using ?page=1 but I need page/1 insted of that. Do someone have experience of creating ...
2
votes
1answer
41 views

remove node in /node?page=1

I am using Global Redirect which automatically convert /node?page=1 to /?page=1 when click on pagination. everything working fine but i want also remove /node and just want /?page=1 when mouse hover ...
0
votes
1answer
50 views

How to use pager or term limit for taxonomy_get_tree($vid)?

How to use pager or how to limit terms, when using taxonomy_get_tree($vid)? I have this code for terms generation: <?php $vid = 2; $terms = taxonomy_get_tree($vid); $max_depth = ...
0
votes
2answers
57 views

Views displaying only one record on pagination

Created a view which displays all user on the website, I have added pagination which displays 10 records on the page. I am not sure but its displaying only one records but correct pagination link.
0
votes
0answers
20 views

Alter Pager query string based on header view

I've got a Calendar view that has contextual filters set to filter by both date and product ID. In the header, I've added a fairly simple view that displays my products and has a pager. I'd like to ...
0
votes
0answers
19 views

pagination issue on view blocks [duplicate]

I have 3 view blocks on my page which show a list of blogs(nodes) with a pager. The issue is that whenever I click the 'next' or any link on the pager, all the blocks change, not just the one Im ...
0
votes
0answers
16 views

Views hook with a custom sort order - pager is not updated

I have used hook_pre_render and hook_post_execute (tried both) to reorder view results with a custom value. This value is calculated after the query is run so it's not available prior to the query ...
0
votes
1answer
31 views

alias the path of single - node views (pagination on single nodes)

I would like to effectively replace the nodes with views that would show the "full content" of a node with items to display set to 1. (Each paged page of the view would thus include only one node and ...
0
votes
0answers
125 views

Sort search api view results by content type in Drupal 7

I have a Search API view, it works fine. I have several possible content types in the search results: product, press release, download, blog & event (this order is required) what I need is to ...
0
votes
0answers
94 views

Views Ajax Pager not working when loading view with ajax

I have a page with a view that has a pager with ajax. the pager is working fine when the page first run. the page has a button that loads the next page using ajax, the view is loaded fine but the ...
0
votes
2answers
82 views

Add All link on view pager

Is there a way to add a Show All Link on my view pager. I have a Block View. I would like to be able to add an All Link button when the number of Items reach 5. I do not need the pager "Next, last ...
0
votes
1answer
45 views

views generated pager url

How can I get the url generated by the pager in views. drupal/project11?page=1 drupal/project11?page=2 I would like to add a link on my image to the 2nd page on my first image, to the 3th page on my ...
0
votes
1answer
104 views

Get next node in nodequeue

I have a nodequeue named work_order. If I am in a page which belongs to this queue, is there a way I can get the next node that will be there in the nodequeue? I looked at most of their API ...
0
votes
1answer
48 views

How would I paginate to 5 results in each page this query?

I am trying to paginate the results from the table, I saw some examples but those make use of db_select, I chose db_query. Is there a way to get the paging with db_query? I have been trying to ...
0
votes
1answer
54 views

Form table pager

I'm building a module that displays a dynamic list of Content types that has some extension. I'm trying to add a Pager (like in Views). But all examples that I found uses db_select like: $query = ...
0
votes
1answer
45 views

Make Views pager count rows, not items?

I have a view of events, grouped by month. Each month could have between 1 and 6 events. The pager is set to 10 items. Example: January x x x February x x x x March x x April x So if there are 5 ...
0
votes
1answer
31 views

Error in Pager of a Ajax View

I am getting the following error in Ajax Enabled View, which uses Load More Pager. I am not sure if its, entirely because of OG, as the error doesn't appear in Views Preview but only in the actual ...
0
votes
1answer
137 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
0
votes
0answers
60 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 ...