Hello,
I am trying to make a social network site and i have gotten somewhat far considering i have only been working on this for 3 days but i want to know how to use this in a more custom manner
- I have customized the user_profile.tpl.php file to my liking and i want all the info displayed there.
- I have a custom home page of html and css...no drupal....yet..it allows me to login to my drupal account and autmatically sends me to my user account page.
What i would like but i do not know if this is possible is to be able to write my own custom html pages and have the user php code displayed there so that i would be able to bypass all of drupal theming and just use theri backend. I think that the problem is that i currently do not have user authentication to make my own user page and call straight from the mysql depending on the user.
Is what i am trying to do possible?
here is my user_profile.tpl.php page right now
print $user->profile_css
if($user->picture) {print theme('user_picture', $user);}
else {
print '<img src="/path/to/nopicture.gif" align="right" alt="This user hasn\'t posted a picture yet or whatelse" />';
}
Who I Am
if($user->profile_4):