By Mist on Friday, 14 November 2014
Posted in General Issues
Replies 3
Likes 0
Views 799
Votes 0
Hi guys, i want to ask you how can i retrieve the "main" content id inside komento easysocial app. Let me describe this in detail.

First, i am working on this theme file :
/com_easysocial/apps/user/komento/streams/content.php

I am using Komento as a comment system for EasyBlog, so whenever there is a new "komento" comment in EasyBlog, a new stream item is "pushed" into EasySocial stream.
So far so good.

Now, i want to customize the theme file of Komento app (easysocial app) in order to

1. First retrieve the "easyblog" blog id for wich the comment was created. ( i need this to use it further on my own code)

2. Output the blog "main image"

Can you guys give me a quick tip on how can i achieve this ?
How to retrieve the "main" blog id (from easyblog table) inside the Komento's EasySocial stream theme file ?
How to output the blog main image ?

I am not sure if are you getting me .. let me know if you need me to explain this better.

Thanks !!!!!!
Hello Mist,

Here is the modified file for the content.php. Please have a look.
·
Friday, 14 November 2014 11:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow, that was too easy . Thanks very very much Nik !
·
Friday, 14 November 2014 18:29
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome, Mist.
·
Friday, 14 November 2014 18:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post