How do I get the Joomla-3.x pagination prev/next link, using the
getData() function, in the content plugin with the
What is the work of
onContentPrepare($context, &$article, &$params, $limitstart)
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.Sign up to join this community
I haven't looked close enough to verify, but you might want to have a look at:
print_r that bad-boy to see what's in it. I believe that's going to contain the links you're looking for.
onContentPrepare $limitstart designated which page of a paginated article to start on. If you've used pagebreaks, this is used. Convenient if you want your content plugin to run on only certain pages.
The arguments name is "page" not "limitstart". From the docs it mans: "An integer that determines the "page" of the content that is to be generated. Note that in the context of views that might not generate HTML output, a page is a reasonably abstract concept that depends on the context."