UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

How to add EB post's category and content to ES komento's stream item

Benoit Gonneville Damme · ·
4:41 PM Wednesday, 10 February 2016
Low
Hi,

This is the same question than this post: http://stackideas.com/forums/how-to-add-eb-image-to-komento-s-es-stream-item. I wanted to add the following question to the thread but the discussion was locked.

I know this is customization, so I am not asking for direct help, but I am just trying to figure out with the small knowledge I have, how to do what I want to do. Sorry for bothering :s

In the previous discussion, we assigned variables


$this->set('image', $comment->extension->_item->getImage());
$this->set('permalink', $comment->extension->_item->getPermalink());


To be able to call in content.php
<?php echo $image; ?>


I am trying to add the original EB post's category and content to the stream item and I can't find the correct expression to use to call and assigned those variables...

I tried this:


$this->set(title, $comment->extension->_item->getCategory());
$this->set('content', $comment->extension->_item->getContent());


or this


$this->set('category', $item->category);
$this->set('content', $item->content);


and this in the content.php
<?php echo $category; ?>


None of these work. I have just been able to call the title with
<?php echo $comment->contenttitle; ?>


Again, I know this is more a customization then a issue, but if you find time to indicate me the correct expression (or a documentation I could read to understand it myself), I would greatly appreciated.

Thank you for considering helping me out!

Cheers.

B.
The replies under this section are restricted to logged in users or users with an active subscription with us