How to use the pagination with view parser? |
07-02-2021, 02:59 AM
(This post was last modified: 07-02-2021, 06:24 AM by eternity6. Edit Reason: beautiful formatting )
Well...You can simple put HTML result of pager inside an array with a specific label in your control and then parser it with a { code } in the template.
For example Controller: PHP Code: $this->data['page_pagination'] = $data['pager']->links(); In your template view use code with ! for don't print HTML code Code: <div class="pagination">{! page_pagination !}</div> |
Messages In This Thread |
How to use the pagination with view parser? - by luispastendev - 10-28-2019, 10:48 AM
RE: How to use the pagination with view parser? - by ciadmin - 10-28-2019, 02:08 PM
RE: How to use the pagination with view parser? - by deepakkushwaha - 10-29-2019, 01:15 AM
RE: How to use the pagination with view parser? - by eternity6 - 07-02-2021, 02:59 AM
|