Project:Dynamic display block
Version:6.x-1.0-rc6
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I haven't seen this in any of the examples of the ddblock site - so i'm marking it as feature request.

I would like to display a top/bottom pager, with text and image links, AND a next/previous pager on both sides of the paged content. in others words - tabs at the top, arrows on both sides. i tried to add the following code, taken from the default template which enables next/previous, to the cycle-pager-content, but it messes up the pager altogether:

   <div id="ddblock-<?php print $pager ."-". $delta ?>" class="ddblock-<?php print $pager ?> ddblock-pager clear-block" style="height: <?php print $pager_height ?>px; width:<?php print $pager_width ?>px;">
    <a id="prev2" href="#">Previous</a>
    <a id="next2" href="#">Next</a>
   </div>

Is there a simple solution to call a "next" and "previous" button in a template which uses custom pagers? seems like this info isn't passed to the template.. but i'm assuming this shouldn't be hard..

Thanks for a GREAT module!

Comments

#1

Another little something (i feel bad opening another issue...): I noticed that when there is a views pager, displayed in a block somewhere on the page, and a number pager in a ddblock, the number pager doubles every time the views pager is clicked. i played with the pager # in the views settings - but that didn't help.

#2

Status:active» needs work

#original issue

Adding two pagers at top and bottom is possible, we did this before. Adding two different pagers we didn't try yet. Will see what we can do about this.

Some things to look at:

  • The cycle plugin needs then to work with two different pagers.
  • How to set two pagers in the configuration page.

Could take a while we will have time to look at this.

Patches welcome.

@ #1
Please make as much issues you need to make, but don't put more issues in one issue.
It will be difficult to set a status for an issue, and the comments on the issue will also mix up.
It's also a bug and the original issue is a feature request.

Please make another issue for this

#3

Title:Multiple pagers» Multiple pagers (Fixed)
Status:needs work» fixed

Implemented in dev version.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.