Did I break something?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sifuhall
    Senior Member
    • May 2001
    • 254

    Did I break something?

    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:
    <a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
    and the reply button is:
    <a href="$post[replylink]"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
    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?
    Last edited by sifuhall; Mon 10 Jan '05, 12:48pm. Reason: updated title for clarity
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    That variables are defined in the includes/functions_showthread.php file.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎