Jump to content

Make "posts" layout as "all activity" under member Profile


Maulik

Recommended Posts

Hello,

Edit the template core - front - tables -  commentRows

This template uses also for other content  so you should add conditions.

3 hours ago, Maulik said:

and not full posts

Find

							{$row->content()|raw}

change to 

							{{if request.app == 'core' and request.module == 'members' and request.controller == 'profile' and request.do == 'content' and request.type == 'forums_topic_post'}}
								<div class='ipsType_richText ipsContained ipsType_medium'>
									<div data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='3 lines' data-ipsTruncate-watch='false'>
										{$row->truncated(true)}
									</div>
								</div>
							{{else}}
								{$row->content()|raw}
							{{endif}}

 

Link to comment
Share on other sites

On 12/30/2017 at 4:40 PM, newbie LAC said:

Hello,

Edit the template core - front - tables -  commentRows

This template uses also for other content  so you should add conditions.

Find


							{$row->content()|raw}

change to 


							{{if request.app == 'core' and request.module == 'members' and request.controller == 'profile' and request.do == 'content' and request.type == 'forums_topic_post'}}
								<div class='ipsType_richText ipsContained ipsType_medium'>
									<div data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='3 lines' data-ipsTruncate-watch='false'>
										{$row->truncated(true)}
									</div>
								</div>
							{{else}}
								{$row->content()|raw}
							{{endif}}

 

You're brilliant..

Thanks a lot ..!!

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...