I have customized the user-profile.tpl.php file to my liking,,,
everything works well according to this guide http://drupal.org/node/35728
but the problem I have experienced is very weird.
If i want to display the user picture or user rating using the following code
<?php print $profile['user_picture']; ?>
and
<?php print $profile['fivestarextra']; ?>
This code display the user profile picture & their star rating just fine after you empty the cache.
but if you visit the same profile after the first empty cache the picture and the star rating are empty.
they do not reload at all unless I empty the cache again and automatically after that if I reload the page the picture and star rating just disappear again..
what seems to be the problem, any idea anyone?
Comments
seriously,, this is very
seriously,,
this is very frustrating,, one minutes u see the profile an everything is loaded properly and the next minute everything is gone.. why?
anyone any idea, why does
anyone any idea,
why does this happen in my custom user-profile.tpl.php?
Why why why?
please help. this is just
please help. this is just ridiculous,, why doesn't it work.,.
why when I upload the same file & replace the user-profile.tpl.php drupal core file,, these two properties show up without a problem but the custom region I created in for user-profile for the theme doesn't show up there,,
I really don't want to modify the user-profile.tpl.php file in drupal core.
I want to work in my theme area but this doesn't help..
Can I atleast get some help displaying the user fivestar extra field so people can rate the user profile..
Please help,, pleaseeeeee
try echo $user->picture;
try