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?

CommentFileSizeAuthor
#4 menutrails_511290_4.patch738 bytesscottrigby
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

matteogeco’s picture

Or (maybe) better:

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

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.

Wolfgang Reszel’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Category: feature » bug

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

scottrigby’s picture

Status: Needs work » Needs review
FileSize
738 bytes

patch for #1