Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#4 | menutrails_511290_4.patch | 738 bytes | scottrigby |
Comments
Comment #1
matteogeco CreditAttribution: matteogeco commentedOr (maybe) better:
Comment #2
sunCan 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.
Comment #3
Wolfgang Reszel CreditAttribution: Wolfgang Reszel commentedWhat about the translation tab, or just every tab? This bug is quite old and still not fixed.
Comment #4
scottrigbypatch for #1