Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I just started using Display Suite and I think it is an amazing module. I am having an issue however. I am using the paging module to create a pager for long articles. When I go to the article node manage fields I see the "Paging (Below) - Pager navigation display." is there. But when I look at the article the paging work and the article is shorten but the pager (<< prev 1 2 3 .. next >>) is not visible. I tried adding print $node->paging
as a code field but that didn't work.
Any advise would be greatly appreciated.
Comments
Comment #1
swentel CreditAttribution: swentel commentedYou'll have to use $object, so
Comment #2
swentel CreditAttribution: swentel commentedComment #3
skolesnyk CreditAttribution: skolesnyk commentedCorrection. DS is working fine with Paging module, but not with Pagination.
Comment #4
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedpagination worked for me. Just my two cents since I got here looking for the same issue.
Comment #5
AnybodyHi,
I'm sorry to inform you that this is definitely not fixed for paging module. The Pager field appears in the Manage fields-Area but not within DS fields. We used the code from above (#1) which works as workaround BUT this way AJAX loading doesn't work anymore.
Comment #6
xtfer CreditAttribution: xtfer commentedThis is a feature request not a bug.
Comment #7
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedI assume the ajax pagination doesn't work due to the js not being placed on the page, untested. Wouldn't you only need to find out what scripts were required for it to work and add that to your custom display suite field?
Comment #8
xtfer CreditAttribution: xtfer commentedThis is not on my list of things to do currently, as there are a number of other more pressing issues with both the 1.x and 2.x branches, however if anyone is interested in providing this feature, it would be as a sub-module for Node Displays Contributions which provides the custom field type.
Comment #9
xtfer CreditAttribution: xtfer commentedComment #10
aspilicious CreditAttribution: aspilicious commentedWon't be fixed