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.

This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Support is
Offline

It is currently a weekend from where we are at. 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!

Your time
Stack Ideas time