Hi,
The Mark As Read Button has the typical URL forum/markasread/102
On clicking the button I get redirected to the home page. I guess this is not what it was designed to do.
Thanks,
Dutchie
Hi,
The Mark As Read Button has the typical URL forum/markasread/102
On clicking the button I get redirected to the home page. I guess this is not what it was designed to do.
Thanks,
Dutchie
Comments
Comment #1
michelleNo, that's not what it normally does. Do you have any URL aliases or path redirects set up that may be interferring?
Michelle
Comment #2
dutchie76 commentedHi Michelle,
Yes we do but not for this URL alias. If I cant fix this I need to remove the button. Any idea how I can do that without modifying the code? CSS perhaps?
Thanks,
dutchie
Comment #3
dutchie76 commentedok seem to see why this is happeneing. We have a 301 redirect for the /forum/ url. We cant change this for other reasons. How can I change the URL for the Mark as read button from the default /forum/markasread/ to /mysite-forum/markasread/
Thanks again.
Comment #4
michelleOff the top of my head, you should be able to use hook_menu_alter to do it. I don't have time to get more in depth than that right now.
Michelle
Comment #5
michelleNo further comments...
Michelle