Hi to all of you good people :)

if there is a vocabulary only for image nodes, is it posible that link in sitemap points to images, not to taxonomy? So instead of taxonomy/term/13 link would be image/tid/13?

tnx in advance

CommentFileSizeAuthor
#5 sitemenu_1.module9.49 KBkbahey
#2 sitemenu_0.module9.03 KBkbahey

Comments

igrcic’s picture

why doesnt nobody respond :(

kbahey’s picture

Status: Active » Needs review
StatusFileSize
new9.03 KB

I do not use the image module much myself, but here is a modified version.

Please test it and let me know if it works, and I will commit it for everyone else to download.

igrcic’s picture

Greetings!

Thnx for response :)

It works pefectly for image categories but now every category has image/tid/ instead of taxonomy/term/ :)

u can take a look here: http://open.geof.hr/~igrcic/iaeste/?q=sitemenu

Hope its easy to solve the problem. Is it easy to just add one more ELSE IF for forums? So that instead of taxonomy/term/ it would say forum/ ?

This changes could be added in sitemenu settings, so that admin can choose if it wants that tex/term/ is replaced for special pages like forum, images... im sure lots of users would like that :)

Thank you very much

kbahey’s picture

Yes, it is possible.

I will try to work on that in a day or two.

Remind me again here if you do not get it by Sunday.

kbahey’s picture

StatusFileSize
new9.49 KB

Try this version and tell me if it works for both forums and images.

igrcic’s picture

I tested it now and it works like a charm :)

Thank you very much for your time! If i find some more usefull tips I'll post it!

Tnx again

kbahey’s picture

Assigned: Unassigned » kbahey
Status: Needs review » Fixed

Commited to HEAD and 4.6.

Anonymous’s picture

Status: Fixed » Closed (fixed)