Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Need a little help after forum upgrade
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #4
RE: Need a little help after forum upgrade
If you look at carefully, there are some typos on the submit button.
The {$thread['threadlink']} already included the thread id. It won't be read by the action of the form (probably it is OK if you use friendly URL). So, you need to use an hidden input for the tid if you don't use the friendly URL (you can replace the {$thread['threadlink']} with showthread.php).
The submit button has name. So it will be included on your URL. Consider to remove it.

HTML Code
1
2
3
4
5
6
<form action="showthread.php" method="get">
	<input type="hidden" name="tid" value="{$thread['tid']}" />
	<p>
		<input type="submit" value="Click Here to Read More!" />
	</p>
</form>


BTW, is there any reason why you use form for that (is there any reason why you don't use usual link)?


02-09-2017 11:30 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Need a little help after forum upgrade - RateU - 02-09-2017 11:30 PM

 Standard Tools
Forum Jump: