DrupalBin
Submit Code
About
Recent Posts
how to add a ahah form element after submit
8 hours 45 min
ago
user_deco add functions
8 hours 56 min
ago
simple version
11 hours 49 min
ago
Fix for D6 path_set_alias
12 hours 45 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
next link
Add next link to node
May 25, 2008 - 6:11am — Anonymous
<?php
function
next_node_link
(
$type
,
$object
,
$teaser
=
FALSE
)
{
$links
=
array
(
)
;
if
(
$type
==
'node'
&&
isset
(
$object
->
nid
)
)
{
if
(
!
$teaser
)
{
next link
node
template
Read more