Needs work
Project:
Dynamic display block
Version:
6.x-1.0-rc6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2009 at 10:53 UTC
Updated:
30 Jan 2011 at 08:01 UTC
I noticed that when there is a views ajax paginated 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.
Ex: I've got a ddblock, displaying 3 images taken from the same node, with a number pager. so i have 3 buttons. down at the footer, i have a view block, with ajax pagination. i click the pager in the views block, it works. i scroll back up the page - and now i have 6 buttons for the pager! if i click the ajax pager again - i have 9 buttons for the ddblock pager, 3 sets of 3.
This is how it looks after a few clicks:
<div class="ddblock-number-pager ddblock-pager clear-block" id="ddblock-number-pager-4">
<a href="#" class="">1</a>
<a href="#" class="">2</a>
<a href="#" class="activeSlide">3</a>
<a href="#" class="">1</a>
<a href="#" class="">2</a>
<a href="#" class="">3</a>
<a href="#" class="">1</a>
<a href="#" class="">2</a>
<a href="#" class="">3</a>
<a href="#" class="">1</a>
<a href="#" class="">2</a>
<a href="#" class="">3</a>
</div>
Comments
Comment #1
ppblaauw commentedAlso noticed this when configuring views. Can confirm the issue.
Comment #2
luco commentedsame here. except that clicking the ajax pager in the view block brings up a second page without pagers. but the ddblock's pager gets doubled. any ideas?
Comment #3
ppblaauw commentedThe issue of double number pagers comes from the jquery cycle plugin creating the number pager.
When creating the number pager with code and using it with the jquery cycle plugin it will not double.
Will implement this in next version of the module. But a few files have to be changed, to make it work with an explicit created number pager.
Prev/next pager will not have this problem, you can use that in the mean time.
Comment #4
phkemper commentedHi there. Is there any progress on this issue? With the latest release we still see this happening.
Comment #5
ppblaauw commented#4
I am afraid there is no progress on this issue.
You can use the views_slideshow_ddblock module where this issue is solved.
When you are going to use this module I advice to use version 2.x.
Comment #6
superfedya commentedSame here... Any possible fix?
Comment #7
ppblaauw commentedIt is solved in the dev version of the module, if no commercial themes are used, it is an option to use this version.
Comment #8
shima commentedthis patch can solve this problem :
http://drupal.org/node/967920#comment-4022652