• requirements
∘ views 6.x-3.0-alpha2 (http://drupal.org/node/695302) or more.
∘ copy jquery autopager plugin[3] to module's views_infinite_scroll/js directory
• Important notes:
∘ This module is not compatible with views ajax
• there is a module that provides similar functionality (http://drupal.org/project/endless_page), but here are the reasons why I made this module:
∘ Endless page module is already orphaned (http://drupal.org/node/581952)
∘ The module does not work with views 3.x
∘ While Endless Page module utilizes views style plugin, this module utilize the newly introduced *pager* plugin, In order not to override a whole style just for the pager :)
[1] http://drupal.org/node/586668
[2] http://lagoscript.org/jquery/autopager/
[3] http://lagoscript.org/files/jquery/autopager/jquery.autopager-1.0.0.js
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | views_infinite_scroll_1.tar_.gz | 2.06 KB | Remon |
| #1 | views_infinite_scroll.tar_.gz | 2.05 KB | Remon |
Comments
Comment #1
Remon commentedPlease kindly find my contribution attached.
Comment #2
Remon commentedComment #3
avpadernoHello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.
As there is already another module with the same purpose, why didn't you open a feature request for it? There is also the option to take over that project.
As reported in http://drupal.org/cvs-application/requirements, the proposed module must not duplicate the work done in an already existing project.
Comment #4
Remon commentedHi Alberto, I mentioned before why I decided to duplicate the work done;
∘ Endless page module is already orphaned (http://drupal.org/node/581952) as the maintainer is not replying to issues no more.
∘ The module does not work with views 3.x.
∘ While Endless Page module utilizes views style plugin, this module utilize the newly introduced *pager* plugin, In order not to override a whole style just for the pager :).
And actually, I don't like maintaining that module because the approach of scrolling used here are very different.
thank you
Comment #5
avpadernoIn that case you should follow what reported in http://drupal.org/node/251466 (Dealing with abandoned projects).
Comment #6
Remon commentedSeems that I should not mark the two modules as similar from the beginning :D, ok, both are used to infinite scrolling. but they have two different approaches. so I don't think that taking over endless_page module is a good idea.
sorry for inconvenience.
Comment #7
avpadernoIt makes more sense to implement a pager plugin than to implement a style plugin.
Thanks for replying to the questions.
Comment #8
avpadernoI moved #581952: Endless Page seems abandoned to the Drupal.org webmasters' queue to mark the module as abandoned.
Comment #9
Remon commentedthanks
Comment #10
Remon commented@kiam, when should I consider this issue as fixed? :)
Comment #11
Remon commentedWell, it's been more than two weeks and it is not moving forward :), could I move it to fixed?
Comment #12
Remon commented@kiam, may you please tell me what will happen with this issue, since it's been there for ages now.
Comment #13
avpadernoI will review the code tomorrow, or the day after.
Comment #14
avpadernoThere is no reason to include the file containing the theme function in
hook_theme(), which just lists the theme functions implemented by the module; there is a way to say to Drupal which file contains those function, and Drupal will load it automatically.hook_init()is empty; it should be removed.Comment #15
Remon commentedThanks for review. all comments are applied.
Comment #16
avpadernoRemember to change status, when you upload new code, or I could not notice you fixed the code. :-)
Comment #17
avpadernoIt's good to go.
Thank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.
Comment #18
Remon commented@kaimlaluno, thanks for your effort in bringing this to light :)
Comment #20
avpaderno