Automatic creation of a node with extensive info about a when click

Gregclaes - July 22, 2008 - 04:31

Hi all,

Recently I am struggling with the following problem. Say I have a database with people who log in and how must go through a through a form with thier personal information. This form stores all the information about the user in a specific created table (eg MyBuddies) in the drupal database. So far no problems. After doing a query now in the database, I display (in a simple way) a list of people from that specific table. This list is clickable. Now my question : is it possible when I click on one of these names, that I can get more submitted information about this user that is located in MyBuddies (eg : picture, place of birth, hobbies, ...). It appears to me that I should create a node in a automatic way where all this info is taken and displayed. Is this possible?? I really don't know if drupal offers this features to create dynamic content (i.e: clicking on something, and getting more information about this click from the same database).

I have seen also that some people use views and cck. But in these case all the nodes must be predefined!!!

Any suggestion is welcome!!!

Check profile module

beautifulmind - July 22, 2008 - 04:56

Rather than creating your own, you should use the profile module. Its a drupal's core module and you don't need to download separately.
And when you are displaying user info all the data collected through profile field will be displayed on the profile page. All you have to do is theme them. You can do this by modifying the respective .tpl.php files in the user module. Copy those .tpl.php files from user module to your theem directory and tell you designer to give its a very rich look :)

Beautifulmind
Know more

Thanks for your reply

Gregclaes - July 22, 2008 - 12:42

Thanks for your reply Beautifulmind,

But is there, expect that way no other way to do it, maybe just by a simple php script. The reason is that the website needs to get running and it will take me some time to adjust everything at this point. Let say if you have a list with items where you can click on. If you click on one of items a new page, that doesn't exist at the moment you click on it, should appear with more information about your "click".

If somebody could help me out!!!

Greetings,

Greg

 
 

Drupal is a registered trademark of Dries Buytaert.