By Mist on Monday, 03 February 2014
Posted in Technical Issues
Replies 3
Likes 0
Views 644
Votes 0
In my template design i am customizing how the activity stream module will look.
This involved the overall aspect of the activity stream module aswell as individual aspect of the stream items shown into this module.

I completed the design and now i am looking for a way to implement it ....

So far, i created an override folder for the EasySocial Stream Module into my template location

/templates/my_template/html/mod_easysocial_stream/default.php


and inside this module override i tried to customize the output of the stream but i noticed that stream items are outputed with the code shown below

<?php echo $stream->html();?>


So, the question is: Where i can override the look and feel of stream items for this module ? Thanks !!!
Hello Mist,

I am sorry for the delay of this reply.

Regarding the stream module, I am sorry but currently you can do template overriding to this module because the output was actually generated by the stream library in EasySocial. If you only want to display certain things in the stream ( without re-position the items ), you can actually use css to control the item that you want to display or hide.

You might want to use this css selector, e.g to hide the content preview, you can do this:


.mod-es-stream .es-stream-content { display:none; }


The .mod-es-stream is the main wrapper of this stream module

Hope this help and have a nice day
Sam
·
Tuesday, 04 February 2014 10:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

You can refer to the theme files @ /components/com_easysocial/themes/wireframe/stream/*

To override this section of the theme, recreate the files at /templates/my_template/html/com_easysocial/stream/*
·
Monday, 03 February 2014 10:25
·
0 Likes
·
0 Votes
·
0 Comments
·
The big issue is that i don't want to override the "main" stream output, just let's say implement a "minimal" stream to a module position

When i say minimal i mean that i want to implement in a module position a stream that will output just the following stuff for each stream item

1. author avatar
2. author name
3. author action ("user did this")
4. a href link for the content

That's it, no other info like "content preview" inside the stream item ... just a plain "minimal" mode ex: "user X .. did this"
·
Monday, 03 February 2014 18:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post