Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using a very involved custom profile template and would like to include the user-favorites list in it. How might I accomplish this?
Comments
Comment #1
dzynz CreditAttribution: dzynz commentedSorry - I found this
But it really doesn't work the way it does on an un-templated profile. How can I get that functionality?
Comment #2
asund CreditAttribution: asund commentedHi!
I had the same problem, but solved it by making a view with an argument for Added to favorite by ID and then just embedded the view in the profile using this code:
Comment #3
neubreed CreditAttribution: neubreed commentedHere's another way to to do a teaser list in user_profile.tpl.php without needing to create a view