Just a simple way to add previous/next node links to a node content. Actual when displaying full node content.

Adds two links to the previous and next node of the same type and status. These links are added as a field to the node content so it could be hidden or displayed in a different way in various node displays

Sandbox Project

http://drupal.org/sandbox/darth_raven/2004630

Repository Link

git clone --branch 7.x-1.x http://git.drupal.org/sandbox/darth_raven/2004630.git sequential_nodes

Reviews Of Other Projects

Comments

Darth Raven’s picture

Issue summary: View changes

Added H2 tags to headers

brice_gato’s picture

Hello à Darth,
1 . Your files missed documentation.
2 . LINE 7 of sequential_nodes.inc : _sequential_nodes_page_link(): Do not use db_select() for simple static queries, use db_query() instead.
3 . It is not necesary to declare files[] because you do not have the Class into the files sequential_nodes.admin.inc and sequential_nodes.inc

You have many errors, take a look on http://ventral.org/pareview/httpgitdrupalorgsandboxdarthraven2004630git

brice_gato’s picture

Status: Needs review » Needs work
Darth Raven’s picture

Status: Needs work » Needs review

Documentation and comments added, code style fixed
Thank you for the review.

PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

Caseledde’s picture

Hi,
I found some issues:

1) Implement hook_uninstall()
Create a file called sequential_nodes.install and implement hook_uninstall() to delete all variables stored by sequential_nodes.

2) Names of variables
You should name your variable with a prefix, like 'sequential_nodes_next_link' to avoid namespace collisions.

3) prev-next-link.tpl.php
You should use two spaces instead of tabs.

Thats all for now.
Happy coding.

By the way: user_access() is the default acces callback in hook_menu(). So you don't have to specify it.

Caseledde’s picture

Status: Needs review » Needs work
Darth Raven’s picture

Status: Needs work » Needs review

Implement hook_uninstall()
Hook realized, all unnecessary variables are deleted during uninstallation.

Names of variables
All variables and corresponding admin form fields have been now prefixed.

prev-next-link.tpl.php
Tabs are removed, spaces are used instead.

Thank you for the review

Darth Raven’s picture

Issue summary: View changes

change Git repository link

Darth Raven’s picture

Issue summary: View changes

Added review link

Darth Raven’s picture

Issue summary: View changes

Added review link

Darth Raven’s picture

Issue tags: +PAreview: review bonus

Added review bonus tag

klausi’s picture

Status: Needs review » Needs work
Issue tags: -PAreview: review bonus +PAreview: security

manual review:

This is an access bypass issue and therefore a security blocker. And please don't remove the security tag, we keep that for statistics and to show examples of security problems.

Darth Raven’s picture

Status: Needs work » Needs review

Added node_access tag
Thank you for the review.

klausi’s picture

Assigned: Unassigned » sreynen
Status: Needs review » Reviewed & tested by the community

Very good, looks RTBC to me now. Also removed the review bonus tag, you can add it again if you have done another 3 reviews of other projects.

Assigning to sreynen as he might have time to take a final look at this.

klausi’s picture

Issue summary: View changes

Added Review

Darth Raven’s picture

Issue summary: View changes

Added review link

Darth Raven’s picture

Issue summary: View changes

review link

Darth Raven’s picture

Issue tags: +PAreview: review bonus

Added PAReview: review bonus tag

klausi’s picture

Status: Reviewed & tested by the community » Fixed

no objections for more than a week, so ...

Thanks for your contribution, Darth Raven!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!

Thanks, 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.

Thanks to the dedicated reviewer(s) as well.

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

review link