Date post: | 06-Dec-2014 |
Category: |
Technology |
Upload: | theneemies |
View: | 4,292 times |
Download: | 2 times |
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 1
Sydney Drupal Meetup – January 2009
Drupal User Profiles by Neem Tree
http://neemtree.com.au
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 2
Selecting a moduleSelecting a moduleMany modules enable user profiles, here are some of them:
Core Profile modulehttp://drupal.org/project/nodeprofile
This module builds user profiles as nodes, which opens the opportunity to use the Content Construction Kit (CCK). …
http://drupal.org/project/usernodeThis module tries to make users nodes. It cares for automatic creation and deletion of a node for each user, the so called usernode….
http://drupal.org/project/bioThe Bio module allows each user to create one (and only one) "bio" node. … In D6, Content Profile is the successor to Bio.
http://drupal.org/project/content_profileThis module builds user profiles as content (aka nodes), which opens the opportunity to use all the powerful modules for content for user profiles too, e.g. the Content Construction Kit (CCK).
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 3
Contrib modulesContrib modulesThe core profile module provides limited extensibility, whereas
the contributed modules are useful for those looking to expand user profiles using CCK and/or Views modules.
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 4
Contrib modulesContrib modulesThe following modules will be reviewed:
Node Profile
Usernode
Bio
Content Profile
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 5
Node ProfileNode Profile (not upgraded to D6 yet) (not upgraded to D6 yet)
Dependencies:http://drupal.org/project/Nodefamily, http://drupal.org/project/Subform_element
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 6
Node ProfileNode ProfilePros: Automatically links to default profile
(http://demo.nodeprofile.five/user/n).
Cons: Profile page usability is a little hokey. The corresponding node not auto-created when user is added (must either node/add/nodeprofile or install User Node).]
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 7
UsernodeUsernode (not upgraded to D6 yet) (not upgraded to D6 yet)
Useful when combined with Node Profile (automatically creates corresponding nodes for users).
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 8
BioBioSimilar to Node Profile.
Pros: Cleaner user profile interface.
Cons: Doesn’t automatically create corresponding nodes for users.
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 9
Content Profile Content Profile (D6 only)(D6 only)
Similar to Node Profile. It provides a new content type, which needs to be configured. Doesn’t enhance default profile page (http://demo.content_profile.six/user/n)
Drupal Theming Overview content licensed under Creative Commons Attribution 3.0 to http://neemtree.com.au 10
Anatomy of an expanded Anatomy of an expanded user profile pageuser profile page
CCK fields
View
Buddylist
Questions?