By Sunny on Thursday, 27 April 2017
Posted in Technical Issues
Replies 5
Likes 0
Views 412
Votes 0
Can you please guide me how to include a heading (title) for the stream when a user updates his status

I want the stream title to be "Username updated his status"

Currently its just "Username"

possibly there is a language string missing??

regards
Sunny
Yep, it should be fine
·
Thursday, 27 April 2017 23:33
·
0 Likes
·
0 Votes
·
0 Comments
·
If you need to customize this, you may edit the theme file /components/com_easysocial/themes/wireframe/streams/story/user/title.php
·
Thursday, 27 April 2017 17:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark:

Can you pls let me know what to insert in this code:

<?php if ($stream->showPageTitle()) { ?>
<?php echo $this->html('html.anywhereTitle', $stream); ?>
<?php } ?>


i've no idea about what "html.anywhereTitle is.

regards
·
Thursday, 27 April 2017 17:36
·
0 Likes
·
0 Votes
·
0 Comments
·
I've managed to do the following to get the desired result.
Just want your confirmation if the approach is right and it woudl not break anything else.

<?php if ($stream->showPageTitle()) { ?>

<?php echo $this->html('html.anywhereTitle', $stream); ?>
<?php } else { ?>
<?php echo JText::sprintf('updated his status', $this->html('html.user', $actor));?>
<?php } ?>
·
Thursday, 27 April 2017 21:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post