I have made a custom module for Drupal 7 that works with user data (has it's own db tables and classes that do some logic with these data). I want to show them on user's profile but I do not want to use drupal fields etc (I dont need another db tables to store the data)..
Simply put, on each user profile I need to instantiate new class from my module (e.g. new UserDataPresenter($user_id)) and on the profile itself I need to "inject" (?) some html/php data e.g.:
<?php $user = new UserDataPresenter($user_id); ?>
e.g. <b>User's apples: <?php echo $user->getUserApples() ?>
etc...
This would be shown at the top of the user profile, something like this:
Is this possible in Drupal 7 (without any external modules)
I just want to present the user relevant data on each user's profile page - that's it! Nothing more.
Thank you for your answer.
