User centric nodes

gausarts - March 28, 2009 - 20:49
Project:Custom Page
Version:6.x-1.6
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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

#1

irakli - April 6, 2009 - 01:17

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

#2

irakli - April 6, 2009 - 01:19
Status:active» needs review

#3

gausarts - April 6, 2009 - 01:47

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

#4

irakli - April 6, 2009 - 01:58

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.

 
 

Drupal is a registered trademark of Dries Buytaert.