How to edit Activity item layout?
-
I have two similar questions relating to individual activity items and their layouts:
1) When the user clicks on the date an activity item was posted he is given a url similar to http://www.mydomain.ca/members/admin/activity/117# . The layout for this url is messed up: the site width is confined, sidebars and footers are missing, etc. I’ve identified the layout for this type of url as being defined by entry.php inside the activity folder. The problem is that this same file is also responsible for the layout of the activity items when displayed in the activity streams and changing the file to add sidebars and footers messes up the layout of the streams!
2) I want the date an activity item is posted to be displayed BELOW rather than next to the activity item.
Current Example: User became a registered member 1 month, 2 weeks ago
What I want:
User became a registered member
1 month, 2 weeks agoI’ve located the source of this layout to be inside a php function called bp_activity_content_body() but the codex says nothing about it and I can’t find where the function is defined in order to edit the layout.
Anyone out there able to help?
- The topic ‘How to edit Activity item layout?’ is closed to new replies.