Node edit page

matteogeco - July 6, 2009 - 09:27
Project:Menu Trails
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Hi, why does the module work only in node view pages and not in edit pages?
For instance I tried to hack menutrails_nodeapi() function, I substituted:

<?php
if ($op == 'view' && $page == TRUE) {
?>

(line 75) with:
<?php
if ($op == 'view' || $op == 'prepare') {
?>

and at first sight it works.
Am I missig something?
Could you implement this feature officially?

#1

matteogeco - July 6, 2009 - 09:37

Or (maybe) better:

<?php
if (($op == 'view' && $page == TRUE) || $op == 'prepare') {
?>

#2

sun - July 24, 2009 - 17:11
Status:active» needs work

Can you provide a proper patch, please? See http://drupal.org/patch for more information.

Basically, that would make sense, but needs a fair amount of testing. Thus, a patch would allow users to test.

#3

Tekl - November 27, 2009 - 15:53
Version:6.x-1.0» 6.x-1.x-dev
Category:feature request» bug report

What about the translation tab, or just every tab? This bug is quite old and still not fixed.

 
 

Drupal is a registered trademark of Dries Buytaert.