Announcement

Collapse
No announcement yet.

Proceed button

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

  • Proceed button

    Hi i am used to haveing the proceed buttons appear on the redirect pages.

    is there an option to get those back>

    Luke Brown

  • #2
    Admin CP -> Styles & Templates -> Style Manager -> -> STANDARD_REDIRECT

    Add the red code:

    Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <if condition="!$postvars">
    
    	<noscript>
    	<meta http-equiv="Refresh" content="2; URL=$url" />
    	</noscript>
    
    	<script type="text/javascript">
    	<!--
    	function exec_refresh()
    	{
    		window.status = "$vbphrase[redirecting]" + myvar;
    		myvar = myvar + " .";
    		var timerID = setTimeout("exec_refresh();", 100);
    		if (timeout > 0)
    		{
    			timeout -= 1;
    		}
    		else
    		{
    			clearTimeout(timerID);
    			window.status = "";
    			window.location = "$js_url";
    		}
    	}
    	
    	var myvar = "";
    	var timeout = 20;
    	exec_refresh();
    	//-->
    	</script>
    </if>
    $headinclude
    <title>$pagetitle</title>
    </head>
    <body>
    
    <br />
    <br />
    <br />
    <br />
    
    <form action="$formfile" method="post" name="postvarform">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
    <tr>
    	<td class="tcat">$vbphrase[redirecting]</td>
    </tr>
    <tr>
    	<td class="panelsurround" align="center">
    	<div class="panel">
    			
    		<blockquote>
    			<p>&nbsp;</p>
    			<p><strong>$errormessage</strong></p>			
    			<if condition="$postvars">
    				$postvars
    				<p id="click_here_p" class="smallfont">$vbphrase[click_the_following_button]</p>
    				<input type="submit" class="button" value="$vbphrase[proceed]" accesskey="s" />
    			<else />
    				<p class="smallfont"><a href="$url">$vbphrase[click_if_browser_does_not_redirect]</a></p>
    				<div>&nbsp;</div>
    			</if>
    		</blockquote>
    			
    	</div>
    	<input style="margin-top: $stylevar[cellpadding]px;" type="submit" name="submit" value="Proceed" />
    	</td>
    </tr>
    </table>
    </form>
    
    <if condition="$postvars">
    <!-- redirect with POST -->
    
    <script type="text/javascript">
    <!--
    fetch_object('click_here_p').style.display = 'none';
    function submit_form()
    {
    	window.status = "Redirecting" + myvar;
    	myvar = myvar + " .";
    	timerID = setTimeout("submit_form();", 100);
    	if (timeout > 0)
    	{	
    		timeout -= 1;
    	}
    	else
    	{
    		clearTimeout(timerID);
    		window.status = "";
    		document.forms.postvarform.submit();
    	}
    }
    
    myvar = "";
    timeout = 18;
    submit_form();
    //-->
    </script>
    	
    <!-- / redirect with POST -->
    </if>
    
    </body>
    </html>

    Comment

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