Hi guys. Do you know for what reason some variables that i am using inside EasyDiscuss template file "frontpage.post.php" file does not work inside mod_recentdiscussions, default.php template file ?
Basically what i need is to replicate the entire "frontpage.post.php" file inside the mod_recentdiscussions to have "recent discussions" items look the same as discussions inside the component view. (frontpage.post.php)
I have a feeling that somethings ore some easydiscuss libraries/helpers or so on ... are not included by default into the module.
For example, even the basic stuff does not work, code like (i will post some variables below)
<?php echo $post->category; ?>
<?php echo $post->reply->getLink();?>
<?php echo $post->reply->getName(); ?>
<?php echo $post->reply->getAvatar();?>
$attachments = $post->getAttachments();
... and so on. Also i have some conditional statements that does not work .
Are there any other files that should be included in the module that will allow me to use the post layout, similar code as in "frontpage.post.php" ?
PS: Sorry for keep getting back to you with some "developer-friendly" needs, but this can be also helpfull for somebody else looking to achieve the same thing. EasyDiscuss is great but with a little touch and customization is simply PERFECT !