custom pager placing

mrgoltra - May 30, 2007 - 08:02
Project:Custom Pagers
Version:5.x-1.7
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Good Day,

I have service links, flag content and custom pagers module installed, custom pagers is between the service links icon and flag content link. Is there a way to move the pager link ( < previous 1 of 100 next> ) all the way to the bottom of the page? What do I have to edit or modify?

Thank you,

Mark

#1

wayland76 - March 18, 2008 - 02:34
Status:active» active (needs more info)

Have you tried http://drupal.org/project/moduleweight ? Let us know how you go.

#2

ubersoft - April 16, 2008 - 15:50

You can use the contemplate module to specifically define where in a node everything goes. It will have codes for Custom Pagers links that you can insert into its templates.

#3

mrgoltra - May 17, 2008 - 06:14

I was thinking about this route, since the weight module was giving me some problems.

do you happen to have some example snippets?

I tried this http://drupal.org/node/142444 but I just can't find the custom pager in the available variables. I doubled check each line on the teaser, body and RSS variable.

Thanks,

Mark

#4

mrgoltra - May 17, 2008 - 06:45
Status:active (needs more info)» closed

Figured it out. Thank you very much for your help.

#5

wayland76 - May 17, 2008 - 06:59

@mrgolta: would you like to enlighten us with your answer?

#6

mrgoltra - May 17, 2008 - 09:43

I had to enable the contemplate for body and just added the variables available and the ones I needed. For some reason with this particular content type, the variable for the custom pager was not available so what I did was looked at my test site and added the variable and added some div tags + CSS

<?php
print $node->content['custom_pager_bottom'][1]['#value']
?>
(there were a few variables but this was the only one that worked)

I hope that helps.

#7

spiffyd - August 15, 2008 - 23:53

Your code allows you to position the pagers wherever you want in CONTEMPLATE. However, how did you disable the original pagers so that they don't show up in two locations?

 
 

Drupal is a registered trademark of Dries Buytaert.