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

swentel’s picture

Status: Needs work » Postponed (maintainer needs more info)

You'll have to use $object, so

  print $object->paging; // Or return $object->paging - I keep missing myself somtimes here :)
swentel’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
skolesnyk’s picture

Correction. DS is working fine with Paging module, but not with Pagination.

nicholas.alipaz’s picture

pagination worked for me. Just my two cents since I got here looking for the same issue.

Anybody’s picture

Status: Closed (fixed) » Active

Hi,

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.

xtfer’s picture

Title: Display Suite vs paging module » Support Paging module
Component: Miscellaneous » Code
Category: bug » feature
Issue tags: -paging, -display suite

This is a feature request not a bug.

nicholas.alipaz’s picture

I 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?

xtfer’s picture

This 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.

xtfer’s picture

Status: Active » Postponed
aspilicious’s picture

Issue summary: View changes
Status: Postponed » Closed (won't fix)

Won't be fixed