This is not possible without a core modification, but it's not a hard one.
Open /components/com_poll/poll.html.php
Find:
?>
</form>
<?php
Replace with:
?>
</form>
<?php
define('EC_LITE', true);
global $mainframe;
require_once($mainframe->getPath('class', 'com_easycomment'));
$xajax->registerFunction(array("showComments", "items", "showComments"), XAJAX_POST);
echo $xajax->getJavascript($mainframe->getCfg('live_site') . '/components/com_easycomment/xajax');
echo '<div id="comments"></div>' . "\n";
echo '<script type="text/javascript">' . "\n";
echo '<!--' . "\n";
echo 'ec_showComments(' . $poll->id . ', \'polls\');' . "\n";
echo '//-->' . "\n";
echo '</script>' . "\n";
That will add the comment field below the poll results.
| < Prev | Next > |
|---|