Hi,

I wonder if this module is capable of handling the display of nodes in user pages. I mean, say, I have a list of nodes pulled by views with the url ../user/%/articles and the tab menu along with profile tabs such as View and Edit. Now whenever I click the title of views node, I want to be redirected into, say, ../user/%/articles/node/123..., instead of the regular ../node/123

Does this module handle this kind of redirection? Would be the most wanted module for social networking if it does. Thanks

Comments

irakli’s picture

It probably does if you register a path /user/%/articles/node/% but honestly the path itself is malformed. In such URL there's nothing enforcing that some nid is indeed authored by some uid (two parts of the URL). What happens if I edit the URL manually and enter arbitrary uid or nid?

In any case, I would try registering the above path and see if it work. Unless user module is hijacking/blocking the path, it should. CustomPage is used widely for taxonomy page theming using the same technique.

See: "Theming a Taxonomy Term Page" @ http://drupal.org/node/286219

irakli’s picture

Status: Active » Needs review
gausarts’s picture

Glad to hear that. It will be great if it is successfully implemented.

Merc once did it here http://www.freesoftwaremagazine.com/community_posts/creating_user_centri...

Unluckily it is just _beyond_ drupal, I mean nobody is in charge to maintain it. If only somebody with knowledge can take over the module somehow. Hope you can take a look at that link, just in case it can be adopted one way or another.

Lots of thanks for all great works

irakli’s picture

Heh, Merc has done lots of nice things while he was actively involved with Drupal, indeed.

Also check out Panels module. They have a bunch of things for overriding user pages, I believe.