Non-node profiles + set number of nodes per user?

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

I'm looking at content profile and wondering if I can:
-have basic profiles controlled with the core D6 profile module, (like "Basic Information" in profile)
-AND have two specific content types that a user can create, but only once. (They'll function sort of as profile extenders.)

So it's not quite user profiles, but I wonder if content profile can do that - have two node types tied to users but not set as their profile. Does anyone have any suggestions as to how to configure that, with or without content profile?

Thanks!

Comments

Possible, sort of.

arilikeairy's picture

By the way, this did work with content profile.

....But now I have no idea how to link to the actual profile information. Using tokens, the links are:
- users/[uname]
- user/[uid]/profile/profile2
- user/[uid]/profile/profile3

Can anyone give me a quick pointer as to how I might link to these in a block?
(I can't figure out a way to get tokens to work in blocks.)

I'm thinking I'll need to use Views but I can't figure it out.

Correct me if a I am wrong,

bennos's picture

Correct me if a I am wrong, but you are using the core profile module and content profile together and you want to bundle it toghether???

Why so difficult. Use just content profile. Make another Content type with the fields you need and kick the core profile module out. You do not need it.

Content Profile is rewrite of the node profile, nodefamily and nodefamilyhelper modules. They all do the same in D5. In D6 it is in Drupal and called all togehter "Content Profile". Content Profile gives you the possibility to theme the output via ...tpl.php or via contemplate.

How to create links within Content Profile?

arilikeairy's picture

Thanks for your comment...Whether or not I use the core profile module, I still can't figure out how to create links to the parts of the profiles.

Here's an example of what I mean:
If you navigate to Bob's profile, I'd like to have a block on that lists and links to all three segments of the profile. (So: Basic Information, Profile part 2, Profile part 3.)

Panels

michelle's picture

Why not use panels and just show them all right there on that page? Or in tabs, if you prefer.

Michelle


See my Drupal articles and tutorials or come check out the Coulee Region

Tabs?

arilikeairy's picture

How would I go about using tabs? (Sorry if this is a basic question! I'm a beginner.)
...Is that something I'd have to theme in? Is there a module to create tabs (bearing in mind I have D6)? How do I create the links?

Thanks!

In admin/content/node-type/<CONTENT TYPE>/profile....

likewhoa's picture

In admin/content/node-type//profile you should have two options for displaying a link to the profile in the user's profile page. You may also setup a panel's page like Michelle suggested, What I have been doing recently is setting up APK and Quicktabs showing view blocks of different content profile pages, if you want a way to navigate users through all your different content profile pages then use the Pageroute module.

bending technology to fit businesses.

Panels should be the best

bennos's picture

Panels should be the best way. Install panels and install Advanced Profile module. That gives you a panel Page user/% where you can display all informations and you can theme it with a tpl.php file.

Using both modules Profile and content profile and combining them is not very consequent.

Can't use Panels

arilikeairy's picture

I'd love to use panels, but I'm using Drupal 6. The tab idea may work, but the problem is worse than just links: the trouble is now that users are unable to view the profile information of each other.

When user 1 clicks on user 2's profile nodes, they end up seeing an edit page for their own information.

I'm not sure why, and I've checked the permissions for the node type.

Try using APK

raulc's picture

Hi there,

Have you tried using APK http://drupal.org/project/advanced_profile ?. That will save you a lot of time and effort. In its current state I find it stable enough to be used

Hope this helps.

Too close to production

arilikeairy's picture

I'd like to use APK and I have some experience using it in D5, but this site is too close to going live, and I'm scared to use the unsupported alpha and get myself out onto another limb from which I cannot return!

Thanks for the suggestion, I'd like to use APK but I don't think I have enough experience to do so confidently at this point.

How did you solve it?

remschi's picture

Hi!

I'm wondering if you solved your problem?

And yes how?

I face a similar problem...

Thanks!

the last message is from

bennos's picture

the last message is from 02/2009. Panels 2 was still buggy and Panels3 was on the way. with panels 3 you can create custom profiles in an easy way now. try it.

look at the hard coded User view /user/%user.
Activate it and and profile fields or content profile fields can be added to the profile page.

Social Networking Sites

Group notifications

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

Hot content this week