rockon
07-24-2009, 10:21 AM
I'm having some trouble making a submit button work to create a new thread in the FORUMDISPLAY template.
Here's the code i'm using:
<td class="smallfont"><if condition="$show['newthreadlink']">
<form method="link" action="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow">
<input type="submit" class="button" value="New Thread" />
</form>
<else /> </if></td>
I'm not sure if the rel="nofollow" should be there but it doesnt work with or without it.
It just says "You did not select any valid threads" as you can see here:
http://www.rockonpublishing.co.uk/forumdisplay.php?f=5
(click the top new thread button)
Interestingly, I just noticed that from the button it links to this URL:
http://www.rockonpublishing.co.uk/inlinemod.php?forumid=5
but the original image at the bottom links to:
http://www.rockonpublishing.co.uk/newthread.php?do=newthread&f=5
which is what I want my button to do!
Any ideas?
Here's the code i'm using:
<td class="smallfont"><if condition="$show['newthreadlink']">
<form method="link" action="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow">
<input type="submit" class="button" value="New Thread" />
</form>
<else /> </if></td>
I'm not sure if the rel="nofollow" should be there but it doesnt work with or without it.
It just says "You did not select any valid threads" as you can see here:
http://www.rockonpublishing.co.uk/forumdisplay.php?f=5
(click the top new thread button)
Interestingly, I just noticed that from the button it links to this URL:
http://www.rockonpublishing.co.uk/inlinemod.php?forumid=5
but the original image at the bottom links to:
http://www.rockonpublishing.co.uk/newthread.php?do=newthread&f=5
which is what I want my button to do!
Any ideas?