Request: set pagination object to controller

Permalink Browser Info Environment
We need pagination object to styling a page list (plus)'s pagination, but it seems we can not access to the pagination object. So, here is my suggestion to make pagination customizable:

$pagination = $pageListPlus->getPagination();
+ $this->paginationObject = $pagination;
  $this->pagination = $pagination->renderDefaultView();


Refs
https://www.concrete5.org/documentation/how-tos/designers/styling-th...

Type: Discussion
Status: In Progress
hissy
View Replies:
SkyBlueSofa replied on at Permalink Reply
SkyBlueSofa
This update will be added to v1.1.2. Should be available soon.
hissy replied on at Permalink Reply
hissy
Thanks!

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.4.2
Version Installed - 5.7.4.2
Database Version - 20150504000000

# concrete5 Packages
Block Designer (1.1.0), Core Translation Updater (0.1.1), List Designer (0.9.3), Page List+ (1.1.1).

# concrete5 Overrides
blocks/autonav/templates/breadcrumb.php, blocks/autonav/templates/header_nav/view.php, blocks/autonav/templates/header_nav, blocks/autonav/templates, blocks/autonav, blocks/image/templates/top/view.php, blocks/image/templates/top, blocks/image/templates, blocks/image, blocks/list_designer/templates/articles/view.php, blocks/list_designer/templates/articles, blocks/list_designer/templates/download/view.php, blocks/list_designer/templates/download, blocks/list_designer/templates, blocks/list_designer, blocks/page_list/templates/lecturer/view.php, blocks/page_list/templates/lecturer, blocks/page_list/templates, blocks/page_list, blocks/page_list_plus/templates/event/view.php, blocks/page_list_plus/templates/event, blocks/page_list_plus/templates/event_top/view.php, blocks/page_list_plus/templates/event_top, blocks/page_list_plus/templates/news_top/view.php, blocks/page_list_plus/templates/news_top, blocks/page_list_plus/templates, blocks/page_list_plus, blocks/page_title/templates/byline.php, blocks/page_title/templates/byline_download.php, blocks/page_title/templates, blocks/page_title/view.php, blocks/page_title, blocks/top_includebox/add.php, blocks/top_includebox/config.json, blocks/top_includebox/controller.php, blocks/top_includebox/db.xml, blocks/top_includebox/edit.php, blocks/top_includebox/form.php, blocks/top_includebox/icon.png, blocks/top_includebox/templates/event/view.php, blocks/top_includebox/templates/event, blocks/top_includebox/templates/event_black/view.php, blocks/top_includebox/templates/event_black, blocks/top_includebox/templates/interview/view.php, blocks/top_includebox/templates/interview, blocks/top_includebox/templates, blocks/top_includebox/view.php, blocks/top_includebox, blocks/top_lab/add.php, blocks/top_lab/config.json, blocks/top_lab/controller.php, blocks/top_lab/db.xml, blocks/top_lab/edit.php, blocks/top_lab/form.php, blocks/top_lab/icon.png, blocks/top_lab/view.php, blocks/top_lab, blocks/top_linkbox/add.php, blocks/top_linkbox/config.json, blocks/top_linkbox/controller.php, blocks/top_linkbox/db.xml, blocks/top_linkbox/edit.php, blocks/top_linkbox/form.php, blocks/top_linkbox/icon.png, blocks/top_linkbox/templates/small/view.php, blocks/top_linkbox/templates/small, blocks/top_linkbox/templates, blocks/top_linkbox/view.php, blocks/top_linkbox, controllers/empty, elements/empty, attributes/empty, authentication/empty, jobs/empty, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, mail/empty, single_pages/empty, themes/edge/article.php, themes/edge/default.php, themes/edge/description.txt, themes/edge/elements/footer.php, themes/edge/elements/footer_home.php, themes/edge/elements/header.php, themes/edge/elements, themes/edge/fonts/2E1BD4_0_0.eot, themes/edge/fonts/2E1BD4_0_0.ttf, themes/edge/fonts/2E1BD4_0_0.woff, themes/edge/fonts/2E1BD4_0_0.woff2, themes/edge/fonts/2E1BD4_1_0.eot, themes/edge/fonts/2E1BD4_1_0.ttf, themes/edge/fonts/2E1BD4_1_0.woff, themes/edge/fonts/2E1BD4_1_0.woff2, themes/edge/fonts/2E1BD4_2_0.eot, themes/edge/fonts/2E1BD4_2_0.ttf, themes/edge/fonts/2E1BD4_2_0.woff, themes/edge/fonts/2E1BD4_2_0.woff2, themes/edge/fonts/2E1BD4_3_0.eot, themes/edge/fonts/2E1BD4_3_0.ttf, themes/edge/fonts/2E1BD4_3_0.woff, themes/edge/fonts/2E1BD4_3_0.woff2, themes/edge/fonts/2E1BD4_4_0.eot, themes/edge/fonts/2E1BD4_4_0.ttf, themes/edge/fonts/2E1BD4_4_0.woff, themes/edge/fonts/2E1BD4_4_0.woff2, themes/edge/fonts, themes/edge/home.php, themes/edge/images/_dummy/_dummy-article_01.jpg, themes/edge/images/_dummy/_dummy-article_02.jpg, themes/edge/images/_dummy/_dummy-article_03.jpg, themes/edge/images/_dummy/_dummy-article_04.jpg, themes/edge/images/_dummy, themes/edge/images/about/image_01.jpg, themes/edge/images/about/image_02.jpg, themes/edge/images/about/image_03.jpg, themes/edge/images/about/image_04.jpg, themes/edge/images/about/image_05.jpg, themes/edge/images/about/image_06.jpg, themes/edge/images/about/left-arrows_01.svg, themes/edge/images/about/Untitled-1.jpg, themes/edge/images/about, themes/edge/images/common/pattern_01.png, themes/edge/images/common, themes/edge/images/event/bg-button.svg, themes/edge/images/event/event-image_01.jpg, themes/edge/images/event/event-list-image_01.jpg, themes/edge/images/event/event-list-image_02.jpg, themes/edge/images/event, themes/edge/images/footer/sponsor_01.jpg, themes/edge/images/footer/sponsor_02.jpg, themes/edge/images/footer/sponsor_03.jpg, themes/edge/images/footer/sponsor_04.jpg, themes/edge/images/footer/Untitled-1.jpg, themes/edge/images/footer/Untitled-1_03.jpg, themes/edge/images/footer/Untitled-2.jpg, themes/edge/images/footer/Untitled-2_02.jpg, themes/edge/images/footer, themes/edge/images/header/header-logo_01.png, themes/edge/images/header/header-logo_01.svg, themes/edge/images/header/header-logo_02.svg, themes/edge/images/header/menu-icon_01.png, themes/edge/images/header/menu-icon_02.png, themes/edge/images/header/menu-icon_03.png, themes/edge/images/header/menu-icon_04.png, themes/edge/images/header/menu-icon_05.png, themes/edge/images/header/menu-icon_06.png, themes/edge/images/header, themes/edge/images/icon/arrow-bottom-red_01.svg, themes/edge/images/icon/arrow-right-black_01.svg, themes/edge/images/icon/icon-about.svg, themes/edge/images/icon/icon-check.svg, themes/edge/images/icon/icon-download.svg, themes/edge/images/icon/icon-event.svg, themes/edge/images/icon/icon-facebook.svg, themes/edge/images/icon/icon-file.svg, themes/edge/images/icon/icon-globe.svg, themes/edge/images/icon/icon-interview.svg, themes/edge/images/icon/icon-keio.svg, themes/edge/images/icon/icon-lab.svg, themes/edge/images/icon/icon-lab_02.svg, themes/edge/images/icon/icon-lecturer.svg, themes/edge/images/icon/icon-news.svg, themes/edge/images/icon/icon-report.svg, themes/edge/images/icon, themes/edge/images/lab/image_01.jpg, themes/edge/images/lab/image_02.jpg, themes/edge/images/lab/image_03.jpg, themes/edge/images/lab/image_04.jpg, themes/edge/images/lab/image_05.jpg, themes/edge/images/lab/right-arrows_01.svg, themes/edge/images/lab/Untitled-8_03.jpg, themes/edge/images/lab, themes/edge/images/lecturer/person-image_01.jpg, themes/edge/images/lecturer, themes/edge/images/sprite.png, themes/edge/images/top/archive-image_01.jpg, themes/edge/images/top/archive-image_02.jpg, themes/edge/images/top/archive-image_03.jpg, themes/edge/images/top/arrows-right_01.svg, themes/edge/images/top/bg-archive_01.jpg, themes/edge/images/top/bg-archive_02.jpg, themes/edge/images/top/bg-archives_01.png, themes/edge/images/top/bg-block_01.svg, themes/edge/images/top/slide-image_01.jpg, themes/edge/images/top/slide-image_01_01.jpg, themes/edge/images/top/top-quote_01.jpg, themes/edge/images/top/top-quote_02.jpg, themes/edge/images/top/Untitled-4.jpg, themes/edge/images/top/Untitled-6.jpg, themes/edge/images/top/Untitled-7.jpg, themes/edge/images/top, themes/edge/images, themes/edge/javascripts/common.js, themes/edge/javascripts/libs/isotope.pkgd.js, themes/edge/javascripts/libs, themes/edge/javascripts, themes/edge/lecturer.php, themes/edge/list.php, themes/edge/page_theme.php, themes/edge/stylesheets/style.css, themes/edge/stylesheets, themes/edge, tools/empty, views/empty, blocks/autonav/templates/breadcrumb.php, blocks/autonav/templates/header_nav/view.php, blocks/autonav/templates/header_nav, blocks/autonav/templates, blocks/autonav, blocks/image/templates/top/view.php, blocks/image/templates/top, blocks/image/templates, blocks/image, blocks/list_designer/templates/articles/view.php, blocks/list_designer/templates/articles, blocks/list_designer/templates/download/view.php, blocks/list_designer/templates/download, blocks/list_designer/templates, blocks/list_designer, blocks/page_list/templates/lecturer/view.php, blocks/page_list/templates/lecturer, blocks/page_list/templates, blocks/page_list, blocks/page_list_plus/templates/event/view.php, blocks/page_list_plus/templates/event, blocks/page_list_plus/templates/event_top/view.php, blocks/page_list_plus/templates/event_top, blocks/page_list_plus/templates/news_top/view.php, blocks/page_list_plus/templates/news_top, blocks/page_list_plus/templates, blocks/page_list_plus, blocks/page_title/templates/byline.php, blocks/page_title/templates/byline_download.php, blocks/page_title/templates, blocks/page_title/view.php, blocks/page_title, blocks/top_includebox/add.php, blocks/top_includebox/config.json, blocks/top_includebox/controller.php, blocks/top_includebox/db.xml, blocks/top_includebox/edit.php, blocks/top_includebox/form.php, blocks/top_includebox/icon.png, blocks/top_includebox/templates/event/view.php, blocks/top_includebox/templates/event, blocks/top_includebox/templates/event_black/view.php, blocks/top_includebox/templates/event_black, blocks/top_includebox/templates/interview/view.php, blocks/top_includebox/templates/interview, blocks/top_includebox/templates, blocks/top_includebox/view.php, blocks/top_includebox, blocks/top_lab/add.php, blocks/top_lab/config.json, blocks/top_lab/controller.php, blocks/top_lab/db.xml, blocks/top_lab/edit.php, blocks/top_lab/form.php, blocks/top_lab/icon.png, blocks/top_lab/view.php, blocks/top_lab, blocks/top_linkbox/add.php, blocks/top_linkbox/config.json, blocks/top_linkbox/controller.php, blocks/top_linkbox/db.xml, blocks/top_linkbox/edit.php, blocks/top_linkbox/form.php, blocks/top_linkbox/icon.png, blocks/top_linkbox/templates/small/view.php, blocks/top_linkbox/templates/small, blocks/top_linkbox/templates, blocks/top_linkbox/view.php, blocks/top_linkbox, controllers/empty, elements/empty, attributes/empty, authentication/empty, jobs/empty, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, mail/empty, single_pages/empty, themes/edge/article.php, themes/edge/default.php, themes/edge/description.txt, themes/edge/elements/footer.php, themes/edge/elements/footer_home.php, themes/edge/elements/header.php, themes/edge/elements, themes/edge/fonts/2E1BD4_0_0.eot, themes/edge/fonts/2E1BD4_0_0.ttf, themes/edge/fonts/2E1BD4_0_0.woff, themes/edge/fonts/2E1BD4_0_0.woff2, themes/edge/fonts/2E1BD4_1_0.eot, themes/edge/fonts/2E1BD4_1_0.ttf, themes/edge/fonts/2E1BD4_1_0.woff, themes/edge/fonts/2E1BD4_1_0.woff2, themes/edge/fonts/2E1BD4_2_0.eot, themes/edge/fonts/2E1BD4_2_0.ttf, themes/edge/fonts/2E1BD4_2_0.woff, themes/edge/fonts/2E1BD4_2_0.woff2, themes/edge/fonts/2E1BD4_3_0.eot, themes/edge/fonts/2E1BD4_3_0.ttf, themes/edge/fonts/2E1BD4_3_0.woff, themes/edge/fonts/2E1BD4_3_0.woff2, themes/edge/fonts/2E1BD4_4_0.eot, themes/edge/fonts/2E1BD4_4_0.ttf, themes/edge/fonts/2E1BD4_4_0.woff, themes/edge/fonts/2E1BD4_4_0.woff2, themes/edge/fonts, themes/edge/home.php, themes/edge/images/_dummy/_dummy-article_01.jpg, themes/edge/images/_dummy/_dummy-article_02.jpg, themes/edge/images/_dummy/_dummy-article_03.jpg, themes/edge/images/_dummy/_dummy-article_04.jpg, themes/edge/images/_dummy, themes/edge/images/about/image_01.jpg, themes/edge/images/about/image_02.jpg, themes/edge/images/about/image_03.jpg, themes/edge/images/about/image_04.jpg, themes/edge/images/about/image_05.jpg, themes/edge/images/about/image_06.jpg, themes/edge/images/about/left-arrows_01.svg, themes/edge/images/about/Untitled-1.jpg, themes/edge/images/about, themes/edge/images/common/pattern_01.png, themes/edge/images/common, themes/edge/images/event/bg-button.svg, themes/edge/images/event/event-image_01.jpg, themes/edge/images/event/event-list-image_01.jpg, themes/edge/images/event/event-list-image_02.jpg, themes/edge/images/event, themes/edge/images/footer/sponsor_01.jpg, themes/edge/images/footer/sponsor_02.jpg, themes/edge/images/footer/sponsor_03.jpg, themes/edge/images/footer/sponsor_04.jpg, themes/edge/images/footer/Untitled-1.jpg, themes/edge/images/footer/Untitled-1_03.jpg, themes/edge/images/footer/Untitled-2.jpg, themes/edge/images/footer/Untitled-2_02.jpg, themes/edge/images/footer, themes/edge/images/header/header-logo_01.png, themes/edge/images/header/header-logo_01.svg, themes/edge/images/header/header-logo_02.svg, themes/edge/images/header/menu-icon_01.png, themes/edge/images/header/menu-icon_02.png, themes/edge/images/header/menu-icon_03.png, themes/edge/images/header/menu-icon_04.png, themes/edge/images/header/menu-icon_05.png, themes/edge/images/header/menu-icon_06.png, themes/edge/images/header, themes/edge/images/icon/arrow-bottom-red_01.svg, themes/edge/images/icon/arrow-right-black_01.svg, themes/edge/images/icon/icon-about.svg, themes/edge/images/icon/icon-check.svg, themes/edge/images/icon/icon-download.svg, themes/edge/images/icon/icon-event.svg, themes/edge/images/icon/icon-facebook.svg, themes/edge/images/icon/icon-file.svg, themes/edge/images/icon/icon-globe.svg, themes/edge/images/icon/icon-interview.svg, themes/edge/images/icon/icon-keio.svg, themes/edge/images/icon/icon-lab.svg, themes/edge/images/icon/icon-lab_02.svg, themes/edge/images/icon/icon-lecturer.svg, themes/edge/images/icon/icon-news.svg, themes/edge/images/icon/icon-report.svg, themes/edge/images/icon, themes/edge/images/lab/image_01.jpg, themes/edge/images/lab/image_02.jpg, themes/edge/images/lab/image_03.jpg, themes/edge/images/lab/image_04.jpg, themes/edge/images/lab/image_05.jpg, themes/edge/images/lab/right-arrows_01.svg, themes/edge/images/lab/Untitled-8_03.jpg, themes/edge/images/lab, themes/edge/images/lecturer/person-image_01.jpg, themes/edge/images/lecturer, themes/edge/images/sprite.png, themes/edge/images/top/archive-image_01.jpg, themes/edge/images/top/archive-image_02.jpg, themes/edge/images/top/archive-image_03.jpg, themes/edge/images/top/arrows-right_01.svg, themes/edge/images/top/bg-archive_01.jpg, themes/edge/images/top/bg-archive_02.jpg, themes/edge/images/top/bg-archives_01.png, themes/edge/images/top/bg-block_01.svg, themes/edge/images/top/slide-image_01.jpg, themes/edge/images/top/slide-image_01_01.jpg, themes/edge/images/top/top-quote_01.jpg, themes/edge/images/top/top-quote_02.jpg, themes/edge/images/top/Untitled-4.jpg, themes/edge/images/top/Untitled-6.jpg, themes/edge/images/top/Untitled-7.jpg, themes/edge/images/top, themes/edge/images, themes/edge/javascripts/common.js, themes/edge/javascripts/libs/isotope.pkgd.js, themes/edge/javascripts/libs, themes/edge/javascripts, themes/edge/lecturer.php, themes/edge/list.php, themes/edge/page_theme.php, themes/edge/stylesheets/style.css, themes/edge/stylesheets, themes/edge, tools/empty, views/empty

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
apache2handler

# PHP Version
5.6.7

# PHP Extensions
apache2handler, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, yaz, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.