Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

rate success tags problem

Quote Reply
rate success tags problem
i have a problem with rate success page.

i try to run this code there:
<head><title>rate success</title>
<script language="JavaScript" type="text/javascript"><!--
t=1; function dorefresh() { u=new String("<%url%>");
ti=setTimeout("dorefresh();",2000); if (t>0) { t-=1; }
else { clearTimeout(ti); window.location=u.replace("#","&t="+parseInt(10000*Math.random())+"#"); }
} window.onLoad=dorefresh();
--></script><meta http-equiv="Refresh" content="2; URL=<%url%>">
</head>
<body bgColor="#ffffff" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10"
link="#000000" vlink="#000000" alink="#000000">
<br><br>
<table width="750" border="0" cellspacing="0" cellpadding="0" height="50%" align="center">
<tr align="center" valign="middle">
<td>
<table border="0" cellspacing="1" cellpadding="10" bgcolor="#dddddd" width="70%">
<tr>
<td bgcolor="#FFFFFF" align="center">
<p><font face="MS Sans Serif,Geneva,Arial" size="2" color="#000000"><b>
Thank you for your vote.</b><br><br></font>

<font face="MS Sans Serif,Geneva,Arial" size="1"> <a href="<%url%>">Click here if you do not want to wait any longer<br />(or if your browser does not automatically forward you)</a></font></p></td>
</tr></table></td></tr></table>

and use <%url%> tag there.

but links not undestand it.

i take this tag from login template.

please help to solve it.
[/size]

Last edited by:

romanslon: Sep 17, 2003, 7:37 AM
Quote Reply
Re: [romanslon] rate success tags problem In reply to
Erm, <%URL%> ? Wink

BTW, please don't put your posts in bold/large fonts.. it makes it very hard to read. I had to edit your post just enough, so I could even understand it!

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] rate success tags problem In reply to
sory for big font, i totally first tim epost code there.

Andy, i change it to <%URL%>

but no effect. it just print nothing.

please help.

Last edited by:

romanslon: Sep 17, 2003, 7:38 AM
Quote Reply
Re: [romanslon] rate success tags problem In reply to
Put <%GT::Template::dump%> in the temlate.. does it show the URL tag anywhere in there, or one that holds the appropriate URL?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] rate success tags problem In reply to
i run it, and it show that i have this tag on this tamplate.

more, its generate some url from my last time visits.But no previous page(page where i have rate this link -i did it from detailed page of link)
Quote Reply
Re: [romanslon] rate success tags problem In reply to
Didn't understand a word of that :p

Can you paste the results from it?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [romanslon] rate success tags problem In reply to
Hi, I'm not sure that I understand but I'm taking a guess that you are trying to put the URL for the detail page into the rate success template so that it refreshes back to the detail page? If so, this is what I use:

<META HTTP-EQUIV="refresh" CONTENT="0;URL=<%build_root_url%>/Detailed/<%ID%>.html">

(I'm not using static detail pages so I'm just guessing that this is what you're using).
Quote Reply
Re: [afinlr] rate success tags problem In reply to
yes, its works fine!

thanks guys!