1
vote
1answer
20 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 ...
0
votes
0answers
30 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
24 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
20 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 ...
1
vote
2answers
70 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 ...
0
votes
0answers
8 views

How to add a custom pager to multiple displays within a view?

I am using custom_pagers to define previous/next pagers for any node type. And it works great for the "default" view display but it does't work properly for additional displays. For instance "page_1". ...
0
votes
0answers
39 views

Different meta-description for paginated Views pages

I have a view whose results are about 20 pages with pager. URLs are like xyz?page=1. Now, I want to implement different meta description for each page so that xyz?page=1 and xyz?page=2 have different ...
1
vote
1answer
194 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 ...
0
votes
2answers
29 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
34 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) ...
3
votes
2answers
154 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
10 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') ...
0
votes
0answers
44 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: ...
0
votes
1answer
87 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
168 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
113 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
1answer
32 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
0answers
71 views

AJAX pager callback when going to next page

I have a view with a mini pager with AJAX enabled. The view itself is a list of content items. I am using a jquery plugin which makes the list items look nice and ordered alphabetically in two ...
0
votes
1answer
31 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
0answers
10 views

Pager added to blocks after upgrade to 7

After upgrade from D6 to D7, some views-generated blocks show pagers and I can not disable the pager since at the views, I see only Use pager: | Mini Mini pager, 10 items I am wondering how to ...
0
votes
1answer
53 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'); ...
4
votes
1answer
152 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 ...
1
vote
1answer
100 views

Drupal Returns 403 forbidden when accessing paginated pages

I am having a site in D6. It has suddenly started showing 403 Forbidden screen when you navigate to a page that is paginated. For example the home page loads, single nodes like the below ones loads. ...
0
votes
1answer
67 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 ...
0
votes
0answers
91 views

Drupal search pagination with extra pages

I'm working on Drupal 7. My search page gives me twice the number of result pages while searching a keyword. For Example if i have 20 records, it must show 2 pages instead it gives me 4 pages and the ...
1
vote
0answers
143 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', ...
0
votes
0answers
178 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 ...
0
votes
0answers
130 views

How to use views_embed_view ajaxed pager programmatically

I have a little problem about ajaxed pager when i try to call a view programmatically with views_embed_view. When i fire ->render() method, i get the view content with a page, but when i try to use ...
2
votes
0answers
74 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
59 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
2answers
144 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 ...
2
votes
0answers
94 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
88 views

Duplicating view pagers

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
86 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 ...
1
vote
3answers
1k 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; ...
0
votes
1answer
56 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
136 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 ...
0
votes
0answers
80 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
72 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 ...
0
votes
0answers
113 views

Set views pager based on field value

Problem I've created a job search page with views. It displays two kinds of jobs: promoted and un-promoted. The un-promoted results are half the height of the promoted jobs. A sort option on the ...
1
vote
3answers
212 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
358 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
40 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
224 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 ...
0
votes
1answer
216 views

Pagination in drupal 7 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 ...
3
votes
2answers
184 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 ...
3
votes
1answer
214 views

pager_query() - How to fetch only 100 records with a pagination 10

$result = pager_query($query, 10, 0, NULL, $args); Currently with above code , i am getting all results with 10 items per page. What i need is display only first 100 records , with 10 items per ...
0
votes
1answer
2k 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 ...
0
votes
0answers
17 views

Exposing pager setting in Feed Display

Is there a way to have other pager settings in Feed Display? The only options available are Display a specified number of items Display all items but others like Full pager (like in other ...
0
votes
1answer
101 views

Pagination for Views RSS

I'm using Views RSS module to generate a custom RSS feed. I want to be able to limit the results by adding ?offset=50&limit=50 . How could I achieve that? Is there any Views plugin I could use? ...