We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Iâ€™m working on a design were the designer has both paginated albums and blog posts on the home page. Is it possible to have 2 separate paginated things on a single page.
I initially noticed a problem with the blog posts not displaying when showing the second album page. I set the pagination for the blog posts to false and the blog worked again (without paging which I hadnâ€™t set up for the blog posts yet).
I thought that using 2 different pagination-var setting should work, but the URL doesnâ€™t seem to be changing. For the gallery I have:
perch_gallery_album_listing(array( 'template'=>'our_work_album.html', 'image'=>true, 'count'=>12, 'paginate' =>true, 'pagination-var' => 'albumpage', ));
I assumed that should change the query string for paging to use albumpage instead of page but it doesnâ€™t seem to.
Should using pagination-var change the querystring?
Should I be able to get 2 different paginated things by setting a different pagination-var for each?
Diagnostics report HEALTH CHECK Perch is up to date PHP 5.5.17 is up to date MySQL 5.5.38 is up to date Image processing available SUMMARY INFORMATION Perch: 2.8, PHP: 5.5.17, MySQL: 5.5.38, with PDO Server OS: Darwin, cgi-fcgi Installed apps: content (2.8), assets (2.8), categories (2.8), perch_blog (4.6), perch_forms (1.8.2), perch_gallery (2.8.6) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', 'perch_gallery' ); ?> PERCH_LOGINPATH: /perch PERCH_PATH: /Users/TwoLittleFishes/Dropbox/sites/outdodesign.co.uk/perch PERCH_CORE: /Users/TwoLittleFishes/Dropbox/sites/outdodesign.co.uk/perch/core PERCH_RESFILEPATH: /Users/TwoLittleFishes/Dropbox/sites/outdodesign.co.uk/perch/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M Resource folder writeable: Yes SCRIPT_NAME: /perch/core/settings/diagnostics/index.php REQUEST_URI: /perch/core/settings/diagnostics/ DOCUMENT_ROOT: /Users/TwoLittleFishes/Dropbox/sites/outdodesign.co.uk HTTP_HOST: outdodesign.local:8888
Want to reply to this thread?Login with Perch