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

michelle’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

No, that's not what it normally does. Do you have any URL aliases or path redirects set up that may be interferring?

Michelle

dutchie76’s picture

Hi 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

dutchie76’s picture

ok 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.

michelle’s picture

Off 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

michelle’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further comments...

Michelle