I'm trying to use Content Profile & CCK to allow users to input some information from various social networks. Right now I'm just using textfield, one for each social network (twitter, facebook, linked in, etc) to input either a link or their username from that social network.
My goal is to be able to create a block so that when people visit their profile, they will have a block that just contain icons representing each of the networks if that CCK field is filled out (i.e. if they've entered that info).
Can anyone lead me in the right direction on where I should even start with this? Is there anything else like this already out there? Should I really be using textfields? or should I learn the CCK API and make my own?
Thanks in advance
Comments
Have you tried out the Follow module?
At first glance it seems like the Follow module meets your requirements. It provides users with the ability to enter url links to their social network profiles. It also provides two blocks, one for users and one for the site. The module provides icons for social networks and supports most of the popular social networks out there. One extra thing though it adds another tab to the user account page.
Hope this helps.
you could do this in the
you could do this with a template function. If you create a custom block, you can template it by using a suggestion to name your template, and use conditional php to display it. in CSS you can assign the text they enter a href value to a predefined image.