Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 6, 20204 yr Hello, \system\Poll\Poll.php /** * @brief URL to use instead of \IPS\Request::i()->url() */ public $url; $output = $template( $this, ( $this->url ?: \IPS\Request::i()->url() ) ); \applications\core\dev\html\global\global\poll.phtml \applications\core\dev\html\global\global\pollForm.phtml You're use the $url variable for all buttons but not for form action. <form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" It causes issues E.g. in the Forum Poll Widget you are use the $url. \applications\forums\dev\html\front\widgets\pollFormWidget.phtml <form accept-charset='utf-8' class="ipsForm {$class}" action="{$url->setQueryString( 'do', 'widgetPoll' )}"
May 6, 20204 yr Does changing the template from using $action to the poll $url property still work and resolve the issue you are facing?
May 6, 20204 yr Author 8 minutes ago, bfarber said: Does changing the template from using $action to the poll $url property still work and resolve the issue you are facing? Yes.