FREE Get a FREE template when you purchase Social bundle 🚀 ⚡️

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
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Using comment permalink() method in latest comment module

tylr23 · ·
10:00 PM Thursday, 13 August 2020
None
Hi,

On the easyboard dashboard comment view you get to see the permanent url of the comment with the following :


<?php if ($comment->isPublished()) { ?>
<li>
<a href="/<?php echo $comment->getPermalink();?>" target="_blank"><?php echo JText::_('COM_EASYBLOG_DASHBOARD_VIEW_COMMENT');?></a>
</li>
<?php } ?>


However if you just copy and paste this line in the latest comment module both
the "isPublished()" or "getPermalink()" method are not usable(Call to undefined method error)

How can I use those methods in tmpl/default.php (I did not find any particular include in the default.php of the dashboard comment view)?

Thank you for your time.
The replies under this section are restricted to logged in users or users with an active subscription with us