Jump to content

Profile and Unread Stream - How to edit template?


adcantu

Recommended Posts

I have edited the userPhoto template to show group image instead of avatar for members of some groups. However I notice in the activity stream on the profile, and on the unread content stream, it still uses the default avatar. I was trying to find how to edit these and I don't know what to do. 

For the profile it seems it is at
Templates > core > front > profile > profileActivity

and the unread content stream
Templates > core > front > streams > streamItems


However I see the data is being pulled like so:
 

	{{if $statusForm or count( $latestActivity )}}
		<ol class='ipsStream ipsList_reset' data-role='activityStream' id='elProfileActivityOverview'>
			{{foreach $latestActivity as $activity}}
				{$activity->html()|raw}
			{{endforeach}}
		</ol>
	{{endif}}

 

and 

			{$result->html( $view, $sort != 'date', TRUE )|raw}

 

Where and how can I edit this content?

 

EDIT

I found where to edit the userPhoto that gets called in these locations, it was in the Templates > core > front > global > userPhotoFromData

The rest I think I can just manage with css.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...