I'm using paging with CCK and the ajax page-loading method enabled. With both the above- and below-content pagers enabled (and correctly placed in the field settings for the content type), changing pages with the bottom widget causes the widget to double up. Everything looks fine on first loading the node, but as soon as the next page is loaded using AJAX, things screw up. I also noticed that the paging-pager-content div is not surrounding the top paging widget.

I 'fixed' the problem by disabling the content_extra_field_weight branches in the nodeapi view code, so that the weights are simply '-1' and '+1' (as if CCK wasn't there). This makes the div correctly enclose both widgets again, and everything works fine.

Perhaps the CCK functions aren't working right when responding to the JSON request?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jenlampton’s picture

Title: bad interaction with cck - pagers get doubled up » Pager field weights not properly changing element order with JSON
Status: Active » Needs review
FileSize
2.53 KB

Hmm... I'm not inclined to spend very much time on Drupal 6 at this point, so here's a patch that fixes the bug by removing the ability to order the pagers as part of the field UI. If this is a suitable solution we can commit this patch.

NancyDru’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)