FLEXIcontent / flexicontent-cck

Advanced content management for Joomla
http://www.flexicontent.org
83 stars 53 forks source link

Implement endless scroll feature #38

Open ggppdk opened 10 years ago

ggppdk commented 10 years ago

The category model is already mostly modified to support this.

We need to complete work, and then modify templates to support it

charlynancy54 commented 7 years ago

Hi Georgios, I tested succesfull infinite scroll with Infinite AJAX Scroll. You can find this project on git here I will make a topic on the flexi form, so i can better explain you my implementation.

ggppdk commented 7 years ago

yes that is a straightforward way to do it, that requires no other changes to our DB model

still, in this way too, the fields that use JS for their display will need some work

charlynancy54 commented 7 years ago

You could try it your self this way :

  1. upload jquery-ias.min.js on your server

  2. copy this code in your template before </body>(just change "YOUR_PATHWAY_TO_THE_FILE") `

      |   | `

charlynancy54 commented 7 years ago

That do the job perfectly and you have the pagnation in your URL (page2... page3 : good for SEO) When you you click on a link and if you click on previous page in your browser, you return to the page3 if you were on this page. It's really a good and complete infinte scroll. the question i ask me is : how do you thing we could implement this in flexicontent.

I thinked to an joomla plugin that could be personalised like this :

So you should not have to change whatever in Flexi and we could publish this plugin in the JEDextensions. So that will promote FLEXI because a lot of webmaster are looking for this function for their joomla site. And this plugin could incite them to discover FLEXI.

charlynancy54 commented 7 years ago

Georgios, i created a topic on the form where you could better see the HTML code i implemented (here the code is not well displayed)

ggppdk commented 7 years ago

Thanks will certainly review it also i see there is a 29 euro for using in our application, which is more than reasonable

Please note that regardless of the which JS library we use -- we need to patch JS for fields that depend on javascript

but i see that for many common cases of category views , using such fields is not needed and your suggested JS library should work

we would also like to avoid re-runing main SQL query in very large web-sites thus in the end i am in favour of using our own JS code for endless-scroll

but until this is done, your suggested solution for our users looks quite good

thanks