Closed (fixed)
Project:
Advanced Profile Kit
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 May 2008 at 01:27 UTC
Updated:
23 Jun 2008 at 20:32 UTC
Hello, how can i make a content to display a function?
I added into template_preprocess_advprofile_userinfo this
if (module_exists('activitystream')) {
$variables['activitystreams_raw'] = activitystream_get_activity($account);
$variables['activitystreams'] = '<div class="username">' .$variables['activitystreams_raw'] . '</div>';and a "$print activitystreams;" into advanced_profile_userinfo.tpl and activities display well, but i wanna to display in other block.
I cant use views or custom content to display activities.
Is there any way to create something similar userinfo into advanced_profile.module ??
Comments
Comment #1
michelleYou need to create a panels custom content type. You can look at the user info for reference but explaining how to do this is really out of scope for this issue queue.
Michelle
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.