I was modifying few templates when I noticed my edit and quote buttons were not working correctly. Instead of taking you to edit the post or quote it, it takes you to the forum home page.
I reviewed the original templates and the code for the buttons is the same
The code for the edit button is:
and the reply button is:
I realize this is probably something I screwed up.
It looks like the problem is in the vars $post[editlink] and $postreplylink
Where are these vars being set so I can check them?
I reviewed the original templates and the code for the buttons is the same
The code for the edit button is:
<a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
It looks like the problem is in the vars $post[editlink] and $postreplylink
Where are these vars being set so I can check them?
Comment