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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online
I added a button "New Post" in the blog category to add posts to this category. (http://onlytest.ru/1-categories-blog)
But I set a condition that it appeared only for those who can create command blogs.
/components/com_easyblog/themes/wireframe/blogs/categories/item.php


<?php if ($this->acl->get('create_team_blog')) { ?>
<a href="/blog/composer?category=&lt;?php_echo_$category-=&gt;id;_?=&gt;=" class="btn btn-primary">
<?php echo JText::_('COM_EASYBLOG_NEW_POST'); ?></a>
<?php } ?>


How to write a condition that whether there was a check the user has the right to create posts in this category of the blog.
The replies under this section are restricted to logged in users or users with an active subscription with us