Announcement

Collapse
No announcement yet.

question about poll timeout

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • question about poll timeout

    hello

    i would like to make the poll timeout as default for 5 days, so into the field should be written a 5 as default

    how and where can i make it?

  • #2
    Edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> New Posting Templates -> newpoll

    Find this code and add the red code:

    Code:
    		<fieldset class="fieldset">
    			<legend>$vbphrase[poll_timeout]</legend>
    			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
    			<tr>
    				<td>$vbphrase[automatically_close_poll_enter_days]</td>
    			</tr>
    			<tr>
    				<td><label for="poll_timeout">$vbphrase[close_poll] <input type="text" class="bginput" name="timeout" value="<if condition="$timeout">$timeout<else />5</if>" size="5" id="poll_timeout" tabindex="1" /> <phrase 1="$polldate">$vbphrase[days_after_x]</phrase></label></td>
    			</tr>
    			</table>
    		</fieldset>
    That should work.

    Comment


    • #3
      thx

      Comment


      • #4
        A big thanks from me as well. I needed that also!

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X