I have my own system.pagination template. I display it under the directory listing. But I still need to bring it over the catalog, but not the standard "show over" fia, and I need to cram it into the complex component of the catalog, where it will be 4-5 higher than that.

    2 answers 2

    With deferred functions. They allow you to output HTML before calling the component that generates it.

    http://dev.1c-bitrix.ru/learning/course/?COURSE_ID=43&LESSON_ID=3489

    • question. I tried to output through this function , but for this in the pagination template I had to duplicate all the code once again, removing it into the function for the buffer. But then when I called in front of the catalogs, I was paginated 2 times ... - Oleksandr

    In general, I transferred all the blocks in template.php to the partition. and there by simply connecting the pagination implemented it on top of the necessary blocks. But I will be grateful if someone tells you how it was possible to solve it before. by method?