Location pager (Drupal) solved

webmetod
35 Posts
webmetod posted this 27 May 2016

Hello. Page made by means Views module, displays 10 (or 5) items per page, after page located blocks (banners), but the pager is located below the blocks, but not below the page content. How to solve this problem? Thanks!

Hello. Page made by means Views module, displays 10 (or 5) items per page, after page located blocks (banners), but the pager is located below the blocks, but not below the page content. How to solve this problem? Thanks!

Last edited 28 May 2016 by webmetod

Vote to pay developers attention to this features or issue.
2 Comments
Order By: Standard | Newest
webmetod
35 Posts
webmetod posted this 28 May 2016

Maybe someone come in handy:
- Add "Under CMS Content" section and put him in a new "Drupal region".
- Make this section visible on the right pages.
- Put in a new region the content has to be located under the content of the page (below the pager).

enter image description here

There was a question: Pager always shows 6 points, although the Views page settings specified a different value.

Maybe someone come in handy: - Add "Under CMS Content" section and put him in a new "Drupal region". - Make this section visible on the right pages. - Put in a new region the content has to be located under the content of the page (below the pager). ![enter image description here][1] There was a question: Pager always shows 6 points, although the Views page settings specified a different value. [1]: http://i79.fastpic.ru/big/2016/0528/b6/e0ffa7f71fa43f9cfed1b2b02e48b8b6.jpg
webmetod
35 Posts
webmetod posted this 29 August 2016

For Knowledge Base, Drupal 7

Solution, how to override the number of pages shown and changes the first, next, previous, last text to arrows.
Add this to your theme’s template.php and replace ‘yourtheme’ with your theme’s name.

function yourtheme_preprocess_pager(&$variables, $hook) {
if ($variables['quantity'] > 5) $variables['quantity'] = 5;
$variables['tags'][0] = '«';
$variables['tags'][1] = '‹';
$variables['tags'][3] = '›';
$variables['tags'][4] = '»';
}

**For Knowledge Base, Drupal 7** Solution, how to override the number of pages shown and changes the first, next, previous, last text to arrows. Add this to your theme’s template.php and replace ‘yourtheme’ with your theme’s name. function yourtheme_preprocess_pager(&$variables, $hook) { if ($variables['quantity'] > 5) $variables['quantity'] = 5; $variables['tags'][0] = '«'; $variables['tags'][1] = '‹'; $variables['tags'][3] = '›'; $variables['tags'][4] = '»'; }
You must log in or register to leave comments