Infinite scroll for datafeeds

5 years 5 months ago - 5 years 4 months ago #3085 by bram

I created an infinete scroll based on

the setup is based on the protostar template of joomla

  1. unpack the zip
    This attachment is hidden for guests.
    Please log in or register to see it.
  2. copy the javascript to /templates/protostar/js
  3. copy the php to /templates/protostar/html/com_datafeeds/items
  4. enable the option

  5. if you use a different template adjust the hardcoded path
  6. if you want to use it with a different template the changes are at the bottom REPLACED a bit of code and ADDED some
  7. the changes to the original javascript are minor so all parameters and settings described on the github site are valid except for the path parameter. that one must be
  8. if you want to use the script on a different component for example content pages you must adjust the path variable autodetection will not work

the pudding :

  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • This message has an attachment file.
    Please log in or register to see it.

    Last Edit: 5 years 4 months ago by bram.
    The following user(s) said Thank You: sandra

    Please Log in to join the conversation.

    Time to create page: 0.051 seconds
    Powered by Kunena Forum