Hi !
I'd like to override the kunenadiscuss plugin. Specifically files :
form.php
view/message.php
so my question is simple : where do I put them in my template_folder ? I tried a
templates/my_template/html/kunenadiscuss but it did not work.
my wish is to make a tableless form (here is my code for
form.php if it interests someone) :
Code:
<form method="post" name="postform">
<fieldset class="quickcomment">
<legend><span><?php echo JText::_('PLG_KUNENADISCUSS_DISCUSS') ?></span></legend>
<label for="name" class="kdiscuss-quick-post-label"><?php echo JText::_('PLG_KUNENADISCUSS_NAME') ?></label>
<input type="text" name="name" value="<?php echo $this->name ?>" <?php if ($this->_my->id) echo 'disabled="disabled" '; ?>/>
<?php if(!$this->_my->id) : ?>
<label for="email" class="kdiscuss-quick-post-label"><?php echo JText::_('PLG_KUNENADISCUSS_EMAIL') ?></label>
<input type="text" name="email" value="" />
<?php endif; ?>
<label for="message" class="kdiscuss-quick-post-label"><?php echo JText::_('PLG_KUNENADISCUSS_MESSAGE') ?></label>
<textarea name="message" rows="5" cols="60"></textarea>
<?php if ($this->config->captcha && !$this->_my->id) : ?>
<label for="captcha" class="kdiscuss-quick-post-label"><?php echo JText::_('PLG_KUNENADISCUSS_CAPTCHA') ?></label>
<?php $this->displayCaptcha(); ?>
<?php endif; ?>
<input type="submit" class="button" value="<?php echo JText::_('PLG_KUNENADISCUSS_SUBMIT') ?>" />
<input type="hidden" name="kdiscussContentId" value="<?php echo $row->id ?>" />
<?php echo JHTML::_( 'form.token' ); ?>
</fieldset>
</form>