Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthormiquel
    • CommentTimeApr 9th 2008 edited
     # 1
    Hi,

    I'm developing a function that I want to be executed each time that the "delete" link is clicked, but I don't know where to attach it.

    any idea? thx!
    •  
      CommentAuthorjimw
    • CommentTimeApr 9th 2008
     # 2
    Are you talking about the show/hide comment button or the real delete comment from the CommentRemoval addon?
    • CommentAuthormiquel
    • CommentTimeApr 10th 2008
     # 3
    i'm talking about the show/hide role-based functionality but in the link says "delete" :P

    not the addon.
    •  
      CommentAuthorjimw
    • CommentTimeApr 10th 2008
     # 4
    Then you will probably have to edit the comments.php file (copy the file and put it in your theme folder) and add an onclick to that tag and then create a js function to do what you want.
    • CommentAuthormiquel
    • CommentTimeApr 10th 2008
     # 5
    ok, thanks for the suggestion!

    I'll comment about the success, if I get any (I hope)
Add your comments
    Username Password
  • Format comments as