Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
Maulik Posted December 30, 2017 Share Posted December 30, 2017 Hello, We want to change the "Posts" layout under "Profile" and make it same as "all activity" tab. Meaning we want to change the layout of "posts" so that it'll only so title and some content and not full posts. [ refer : http://prntscr.com/hu475x ] Can anyone help us ? Thanks. Link to comment Share on other sites More sharing options...
newbie LAC Posted December 30, 2017 Share Posted December 30, 2017 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 More sharing options...
Maulik Posted January 1, 2018 Author Share Posted January 1, 2018 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.