Jump to content

Page array is empty when using limit = n with MarkupPagerNav


Gideon So
 Share

Recommended Posts

Hi all,

I have a page which use MarkupPagerNav to generate a pager. It works fine.

I have made a menu with the following code to generate the sub menu:

$grandChildren =    $child->children("limit=5");

It works find in the 1st page but when I click to the 2nd page, the $grandChildren array return an empty array and the sub menu doesn't show up.

I have tested with this code:

$grandChildren =    $child->children;

It works everywhere.

Any hints for me?

Best Regards,

Gideon So

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...