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
Do you need to output total blog post count in your joomla template, anywhere "outside" EasyBlog environment ? Maybe you want to build your own statistics or display your data in a certain way or in a certain location across your site. This query will help you. ;)

Use the code below :p

<?php
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query = 'SELECT COUNT(1) FROM #__easyblog_post';
$db->setQuery( $query );
$count = $db->loadResult();
echo $count;
?>


This will query the database and display the total posts count for EasyBlog.
To place the total posts count in a joomla template position, use one of the "custom code" modules (one that will run PHP) found in Joomla Extension Directory.

Enjoy ! ;)
The replies under this section are restricted to logged in users or users with an active subscription with us