When trying to install both modules you get

Fatal error: Cannot redeclare phptemplate_links() (previously declared in /www/htdocs/w00b40cd/com/at/sites/all/modules/menutrails/menutrails.module:428) in /www/htdocs/w00b40cd/com/at/sites/all/modules/menu_trail_by_path/menu_trail_by_path.module on line 61

Comments

xaa’s picture

hello,

have you finally found a solution for this issue ?

baff’s picture

No, waiting for an answer ... I think this module is not active

bartezz’s picture

Try changing the function name in the .module file from phptemplate_links to menu_trail_by_path_links

Cheers

redndahead’s picture

This module was a bad idea for d6. I didn't realize when I created it what bad things menu_trails was doing to get it to work, nothing that was their fault. I may revisit it for D7 as I think the situation has improved.

bartezz’s picture

Not sure if it's a bad idea or not... it IS a bad idea too use function names like phptemplate_links instead of menu_trail_by_path_links in a module tho!

Cheers

redndahead’s picture

@bartezz Have you tried it without phptemplate and using the module name? I thought I had tried it and discovered it doesn't work for some reason. Normally I don't use phptemplate

bartezz’s picture

As far as I can remember I did and it worked... and it should! :)
Will have to see where I used it, will post back monday if I don't forget.

Cheers

sachbearbeiter’s picture

@bartezz: did it work for you with menu_trail_by_path_links? because for me it's not working ...
or is phptemplate_links here an override?

bartezz’s picture

Hi sachbearbeiter,

Nice username, not happy with your job? :)

I've just gone through all my projects as I couldn't remember where I used it and unfortunately I can't find it anywhere. I suppose I ended up not needing the module. couldn't even find it in svn... :( If I remember correctly I couldn't exactly make it work with menu_trail_by_path_links as hook_links is non existing, I believe I solved it some other way but can't remember how :'(

Cheers

gbernier’s picture

If either of you figure this out would love to hear the solution you came up with

sachbearbeiter’s picture

@bartezz thanks + it was the kind of humor in berlin in the ninties :)
i will ask a developer ...

sb

derMatze’s picture

So, is there any similar module or a solution for this problem?
If not for D6, maybe for D7..? It would be very very helpful.

Or at least is there any hook or something to customize the menu(s) from within a module?

davy-r’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing this issue, as stated on this module's page: "The 6.x-1.x branch is no longer supported and will not receive further development".