Tagged Questions

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

learn more… | top users | synonyms (2)

0
votes
0answers
6 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
23 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
24 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
0answers
20 views

Render 2 pagers for 1 view

I have a view with paged output, AJAX enabled. I need to display 2 pagers on same view page: Load More pager (provided by views_load_more) and Full pager (default one). Something like this: How ...
0
votes
0answers
15 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
28 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
20 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
10 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
14 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
31 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
30 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
30 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
22 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
23 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
19 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
32 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
41 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
27 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
40 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
21 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
106 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
38 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
47 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
44 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
14 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
14 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
27 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
75 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
70 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
66 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
32 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
66 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
46 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
39 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
42 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
0answers
17 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
93 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
38 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 ...
1
vote
0answers
30 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 ...
3
votes
1answer
124 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 ...
1
vote
1answer
41 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?
0
votes
1answer
50 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 ...
-2
votes
1answer
303 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 ...
0
votes
1answer
21 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
13 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
47 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
71 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 ...
0
votes
0answers
35 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: ...
0
votes
1answer
169 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 ...