Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 5, 20204 yr 1. How to make pagination just like on IPB 3.4 with pagination->(args..)? I have found ips.ui.pagination but its not this what i'm looking for. 2. It will be greate if you could tell me how to parse text from sql strictly to IPS Editor Edited September 5, 20204 yr by Mac1
September 8, 20204 yr 1. Pagination is typically generated within the PHP controller, and then the appropriate template is included within theme templates. \IPS\Theme::i()->getTemplate( 'global', 'core', 'global' )->pagination( $this->baseUrl, $this->pages, $this->page, $this->limit, TRUE, $this->paginationKey, $this->simplePagination ) Swap out the parameters as appropriate of course. Alternatively, you can use something like the table helper (\IPS\Helpers\Table) which handles things like pagination automatically. 2. You should not need to pass any content in the database through any sort of parser before putting it in the editor.