Is it possible to have only 1 user page ?

Events happening in the community are now at Drupal community events on www.drupal.org.
pharma's picture

I see using content profile module generating 2 URLS (duplicate ?) for same user ...

if some one registered with user name John
two profile URLs are created

www.website.com/john (Core profile module page)
www.website.com/john-0 ( Content Profile Page module page)

I am affraid content duplicate issues. How do we overcome ?

Comments

I'd like to know as well.

lefnire's picture

I'd like to know as well. The way I have it set up currently is the following janky solution:

  • Override user/% via page_manager with a panel that includes all user + content_profile stuff
  • Redirect content_profile node-views to the user page:
    function {YOURMODULE}_init(){
      $node = menu_get_object();
      if($node && $node->type == 'profile'){
        drupal_goto("user/{$node->uid}");
      }
    }

The reason I'm putting everything on /user/% is because that contains all extra user tabs (contact, edit account, etc).

Checkout my whole setup at http://ocdevel.com/node/496

Profiles as nodes

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: