com_communityanswers > views > replyform > tmpl > edit.php
1. Tabs replace
<ul class="nav nav-tabs">
<li class="active"><a href="#editor" data-toggle="tab"><?php echo JText::_('COM_COMMUNITYANSWERS_POST_REPLY') ?></a></li>
<li><a href="#publishing" data-toggle="tab"><?php echo JText::_('COM_COMMUNITYANSWERS_PUBLISHING') ?></a></li>
</ul>
with
<ul class="nav nav-tabs">
<li class="active"><a href="#editor" data-toggle="tab"><?php echo JText::_('COM_COMMUNITYANSWERS_POST_REPLY') ?></a></li>
<?php if($showPublishingOptions):?>
<li><a href="#publishing" data-toggle="tab"><?php echo JText::_('COM_COMMUNITYANSWERS_PUBLISHING') ?></a></li>
<?php endif;?>
</ul>
2. Content replace
<div class="tab-pane" id="publishing">
with
<?php if($showPublishingOptions):?>
<div class="tab-pane" id="publishing">
3. Content replace
<input type="hidden" name="task" value="" />
with
<?php endif;?>
<input type="hidden" name="task" value="" />
Green lines are inserted.
Best regards,
Jürgen