Please upgrade here. These earlier versions are no longer being updated and have security issues.

Pagination widget for discussions

edited May 2018 in Vanilla 2.0 - 2.8

Do we have a working plugin that does pagination beside a discussion title?

Appears https://open.vanillaforums.com/addon/mfcdiscussionpagination-plugin used to do this, but is now broken. Is there another plugin I should be using?

I was a bit surprised this wasn't the default behavior in vanilla core.

Comments

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    I believe it is the standard for the table view, not the modern view - "modern" includes doing things in another way than you are used to ;-)

    Anyway, getting that plugin to work was very, very easy. See here for an updated version: https://open.vanillaforums.com/discussion/36298/version-for-vanilla-2-5-2-6#latest


    lonappan
  • @R_J that's awesome thanks for taking time to get that working.. however I don't see a zip attached of the updated plugin in the thread you referenced? Did you perhaps forget to attach it or am I just missing seeing it?

    One thing I'd like to be able to do is to have the pagination widget to the right of the discussion (rather than below.. I will take a look to see if I can figure that out on my own once I get access to the updated plugin).

    Thanks again!

    R_J
  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    File upload failed and I haven't noticed that...

    You can download the file from here: https://github.com/R-J/MFCDiscussionPagination-fix/archive/master.zip

    Make sure the plugin folder is named MFCDiscussionPagination. You might need to delete the /cache/addon.php because I have renamed the plugin file.

    If you like to have a bigger Pager, edit the plugin file and delete line 40 ($Sender->Pager->CssClass = 'MiniPager';)


  • nice, thanks @R_J

    Pager is beside the discussion now as well. Sweet!

Sign In or Register to comment.