By Christian Hostettler on Thursday, 28 March 2019
Posted in Technical Issues
Replies 3
Likes 0
Views 2.3K
Votes 0
Hi
Is there a possibility to disable the "New Post" Button on the Singel Category Menu Item View with configuration of the ED Options?
Thanks
Chris
Hello Christian,

There isn't a configuration to turn this off but you can customize the theme file located at /components/com_easydiscuss/themes/wireframe/forums/active.php to remove the ask button. You just need to remove the codes below:

[gist]
<?php if ($activeCategory->canPost()) { ?>
<a class="btn btn-primary ed-forums-cat-header__btn t-lg-pull-right t-xs-mt--lg" href="<?php echo EDR::_('view=ask&category=' . $activeCategory->id);?>">
<i class="fa fa-pencil t-lg-mr--sm"></i> <?php echo JText::_('COM_EASYDISCUSS_NEW_POST');?>
</a>
<?php } ?>
[/gist]
·
Friday, 29 March 2019 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark
Tank You for help. Do You recommand us create a Joomla overrite od to edit the original file?
Best regards
Christian
·
Tuesday, 09 April 2019 17:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Yes. We recommend you do template override for those changes as it wont be overwrite on your next update. You can follow them here https://stackideas.com/docs/easydiscuss/administrators/templating/template-overrides . Please give it a try and see how it goes.
·
Tuesday, 09 April 2019 18:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post