We are working on Drupal based dating website. We have already created a complete user profile using the profile module, but I need each user to upload a personal photos in their profiles, so other users can see profiles displaying a user photos (not as a link). I figured the way to combine My Account with User Profile and the photos appear but then some information gets duplicated. I want photos to show up under Profile not under My Account. Has anybody done that? Any suggestions? Thank You
I've tried this module. It's not really working for me. I'm using drupal 6.19. I have a user profile built as content and photo gallery content type built as node with CCK. To limit only one gallery per user I have "Use this content type as a content profile for users" enabled. My question is: how could I put a link to user's photo gallery on user profile?
Ok disclaimer: I'm very tired so could be on the completely wrong track. If you want one or more of the gallery images to show up on the user profile Since you have the image gallery set up as a seperate node, the way I would approach this is to first set up a view that displays a user's images however you want them, and then include it in your template wherever you want it to show up using views_embed_view() or just by displaying it in a block on user pages. If you just want to add a link to the gallery as part of the info shown in the profile Again just edit your template file and add in a link manually using the $account variable to generate the dynamic, user-specific part of the URL. The exact code for that would depend on how you have your URLs set up. Which template file? When I've used content profile I've usually ended up with two template files generating the final profile page. user-profile.tpl.php is the default template where you have access to print things like user avatar. $profile['content_profile'] will pull in the info from content profile which can be formatted in node-profile.tpl.php where profile is the system name of your content type.
Thank You for you response, The problem is I know where to put that link but don't know how to put it or how to generate it. My photo gallery goes by "photogallery" name as a node, and the URL to user's gallery would be: mysite.com/user/%/photogallery. Any ideas?