pwfans Posted September 17, 2020 Posted September 17, 2020 Site B get data from site A using : $items = $siteA->pages->find("parent=/productA/,limit=10"); foreach ($items as $item) { .... } $items->renderPager(); Pagination displayed correctly but they page number path also goes to siteA, which is off course not work when clicked. How to do this pagination properly in multi-instance ? thanks
Ivan Gretsky Posted September 18, 2020 Posted September 18, 2020 I think, you could use MarkupPagerNav module directly with specific options. renderPager() function calls it internally like this. I guess, you need to adjust the baseUrl option.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now