• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Client side pagination

Scheduled Pinned Locked Moved Plugin Development
2 Posts 1 Posters 100 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    razibal
    wrote on last edited by
    #1

    I was hoping that you guys might be able to point me in the right direction for handling custom pagination logic within a theme. I need to be able to define scroll up/scroll down events handlers so I can append or remove cards from the viewport based on direction of scrolling. I also want to disable pagination for certain categories regardless of user settings as these categories will only display topics as cards.

    Cheers

    1 Reply Last reply
    0
  • R Offline
    R Offline
    razibal
    wrote on last edited by
    #2

    I was able to use Categories.setCategoryField to tag the categories that are customized with topic cards and then use that attribute in the templates.

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development