Return to Snippet

Revision: 5018
at February 5, 2008 17:19 by JuliaKM


Initial Code
<?php 
$nodetypes = node_get_types('names');

foreach ($nodetypes as $key => $type){
	if (paypernode_user_can_create($key) > 0):
	              drupal_goto('node/add/' . $key); 
	endif;
}

?>

Initial URL

                                

Initial Description

                                

Initial Title
Drupal: Redirect Authorize.net Purchase if PayPerNode

Initial Tags
drupal

Initial Language
PHP