Closed (fixed)
Project:
Flexinode
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Jul 2004 at 07:24 UTC
Updated:
30 Aug 2004 at 17:20 UTC
Flexinode.module,v 1.30 2004/07/15 12:52:57 JonBob Exp $ on Drupal CVS builds incorrect 'Edit this node' link as /node/edit/xx insetad of node/xx/edit, so drupal_not_found() is issued.
I modified the module like this and now it works fine:
Line 108:
[?
// old
// $links[] = l(t('edit this %nodename', array('%nodename' => flexinode_node_name($node))), 'node/edit/'. $node->nid);
// new
$links[] = l(t('edit this %nodename', array('%nodename' => flexinode_node_name($node))), 'node/'.$node->nid.'/edit');
?]
Hope it helps,
Matteo
Comments
Comment #1
chx commentedMatteo, please read http://drupal.org/book/view/325
Comment #2
jonbob commentedComment #3
jonbob commentedFixed.
Comment #4
(not verified) commented