content profile 6.x prototype

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

I'm creating a new thread for continuing the discussion of http://groups.drupal.org/node/8261.

I've just done some work and implemented a first prototype of the possible base module (variant 2) --> http://drupal.org/project/content_profile -> Test it!

This prototype allows to mark multiple content types as content profile, but tries to keep the code clean and simple. As nodeprofile had already the multiple content type stuff, I found it easier to start with it, and so I took the ongoing nodeprofile 6.x port, scraped features out of it, simplified the code and made it more extensible.

To make using the module the first time easier, the module comes with a default content type named "profile". It provides some settings per content type, which can be edited in a separate tab that appears when one edits a content type (like the CCK tabs) and supports displaying the content profile on the user page with different display styles.
The module comes with a set of useful functions, which should be useful for possible extension modules. Furthermore the settings system of the base module is extensible, so other modules can use it too.

It's a prototype, so don't expect it to be ready. (Although most things seems to already work.)

What needs work:
* Validation for only one profile node for site admins is missing
* This validation should work with translated nodes, this is also TODO.
* integrate missing features from bio module, e.g. link from the node to the user page
* and probably the themed output of the module on the user page.

I'm not good in theming, so the display stuff is basically the stuff from nodeprofile ported to 6.x, which I don't really like myself. So someone with more theming skills could be very helpful here.

So what do you think about? Should we build the base module out of this?
Should we go with the name "content profile"?

Comments

update..

fago's picture

http://drupal.org/project/content_profile

  • validation for admins works
  • validation for translated profiles works (although this needs more testing)

everyone is invited to help by testing, reviewing and contributing!

Thanks

michelle's picture

I haven't had time to look at this at all but I wanted to at least say thanks for doing this so you don't feel like you're being ignored. :)

Michelle


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

:)

fago's picture

thanks, that's good to know ;)

In the meantime I've done some further work, fixed some small bugs and more important:

I worked out a small core patch (http://drupal.org/node/218189), which would simplify profile deletion on user deletion a lot (http://drupal.org/node/218180). So if you are interested in a simple content profile module, help reviewing http://drupal.org/node/218189!

Thanks

sharique's picture

I have tested module for some time. It looks in good shape. What I like most abt this module is no dependency.
The feature that I want to be included in this module is menu for profile type. For example if I have created a cck named " personal" and assigned as content profile. Then it should automatically create a menu with title "My personal Profile".


Sharique uddin Ahmed Farooqui

Sharique Ahmed Farooqui

Profiles as nodes

Group organizers

Group notifications

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